Either through the launch file I produced OR :
- export TURTLEBOT3_MODEL=burger
- source install/local_setup.bash
- ros2 launch mark_1 mark1_launch.py
- ros2 run rviz2 rviz2 -d $(ros2 pkg prefix nav2_bringup)/share/nav2_bringup/rviz/nav2_default_view.rviz
MUST READ
- https://navigation.ros.org/commander_api/index.html#simple-commander-api
- https://navigation.ros.org/configuration/packages/configuring-amcl.html
- Ensure that setup.py is properly setup with the naming of the launch folder and params
- Ensure that source install/local_setup.bash is executed before launching
- Ensure that no nodes are active "ros2 node list". If not, kill them or restart (experience)
- Main focus now is tuning in of navigation parameters AND
- Creating an algorithm that would increment/decrement, store waypoints(to go back if stuck) until robot exits the maze
ros2 launch <your_package_name> <your_launch_filename>.py
Unknown Parameter to be set to true for costmaps with voxel or obstacle layer. Planner prefers free space to chart a path. without doing the necessary, unknown areas in costmaps are treated as free spaces. Hence, set it for both global and local costmaps
AMCL guarantees no change to map but SLAM does - can we incorporate AMCL instead? 2. https://answers.ros.org/question/246747/difference-between-localisation-with-amcl-and-slam/
No local costmap found when launching rviz. Use the modified mark1_params.yaml file. 3. https://answers.ros.org/question/366732/no-local-costmap/
/opt/ros/humble/share/slam_toolbox