Skip to content

UCFInnovationLab/UCF_RSLK_Library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

{#mainpage}

Introduction

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.

Installation

  1. Download and install the latest version of Arduino IDE (1.8.13). https://www.arduino.cc/en/software/

  2. 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.

  3. Go to Tools > Boards > Boards Manager and scroll to the bottom of the list with Energia MSP432 and install 5.29.1

  4. 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.

  5. 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.

  6. 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.

  7. Go to Tools > Manage Libraries.. and search for and install "BNO055 by Robert Bosch GMBH"

Using This Library

Library Documentation

Library documentation is hosted on Github Pages at https://fcooper.github.io/Energia-RSLK-Library/

SimpleRSLK (Recommended)

The SimpleRSLK.h defines a set of easy to use functions for the RSLK. Internally it calls the classes and functions mentioned below.

Peripheral Specific Library/Function

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.

Pins and Other Important Defines

RSLK_Pins.h provides an important list of pins definitions for the RSLK.

Useful Documentation

Links to Parts

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •