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

Example - Send SBP messages over UDP #46

Closed
wants to merge 3 commits into from
Closed

Example - Send SBP messages over UDP #46

wants to merge 3 commits into from

Conversation

fnoble
Copy link
Contributor

@fnoble fnoble commented Mar 24, 2015

An example of how we may want to incorporate examples using the python client library.

Adds two examples:

  • Simple example of reading and printing BASELINE_NED messages
  • Sending SBP over UDP

In this case I needed something to send SBP over UDB so it can be fed into MAVProxy and eventually make its way into the telemetry stream up to a ArduPilot quadcopter (so we can use just one pair of radios for corrections and telemetry).

args = get_args()

with PySerialDriver(args.serial_port[0], args.baud[0]) as driver:
with Handler(driver.read, driver.write, args.verbose) as handler:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no args.verbose currently, so this crashes.

@fnoble fnoble changed the title Example - Send SBP messages over UDP (WIP) Example - Send SBP messages over UDP Mar 24, 2015
@fnoble
Copy link
Contributor Author

fnoble commented Mar 24, 2015

@mookerji @mark ready for review

@fnoble
Copy link
Contributor Author

fnoble commented Mar 24, 2015

wait, I'm not seeing my latest updates. I think its the same issue that @mookerji had.

@fnoble
Copy link
Contributor Author

fnoble commented Mar 24, 2015

Superseded by #53

@fnoble fnoble closed this Mar 24, 2015
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.

None yet

3 participants