Skip to content

ShadowDragon5/robotics-hw2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Robotics Homework 2

Launch the bridge

ros2 launch thymioid main.launch device:="tcp:host=localhost;port=33333" simulation:=True name:=thymio0

Launch the homework tasks:

Task 1 (done)

# Launch task 1
ros2 launch robotics_hw2 task1.launch.xml

Implementation code can be found in task1_node.py

A MyT must be placed in the middle of scene as it might fall off the edge if it starts too close to it.

We did not face major issues and have no open questions.

Task 2 (done)

# Launch task 2
ros2 launch robotics_hw2 task2.launch.xml

Implementation code can be found in task2_node.py

The "wall" scene must be loaded to test this controller.

We did not face any issues and have no doubts about our implementation.

Task 3 (done)

# Launch last compulsory task
ros2 launch robotics_hw2 compulsory.launch.xml

Implementation code can be found in task3_node.py

The "wall" scene must be loaded to test this controller.

Multiple issues were encountered while doing the last task. Firstly, odometry was used to turn the robot around, it proved to be inconsistent and erroneous as the robot sometimes failed to fully turn around. Furthermore, when relying on odometry to move 2m away from the wall the distance sometimes was calculated wrongly, resulting in robot going past the target point.

Video: https://youtu.be/P73iTVwVQM4

Advanced Task 1 (done)

# Launch last compulsory task
ros2 launch robotics_hw2 advanced.launch.xml

A MyT ust be placed in the "arena" scene to test this controller.

We first had some issues that the MyT got stuck in a corner and would not explore the whole scene but solved it by introducing random decision on where to move next.

Video: https://youtu.be/xdHU3pF584I

Advanced Task 2 (not implemented)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages