Open steroido92 opened 3 years ago
If you want the z component of the position
, aka the angle of the chassis, you can work around it, by using .gimbal.sub_angle(...)
and subtracting yaw_ground_angle - yaw_angle
. Then you have the chassis angle in degrees
Did you found a solution for that problem? I got teh same problem today. The alternative way with the gimbal also don't work. Maybe because I don't have a gimbal installed.
The functions sub_position and sub_velocity will always return 0 for the Z component even when the robot is rotating.
It this an Software issue or is the Hardware not able to deliver these values ?
@xitinglin-dji @grwhale.zhang