Skip to content

condition_yaw doesn't work without a call to send_global_velocity #285

Open
@atomictom

Description

@atomictom

I was testing out the condition_yaw function in the docs and while the command would send a MAVLink message, and the drone (SITL) would respond with success, the drone would not yaw (as indicated by the vehicle.attitude.yaw field). However, if I precede the condition_yaw call with a send_global_velocity(0, 0, 0) call (again, taken from the docs), the drone will rotate successfully.

I am executing these commands in GUIDED mode. As far as I can tell, there doesn't seem to be a mention of this requirement in the docs (I guessed at it since the yaw examples included send_global_velocity).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions