Simulation Videos - This drive link contains 2 simulation video files.
- numpy
- pynput
- math
- matplotlib.pyplot
- time
- heapq
- matplotlib.patches
- rclpy.qos
- geometry_msgs.msg
- random
- Executable file:
proj3_phase2_part1.py
- Run command: python3 proj3_phase2_part1.py
- Inputs to the terminal:
Enter clearance of robot: 10
Enter the Low RPM: 5
Enter the High RPM: 9
Enter starting x, y, orientation separated by spaces in mm: 500 1000 0
Enter goal x coordinates and y coordinates in mm: 5500 1000
competition_world.launch.py
turtlebot_path_follower.py
- ROS package:
turtlebot3_project3
ros2 launch turtlebot3_project3 competition_world.launch.py
ros2 run turtlebot3_project3 turtlebot_path_follower.py
- Place the ROS package in
src
folder. - Run
colcon build
. - Source
install/setup.bash
. - Launch with
ros2 launch turtlebot3_project3 competition_world.launch.py
. - Run the following command in a separate terminal after sourcing
install/setup.bash
and ROS: ros2 run turtlebot3_project3 turtlebot_path_follower.py - If the
ros2 run
command does not execute and you get the error: "no executable found", then go into the script folder and run this command to launch the python file: python3 turtlebot_path_follower.py
- Inputs to the terminal:
Enter clearance of robot in mm: 10
Enter the Low RPM: 5
Enter the High RPM: 9
Enter Goal node x coordinate in mm: 3000 1700
Enter Goal node y coordinate in mm: 3000 1700
export TURTLEBOT3_MODEL=waffle