This project showcases a navigation node for a two-wheel robot implemented in Rust using the ROS 2 Humble distribution. The node subscribes to the current position and publishes goal positions, enabling basic navigation functionalities.
- nav_node/: Contains the Rust package for navigation.
- src/: Source code for the navigation node.
- Cargo.toml: Rust dependencies and package information.
- CMakeLists.txt: CMake configuration for the package.
- package.xml: ROS package configuration.
- two_wheel_robot/: Contains the URDF description of the two-wheel robot.
- urdf/: Directory containing the URDF file.
- CMakeLists.txt: CMake configuration for the URDF package.
- package.xml: ROS package configuration.
- ROS 2 Humble
- Rust programming language
- Cargo (Rust package manager)
-
Clone the repository:
git clone https://github.com/yourusername/ros2_rust_ws.git cd ros2_rust_ws
-
Build the workspace:
colcon build
-
Source the workspace:
source install/setup.bash
-
run the nav node:
ros2 run nav_node