torcs_ros repository

torcs_ros repository

torcs_ros repository

Repository Summary

Checkout URI https://github.com/fmirus/torcs_ros.git
VCS Type git
VCS Version main
Last Updated 2025-01-13
Dev Status UNMAINTAINED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

README

A ROS2 wrapper for The Open Source Race Car Simulator (TORCS)

This is a ROS implementation of the client and driver from the TORCS SCR C++ client. For the code in this repository to work, you need a patched version of torcs1.3.7. This has been tested with Ubuntu 24.04 and ROS2 Jazzy. For reference, the old ROS1 version is still available in the ros1 branch.

Installation

    colcon build --packages-up-to torcs_ros_bringup && source install/setup.bash
 

Usage

Run TORCS

From the folder you cloned torcs-1.3.7 to, run

   ./BUILD/bin/torcs

or

   ./BUILD/bin/torcs -noisy

if you want noisy sensors (see the SCR-Manual for details)

Run the ROS components

To start all nodes including the simple driver, the image publisher and rviz, run

  ros2 launch torcs_ros_bringup torcs_ros_bringup_launch.py

If you want to use your own driver instead of the simple driver in

```, run 


```bash
  ros2 launch torcs_ros_bringup torcs_ros_bringup_launch.py use_driver:=False

Preview

torcs_ros preview

CONTRIBUTING

No CONTRIBUTING.md found.

torcs_ros repository

torcs_ros repository

torcs_ros repository

torcs_ros repository

torcs_ros repository

torcs_ros repository

torcs_ros repository

torcs_ros repository

torcs_ros repository

torcs_ros repository

torcs_ros repository

torcs_ros repository

torcs_ros repository

torcs_ros repository

torcs_ros repository