Skip to content

UCR-FSAE/FSAE-AutonomousKarting

Repository files navigation

ROAR Indy WS

This repo is the parent repo for the ROAR Go-Kart project.

Documentation Link: https://n36411s2sqp.larksuite.com/wiki/wikusm0cFYV00I5LugSR739Qqee

Quick Start

Assuming you are at roar-gokart-ws

  • For ROAR launches vcs import src/launches < repos/launches.repos --recursive

  • For Core: vcs import src/core < repos/core.repos --recursive

  • For simulation
    vcs import src/simulation < repos/simulation.repos --recursive

  • For hardware vcs import src/gokart < repos/gokart.repos --recursive

  • Installation

  • rosdep install --from-paths src --ignore-src -r -y

  • colcon build

  • Usage

    • Simulation:
      • ./scripts/carla/launch_simulation_server.sh
      • ./scripts/carla/racing/client_auto.sh

FAQ

  • rapidjson not found sudo apt-get install rapidjson-dev

Some quick functions

  1. To record everything in Carla
ros2 launch roar-indy-launches roar.launch.py manual_control:=True carla:=True record:=True
  1. To record waypoint in Carla
ros2 launch roar-indy-launches roar.launch.py manual_control:=True carla:=True should_record_waypoint:=True
  1. to check what options are available
ros2 launch roar-indy-launches roar.launch.py -s
  1. Manual control in Carla
ros2 launch roar-indy-launches roar.launch.py manual_control:=True carla:=True
  1. Auto waypoint following in Carla
ros2 launch roar-indy-launches roar.launch.py carla:=True core:=True visualization:=True param_file:=./src/launches/launches/config/carla/config.yaml

Use RQT or use cmd to invoke

ros2 service call /controller/manager/safety_toggle roar_msgs/srv/ToggleControlSafetySwitch "{is_safety_on: True}"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published