Skip to content

memre12/gazebo_traffic_light_ros2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Traffic Light Gazebo ROS2 Plugin

Overview

This plugin is designed to control and simulate traffic lights in a Gazebo environment using ROS2.

Features

  • Simulates a traffic light.
  • Publishes the current state of the traffic light to a ROS2 topic.

Requirements

  • ROS2: Humble
  • Gazebo

Installation

  1. Clone the Repository

    git clone https://github.com/memre12/gazebo_TrafficLight_ROS2.git
    cd gazebo_TrafficLight_ROS2/
  2. Build and Source

    colcon build
    source install/setup.bash
  3. Launch the simulation

 ros2 launch traffic_light_gazebo traffic_light.launch.py 

Examples

Screenshot from 2024-08-29 13-07-56

Screenshot from 2024-08-29 13-44-11

Screenshot from 2024-08-29 13-08-09

Contact

If you have any questions or suggestions, please feel free to contact me: