-
Couldn't load subscription status.
- Fork 0
Edit orientation on spawning #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: development
Are you sure you want to change the base?
Conversation
src/quaternion_utils.h
Outdated
| { | ||
| tf2::Quaternion q; | ||
|
|
||
| if (axis.length() > 1e-6) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do not understand what this is trying to to do. Is it an epsilon check? If so consider using <limits>.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall works fine.
Signed-off-by: Jan Hanca <jan.hanca@robotec.ai>
Signed-off-by: Jan Hanca <jan.hanca@robotec.ai>
f72ba4a to
33761b9
Compare
|
Rebased and ready for the review |
Signed-off-by: Jan Hanca <jan.hanca@robotec.ai>
Allow to rotate object when spawning - added the same way as for
SetEntityState, i.e. the rotation vector + angle in degTwo decals spawned at 5,0,0 no rotation and 7,0,0 with 90 rot around Z:

UI (changes marked with red rectangle):

Note: PR #7 should be merged first