Somewhere the yaw rate is being effectively limited. Does anyone know what causes this?
Here's what I did:
in crazyflie-clients-python/src/cfclient/utils/input/__init__.py :
Code: Select all
change (near line 360):
if data.toggled.alt1:
try:
logger.warning("alt1 toggled: toggling rot yaw")
self.rot_yaw = 1
logger.warning("rot_yaw: " + str(self.rot_yaw))
Code: Select all
self.input_updated.call(data.roll + self.trim_roll,
data.pitch + self.trim_pitch,
data.yaw + self.rot_yaw * 1000,
data.thrust)
What I see when I fly is 'surging' where the crazyflie yaws faster, then slows down, then the cycle repeats. I'll post if I find what the cause is.