piamu
(piamu)
January 27, 2020, 12:06pm
1
Hello, we are trying to built a dronekit python code, that automatically bulids a connection to our drone and gives it a mission.
We took the “Basic_Example” (https://dronekit-python.readthedocs.io/en/latest/examples/mission_basic.html ) Code to refer to and changed the connection_string like that:
vehicle = connect(‘com7’, wait_ready=True, baud=56700)
But the drone does not connect, like planned.
Any ideas?
rmackay9
(rmackay9)
January 28, 2020, 2:35am
2
I’m just randomly guessing but perhaps it’s:
the autopilot hasn’t started up yet (i.e. the dronekit script is executing before the autopilot is ready)
something else (like a ground station) has already connected using the com port
maybe it should be “COM7” instead of “com7”?
Maybe @peterbarker has some other ideas…
michal319
(Michał)
January 28, 2020, 6:48am
3
Baud rate 57600 not 56700.
1 Like
Hi,
I think it is 57600 because baud rate 56700 is impossible.
If you still cannot connect, please use the mission planner to check if you can connect to FC via radio telemetry.