Skip to content

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