Bowie Shoreline is for the Robot Missions introductory robot platform, Bowie, as applied to Mission #1: Shoreline Cleanup. This contains behaviours that use the core modules in the Bowie Library.
More information about our robot platform at the Robot Missions Website ➞
Compatible with the Robot Missions Brain Board, using either a Teensy 3.6 for full functionality (Mega), or a Teensy 3.2 (Mini).
You will need to have these libraries installed:
- BowieLib
- Streaming
- PromulgateBig
- Xbee
- SD
- TimeLib
- Servo Included with Arduino
- SPI Included with Arduino
Below you will find the messages that can be input to the robot, and messages the robot can output. To review how messages are sent through the communications interface, please see this section of the Bowie Lib.
Input: Operator to Robot
Description | Action specifier | Command | Key | Value |
---|---|---|---|---|
Left motor | # |
L |
1 is forward, 0 is backward |
0 is slowest, 255 is fastest |
Right motor | # |
R |
1 is forward, 0 is backward |
0 is slowest, 255 is fastest |
Arm | # |
S |
1 for up, 0 for down |
Value to increment the position by |
Scoop | # |
C |
TBD | TBD |
Button #1 (Red) | # |
P |
1 is pressed on, 0 is pressed off |
None |
Button #2 (Yellow) | # |
Y |
1 is pressed on, 0 is pressed off |
None |
Button #3 (Green) | # |
G |
1 is pressed on, 0 is pressed off |
None |
Button #4 (White) | # |
W |
1 is pressed on, 0 is pressed off |
None |
Button #5 (Blue) | # |
B |
1 is pressed on, 0 is pressed off |
None |
Button #6 (Black) | # |
N |
1 is pressed on, 0 is pressed off |
None |
Super Bright LEDs | # |
Q |
1 is front left TODO |
0 is off, 255 is full brightness |
Joystick Button | # |
J |
1 is pressed on, 0 is pressed off |
None |
Mode Switch | # |
M |
TBD | TBD |
State | # |
Z |
TBD | TBD |
Operator ID | $ |
X |
1 |
OPERATOR_ID from 0 to 255 |
Output: Robot to Operator
Description | Action specifier | Command | Key | Value |
---|---|---|---|---|
Motor Current Sensor | # |
E |
1 |
Current sensor reading of type uint16_t |
Servo Current Sensor | # |
F |
1 |
Current sensor reading of type uint16_t |
Robot ID | $ |
W |
1 |
ROBOT_ID from 0 to 255 |
Reserved for testing | @ |
Z |
0 |
0 |
If your robot running Mission #1 needs more functionality, feel free to add new API commands. For example, one could add an API command for an output of the IMU.
Code is released under the MIT license.
Found a bug? Looking for a feature? Let us know by opening an Issue report. Further questions can be posted to our forum.
🤖✌️🌎
Robot Missions - Helping the planet with robots