Skip to content

A macroscopic multivehicle tesbed and hardware-in-the-loop simulator for autonomous driving

Notifications You must be signed in to change notification settings

mourams/catvehicle

 
 

Repository files navigation

Cognitive and Autonomous Test Vehicle (CAT Vehicle) Testbed

The CAT Vehicle is a ROS based simulator to facilitate the development of autonomous vehicle applications. This repository houses the files that utilize the Gazebo simulator, and additional interfaces to the physical CAT Vehicle Testbed available at the University of Arizona - Department of Electrical and Computer Engineering.

Dependencies

  sudo apt-get update
  sudo apt-get install ros-melodic-controller-manager
  sudo apt-get install ros-melodic-ros-control ros-melodic-ros-controllers
  sudo apt-get install ros-melodic-gazebo-ros-control
  sudo apt-get install libpcap-dev

System Requirements

  • Ubuntu 18.04 LTS (We cannot guarantee if it works on any other version of Ubuntu)
  • RAM: 4GB required, > 8GB recommended.

Citing this work

If you find this work useful please give credits to the authors and developers by citing:

Rahul Bhadani, Jonathan Sprinkle, Matthew Bunting. "The CAT Vehicle Testbed: 
A Simulator with Hardware in the Loop for Autonomous Vehicle Applications". 
Proceedings 2nd International Workshop on Safe Control of Autonomous Vehicles (SCAV 2018),
Porto, Portugal, 10th April 2018, Electronic Proceedings in Theoretical Computer Science 269,
pp. 32–47.  Download:  http://dx.doi.org/10.4204/EPTCS.269.4.

bibtex:

@article{bhadani2018cat,
  title={{The CAT Vehicle Testbed: A Simulator with Hardware 
  in the Loop for Autonomous Vehicle Applications}},
  author={Bhadani, Rahul and Sprinkle, Jonathan and Bunting, Matthew},
  journal={{Proceedings of 2nd International Workshop on Safe Control of Autonomous Vehicles
  (SCAV 2018), Porto, Portugal, 10th April 2018, Electronic Proceedings
  in Theoretical Computer Science 269, pp. 32–47}},
year={2018}
}

What's new

  • Released for Ubuntu 18.04 LTS, ROS Melodic and Gazebo 9.0
  • Support for front camera
  • More stable vehicle dynamics
  • Bug fixes and improvements

How to use it

Installing ROS

  • Follow the steps mentioned in the ROS wiki page on how to install ROS Melodic.
  • In addition to that we are required to install some additional ros packages
sudo apt-get install ros-melodic-velodyne ros-melodic-novatel-span-driver

Creating catkin workspace

In order to use the catvehicle ROS package, you should work within a catkin workspace. If you do not already have one:

cd ~
mkdir -p catvehicle_ws/src
cd catvehicle_ws/src
catkin_init_workspace
cd ..
catkin_make

At this point, you can clone this repo and other dependent package into your src directory

cd ~/catvehicle_ws/src
git clone https://github.com/jmscslgroup/catvehicle
git clone https://github.com/jmscslgroup/obstaclestopper
git clone https://github.com/jmscslgroup/control_toolbox
git clone https://github.com/jmscslgroup/sicktoolbox
git clone https://github.com/jmscslgroup/sicktoolbox_wrapper
git clone https://github.com/jmscslgroup/stepvel
git clone https://github.com/jmscslgroup/cmdvel2gazebo
git clone https://github.com/jmscslgroup/velodyne
cd ..
catkin_make

Sourcing workspace to the environment path

echo "source ~/catvehicle_ws/devel/setup.bash" >> ~/.bashrc
source ~/.bashrc

Simple tutorial and examples

Follow the tutorials on the CAT Vehicle Testbed group on the CPS Virtual Organization to see how to use the testbed.

Issues

If you run into a problem, please feel free to post to issues. If the issue is urgent, please email to [email protected].

Acknowledgements

License

Copyright (c) 2013-2020 Arizona Board of Regents; The University of Arizona All rights reserved

Permission is hereby granted, without written agreement and without license or royalty fees, to use, copy, modify, and distribute this software and its documentation for any purpose, provided that the above copyright notice and the following two paragraphs appear in all copies of this software.

IN NO EVENT SHALL THE ARIZONA BOARD OF REGENTS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE ARIZONA BOARD OF REGENTS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

THE ARIZONA BOARD OF REGENTS SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE ARIZONA BOARD OF REGENTS HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.

Authors and contributors

Support

This work was supported by the National Science Foundation and AFOSR under awards 1659428, 1521617, 1446435, 1262960 and 1253334. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.

About

A macroscopic multivehicle tesbed and hardware-in-the-loop simulator for autonomous driving

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 52.2%
  • C++ 30.0%
  • MATLAB 11.6%
  • Shell 4.5%
  • CMake 1.7%