RacecarJ / installRACECARJ

Install the ROS stack, MIT RACECAR Packages, and hardware support on RACECAR/J.
MIT License
30 stars 28 forks source link
autonomous-vehicles jetson-tx1 jetson-tx2 mit-racecar racecarj ros

installRACECARJ

January, 2018

Scripts in this repository will install ROS and the MIT RACECAR packages on a NVIDIA Jetson Development Kit.

This version is for L4T 28.1 The scripts assume that the Jetson has been freshly flashed with L4T 28.1 using JetPack 3.1. JetPack must also install:

Note that this repository is currently under heavy development, and is subject to change soon.

MIT RACECAR Configuration Installation

The MIT RACECAR supported here is version 2.5. The hardware configuration includes a Stereolabs ZED camera, Hokuyo UST-10LX scanning range finder, and SparkFun SEN-14001 IMU.

The file installMITRACECAR.sh will install the full ROS stack and MIT RACECAR software. Before running installMITRACECAR.sh, the Stereolabs ZED camera driver must be installed (see scripts below). The ZED camera driver is available at: https://www.stereolabs.com/developers/ in the archive section.

The installation script:

$ ./installMITRACECAR.sh racecar-ws

Does the following:

Stereolabs ZED Drivers

Scripts are provided to install version 2.2.1 of the Stereolabs ZED drivers. These drivers match the JetPack 3.1/L4T 28.1 software with CUDA 8.0. The scripts are in the JetsonTX1 and JetsonTX2 repositories. Select the appropriate script for your machine, e.g. installZED-SDK-TX2.sh for the Jetson TX2. Usage (for example):

$ ./installZED-SDK-TX2.sh

The ZED installer will be placed in the home directory, ~/ZED

Next, the ZED installer will install the ZED driver software.

Note that the driver installer is in ~/ZED, not the ZED driver itself.

Helper Scripts

Included in the full software installs, provided here for convenience.

installROS.sh

Adds the ROS sources list, sets the keys and then loads ros-kinetic-ros-base. Edit this file to add other ROS packages for your installation. After loading, rosdep is initialized.

setupCatkinWorkspace.sh

Usage:

$ ./setupCatkinWorkspace.sh [optionalWorkspaceName]

where optionalWorkspaceName is the name of the workspace to be used. The default workspace name is catkin_ws. Included in the full software installs, provided here for convenience.

Note

The ROS environment variables ROS_MASTER_URI and ROS_IP are initialized in the file ~/.bashrc

You will need to modify these environment variables to match your needs and network layout.

Release Notes

January 2018 Initial Release

License

MIT License

Copyright (c) 2017 Jetsonhacks

Copyright (c) 2018 Kangalow LLC

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.