Yaw Angle Control in Python Cflib
Posted: Thu Sep 02, 2021 4:08 pm
I understand how to define a SetHoverSetpoint function and send to the commander with commanderSetSetpoint in firmware to achieve a yaw angle instead of a yaw rate, but I am not sure how to do this using the python library. I am trying to change the yaw angle of the crazyflie based on the output of a neural network running on the host pc, but I do not know the equivalent command in the python library or how to modify the modes of a setpoint:
Is this possible? or do I need to write my own control implementation in python using the yaw rate?
Thanks in advance,
Griffin
Code: Select all
setpoint->attitude.yaw = yaw;
Thanks in advance,
Griffin