Hi everyone. Today I began experimenting with the new NAV_SET_YAW_SPEED command. After a few tries (and software updates) I got it to work. Well, more or less.
My setup is an onboard companion computer, Pixhawk and Dronekit Python. I can get the rover to move and then stop. After I stop the vehicle by sending a NAV_SET_YAW_SPEED command with velocity of 0, I issue vehicle.close() and the script terminates. So far, so good.
Then if I run the script again, I see an endless stream of the following message:
'>>> NAV_SET_YAW_SPEED not record last 3secs, stopping'
These start as soon as I connect to the vehicle, before any other part of my script runs. It's as if the script is still running from the previous time. The second run will succeed but the above message scrolls the entire time.
So, what am I doing wrong? How do I get the rover to stop expecting the NAV_SET_YAW_SPEED commands so that the script can terminate properly?