You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DKPY2: autopilot baudrate locked to 115200, should be configurable #393
In DroneKit Python ver. 2 (DKPY2), the connect() function uses mavutil's mavlink_connection function to open a serial connection to the autopilot. The issue is that connect's call to mavlink_connection doesn't specify a baudrate and, therefore, mavlink_connection just uses its default baudrate of 115200. If I'm not mistaken, this means there is no way to change the baudrate of the connection between a Companion Computer and an autopilot if you're using DKPY2. It would be better if connect() added an input argument of baudrate=115200 that it relays to mavlink_connection, to allow for using different baudrates with your autopilot.
Activity
tcr3dr commentedon Nov 2, 2015
Hi @a7scenario,
I'll add this ASAP to
connect(). Thanks for filing this issue.Adds baud parameter to connect(). Fixes #393.
Adds baud parameter to connect(). Fixes #393.
Merge pull request #394 from dronekit/tcr-baud
tcr3dr commentedon Nov 2, 2015
We'll publish this in the next rc, coming shortly.
hamishwillee commentedon Nov 3, 2015
Ah, I see you've assigned that to me already!
Add docs on new connect baud parameter - #393. Fix up the debugging d…
Add docs on new connect baud parameter - #393. Fix up the debugging d…
Add docs on new connect baud parameter - #393. Fix up the debugging d…