Open chapulina opened 3 years ago
Is this issue closed?
- Convert euler angles 🔄 quaternions
Commands could look like this:
ign math --quaternion_to_euler "0 0 0 1"
we have examples for converting between Euler angles and quaternions:
we could use that as a reference when implementing this
Why do I get this error when I run the ruby file in examples ?
@NickNair , please direct questions to http://answers.gazebosim.org. If you believe you found a bug, please ticket a new issue filling the template and explaining how to reproduce your problem.
@chapulina I would like to work on this issue. Could you tell me which files I need to change in order to implement this?
@sdhar04 Probably you need to add some new files. Please check this comment which will give some ideas about to implement this in gz-math
Use ign-tools, see an example on ign-transport.
Commands could look like this:
ign math --quaternion_to_euler "0 0 0 1"
Desired behavior
Ignition math has a lot of handy APIs, but they can only be used by writing a C++ program. It would be nice to expose some of these as a handy command line tool. Some nice tools to offer:
Alternatives considered
GUI tools could also be handy. What I currently do for the use cases above is opening a website that does it for me, or opening a calculator, or doing it by hand...
Implementation suggestion
Use ign-tools, see an example on ign-transport.
Commands could look like this:
ign math --quaternion_to_euler "0 0 0 1"