Skip to content

Find targets and solve a maze using an autonomous mobile robot

Notifications You must be signed in to change notification settings

adityapande-1995/MechatronicsProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mechatronics Project

This is to simulate a Turtlebot Waffle autonomously solving a maze and shooting coloured targets, made as a part of the course Mechatronics and Robotics at CU Boulder.

Maze solving and mapping

Launching the simulation

The TURTLEBOT3_MODEL environment variable needs to be exported globally :

cd MechatronicsProject; export TURTLEBOT3_MODEL=waffle

Then, in separate terminals, enter the following :

Launching the environment

roslaunch ttb3_custom.launch map:=$(pwd)/maps/maze4.xml

Getting rviz to work :

rosrun tf static_transform_publisher 0 0 0 0 0 0 odom base_scan 50
rosrun tf static_transform_publisher 0 0 0 0 0 0 odom camera_rgb_optical_frame 50
rviz -d pblart.rviz

Launching autonomous control :

python scripts/robot2.py

Target detection using camera

python scripts/cam.py

Projectile firing

python scripts/projectile.py

About

Find targets and solve a maze using an autonomous mobile robot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages