Skip to content

Z-coordinate in frame "terrain" overridden by navigate with z=float('NaN') #13

@timkondratev

Description

@timkondratev

Problem occurred a few times, but I can no longer recreate it.

Example code:

set_altitude(z=2, frame_id='terrain')
rospy.sleep(4)
navigate(x=2, y=0, z=float('NaN'), frame_id='body', auto_arm=True)

Expected /simple_offboard/state topic data:

...
xy_frame_id: "map"
z_frame_id: "terrain"
yaw_frame_id: "map"

Actual /simple_offboard/state topic data:

...
xy_frame_id: "map"
z_frame_id: "map"
yaw_frame_id: "map"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions