This repository is a fork from @NippunKumaar's original repository for the Robotic Operating Systems and Robot Simulations course. It contains code and materials related to the assignments completed during the labs throughout the course.
Follow the instructions from ROS2 documentation
to install & setup ROS2 humble hawksbill
& gazebo
on Ubuntu 22.04 Jammy Jellyfish
or any other compatible Linux distro.
The project has the following structure:
- build: Contains intermediate build files generated during the compilation process.
- install: Contains installation files and artifacts for ROS2 packages.
- log: Stores log files related to each project.
- src: Contains source code for all assignments completed during the course labs.
To try any of the lab assignments follow these steps :
-
Refer ROS2 documentation to create & setup a ROS2 workspace.
-
Navigate to the root of your workspace and enter the command
colcon build
to build all packages inside the workspace or enter the commandcolcon build --packages-select <my_package>
to build a specific package -
To run the executable node in any package enter the command:
ros2 run <my_package> <my_node>
-
To launch a simulation of any model on gazebo enter the command:
ros2 launch <model_name>_gazebo <world_name>.launch.py
Contributions are always welcome!
If you would like to contribute to the project, please follow these steps:
- Fork the repository.
- Create a new branch for your changes.
- Make your changes and commit them to your branch.
- Create a pull request.