Open wydmynd opened 5 years ago
The high-level land command doesn't take a desired yaw as input (and rather uses the current yaw as goal orientation), see https://github.com/bitcraze/crazyflie-firmware/blob/master/src/modules/src/crtp_commander_high_level.c#L324.
Could you perhaps share the following:
The motionCommander uses the low-level commands (velocity commands), it seems. So this is likely a bug in the high-level mode. I'll need to test this (hopefully sometime next week).
I am using the high level controller with flow deck. using the goTo service for motion (all motion relative) and land service for landing. example - cf.goTo(goal=[0.0, 0.2, 0.0], yaw=0, duration=def_duration, relative=True)
when I use yaw commands, upon landing, the drone tries to rotate to initial yaw during landing. this does not apply to x,y motion (lands in place) so it is landing in "corkscrew" motion. any suggestion if this is a problem in the crazyflie_server , I did not encounter this problem when using high level commands in cfclient. thanks!