Skip to content

Conversation

@madhephaestus
Copy link
Contributor

Adding a robot to the RBE 1001 template code

The Constructor takes the serial port number, but in the comments it notes that Serial1 is the only valid one. THis has been changed to only access Serial1 and removed the parameter.
The competition code is being switched over to a function pointer model.
The functions that the user defines, now include the passing of the DFW object from the fundtion call to the user function. THe lets the user functions to be in isolated files and avoids code clutter. It also provides an example to the users of how to pass objects around between sections of code.
The packet parsing is done in line rather than depending on the find functions.
The start button needs to be hit a second time to kick the framework into teleop mode.
The debug led will now flash when communication is working, and stay solid on if it fails.
The buttons now return the result of the mask check directly. In addition all of the initialization code loads using 9600 only.
@madhephaestus madhephaestus merged commit 3622a90 into master Apr 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants