I am trying to control BlueROV through Pymavlink in Cygwin windows 10.
I followed the manual https://www.ardusub.com/developers/pymavlink.html .
I typed python code of ‘Send RC (Joystick)’ and found that ‘master.wait_heartbeat()’ will not return anything and keep waiting until I terminate it.
I tried to jump this wait_heartbeat() and directly test ‘def set_rc_channel_pwm’ function.
I tested it with ‘set_rc_channel_pwm(2, 1600)’ but did not see any rotation on the BlueROV.
The connection between BlueROV and the computer is good, I have all functions in QGroundControl and can test each propeller. My goal is the control the BlueROV by program so that the ROV can move with given command.
I am not sure if it is correct to use pymavlink, if it is, could you please help with this issue, is there any step that I missed; if not, please let me know the correct program to control BlueROV through command or script.
Really appreciate your help!