Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added command line option for UDP connection to autopilot #22

Open
wants to merge 4 commits into
base: mcharleb_master
Choose a base branch
from
Open

Added command line option for UDP connection to autopilot #22

wants to merge 4 commits into from

Conversation

mcharleb
Copy link

@mcharleb mcharleb commented Jun 8, 2015

This has been tested with QGC and a version of PX4 running in a SITL setup.

mcharleb added 2 commits June 5, 2015 11:16
Added command-line options to specify which protocol to use, with sane defaults.

Signed-off-by: Mark Charlebois <[email protected]>
Fixed issue with opening port, and adjusted command-line parsing.
UDP support should now be functional and selectable as a command
line option.

Signed-off-by: Mark Charlebois <[email protected]>
@DrTon
Copy link
Owner

DrTon commented Jun 11, 2015

It would be very useful if it was only option to configure, but there are a lot of other options that still need to be hardcoded. But I think how to remove this hardcoding. What about configuration file? But it will be complicated and parsing will be also not easy. Anyway I will think how to move something to arguments.

@molecule
Copy link

Hi Anton, what hardcoded options are you concerned about? Mainly the IP addresses? I made another change to allow those to be command-line arguments as well. I am still testing that, but it could be a good option. Let me know what you would like to be a command-line argument.

mcharleb added 2 commits June 11, 2015 09:13
Added ability to specify IP address on the command-line, and turn off messages being sent to QGC

Signed-off-by: Mark Charlebois <[email protected]>
Use the external network interface not loopback for sending.
Passing in an IP address as a command argument now works.

Signed-off-by: Mark Charlebois <[email protected]>
@DrTon
Copy link
Owner

DrTon commented Jun 16, 2015

Not only IP addresses but also camera configuration, vehicle mass, moment of inertia, rotors parameters etc, etc... It's all configurable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants