Skip to content
New issue

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

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

Already on GitHub? # to your account

Create system for handling serial connection to Jetson #3

Open
AG6GR opened this issue Oct 5, 2021 · 0 comments
Open

Create system for handling serial connection to Jetson #3

AG6GR opened this issue Oct 5, 2021 · 0 comments

Comments

@AG6GR
Copy link
Contributor

AG6GR commented Oct 5, 2021

Robotcode must receive the output of the CV pipeline running on the Jetson. This is done via a serial UART connection. On the CV side, the output of the pipeline must be converted into a string message. This message is then sent to the roboRIO, and parsed by a FSMSystem in robotcode.

This task entails:

  • Defining the message format
  • Writing a simple converter in Python to pack the CV output into the message
  • Write robotcode FSMSystem that unpacks the CV output and provides API for other systems to use it

One tricky aspect of this task is that since the Jetson and RoboRIO aren't synchronized, the robotcode may not get a complete message every time it reads from the Serial port. So there's some interesting string handling to be done.

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

No branches or pull requests

1 participant