This project enables a vehicle to drive autonomously in simulation, obeying traffic signals and minimizing travel time. Built with ROS Noetic.
- Install Dependencies (see below).
- Copy the
srcfolder to your repository and build it. - Download the Unity Environment.
- Unzip and copy the Unity files to
.../devel/lib/simulation/. - Source the
setup.bashfile. - Launch the simulation:
roslaunch path_planner movebase_teb.launch- Multiple monitoring windows will open.
- The vehicle will generate velocity commands that obey traffic signals.
- Manual control is available via
w,a,s,din Unity.
- Check velocity commands:
rostopic echo /cmd_mutipller_node/ackermann_cmd_muxsudo apt-get install ros-noetic-ackermann-msgs \
ros-noetic-vision-opencv \
ros-noetic-teb-local-planner \
ros-noetic-octomap-ros \
ros-noetic-cv-bridge \
ros-noetic-octomap-server \
ros-noetic-sensor-msgs \
ros-noetic-eigen-conversions \
ros-noetic-tf-conversions \
ros-noetic-move-base \
ros-noetic-move-base-msgs \
ros-noetic-geometry-msgs \
ros-noetic-tf2-ros \
ros-noetic-actionlib-msgs \
ros-noetic-message-generation \
ros-noetic-nav-msgs

