This [Energia] (https://energia.nu/) library provides a set of classes and functions to make using the [Texas Instrument's Robotic System Learning Kit] (http://www.ti.com/rslk) simple. @n Go to http://www.ti.com/rslk to see the user guides, view curriculum and find the link to order.
-
Download and install the latest version of Arduino IDE (1.8.13). https://www.arduino.cc/en/software/
-
Add the URL http://s3.amazonaws.com/energiaUS/packages/package_energia_index.json to your File > Preferences > Additional Board Manager URLs. Also check the box for show line numbers if you like that and adjust your font size if you would like it bigger.
-
Go to Tools > Boards > Boards Manager and scroll to the bottom of the list with Energia MSP432 and install 5.29.1
-
After the install completes, You need to select the board and COM port in Arduino IDE. Go to Tool > Boards and now you should see the "Energia MSP432 Red Boards" > "Red LaunchPad MSP432P401R EMT" and make sure this is selected.
-
You also should select the correct COM port. This step can be done after you plug your LaunchPad to your computer over USB and you install your LaunchPad drivers (done in later step using RSLK debug tool GUI). Go to Tools > COM port to chose from available options. The LaunchPad populates two COM ports. MacOS users will see Port 001 and 004 populated, please use Port 1. Windows users can verify their COM port by going to Device Manager and finding the XDS110 UART.
-
Add the latest release of the RSLK robot library that is downloadable from the releases section of this page. Download the sorces.zip file. Go to Sketch > Include Library > add .ZIP library. Select the file path of the downloaded zip library and click okay. It should say library added and you can check this by going to File > Examples > TI-Robot-Lib and see the example code provided in the library.
-
Go to Tools > Manage Libraries.. and search for and install "BNO055 by Robert Bosch GMBH"
Library documentation is hosted on Github Pages at https://fcooper.github.io/Energia-RSLK-Library/
The SimpleRSLK.h defines a set of easy to use functions for the RSLK. Internally it calls the classes and functions mentioned below.
Functions and classes have been created for each of the peripherals used on the RSLK Max.
- Bump_Switch provides an easy to use class for a a single bump switch.
- Romi_Motor_Power provides an easy to use class for a single motor.
- QTRSensors provides an easy to use class for the line sensor. Provided by Pololu.
- GP2Y0A21_Sensor provides an easy to use class for the GP2Y0A21 IR distance sensor.
- Encoder.h provides an easy to use set of functions for the two onboard Encoders.
RSLK_Pins.h provides an important list of pins definitions for the RSLK.
- [TI RSLK] (http://www.ti.com/rslk) homepage to learn more, view user guide, curriculum and a link to order.
- [RSLK Max Schematic] (https://www.pololu.com/file/0J1670/ti-rslk-max-chassis-board-v1.0-schematic.pdf)
- [Full Chassis Board Pin Diagram] (https://www.pololu.com/file/0J1695/ti_rslk_max_chassis_board_pinout.pdf)
- Left Bump Switch Assembly
- Right Bump Switch Assembly
- Line Sensor
- [Motor Board] (https://www.pololu.com/product/3671)
- [Gearmotor and Encoder] (https://www.pololu.com/product/3675)