Sylphase SDGPS
The software-defined GPS(/GNSS) toolkit
|
Usage:
convert-orientation [OPTION]...
Allowed options:
Option | Description |
---|---|
--help | produce help message |
--quaternion JSON | quaternion (e.g. '{"w":0.707107,"x":0,"y":0,"z":0.707107}') |
--euler-angles-rad JSON | Euler angles in radians (e.g. '[0,0,1.570796]') |
--euler-angles-deg JSON | Euler angles in degrees (e.g. '[0,0,90]') |
--rotation-matrix JSON | rotation matrix (e.g. '[[0,-1,0],[1,0,0],[0,0,1]]') |
--rotation-vector-rad JSON | rotation vector in radians (e.g. '[0,0,1.570796]') |
--rotation-vector-deg JSON | rotation vector in degrees (e.g. '[0,0,90]') |
--triad JSON | compute orientation using TRIAD algorithm such that v1_body rotates to v1_world and v2_body rotates to be as close as possible to v2_world (e.g. '{"v1_body":[0,0,1],"v1_world":[0,0,1],"v2_body":[1,0,0],"v2_world":[0,1,0]}') |
--decimals N (=6) | round output to N digits after the decimal point; any value >= 100 will disable rounding |