Skip to content

small improvements and add .gitignore#28

Open
haris-mujeeb wants to merge 1 commit into
naturerobots:mainfrom
haris-mujeeb:private-improvements
Open

small improvements and add .gitignore#28
haris-mujeeb wants to merge 1 commit into
naturerobots:mainfrom
haris-mujeeb:private-improvements

Conversation

@haris-mujeeb

Copy link
Copy Markdown

Refine and improve tutorials:

  • Slightly improved launch files.
  • Added descriptive comments.
  • Refactored the ground truth localization node to use standard ROS 2 logging, added parameter descriptors, and cleaned up transform logic.
  • Added a project-specific .gitignore to keep the workspace clean.

@haris-mujeeb haris-mujeeb changed the title Apply local improvements and add .gitignore small improvements and add .gitignore Jun 7, 2026

@JustusBraun JustusBraun left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, thank you for your interest in MeshNav and improving the tutorials.

However, I think we should not overly complicate these tutorials. They are supposed to be a simple and reliable way for people to try MeshNav on their machines.
What is the reason to add the ability to disable the use of simulation time?

If you think MeshNav needs more advanced tutorials to guide people through setup on real robots or have any other ideas on how to improve the tutorials, feel free to create an issue so we can discuss it there :)

dist_tolerance: 0.2
# Angle in radians to the goal orientation to consider it reached.
angle_tolerance: 0.8
# If the robot is stuck, it will ignore commands below this tolerance to avoid oscillations.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not correct. If the robot ignores velocity commands for this number of seconds the exe_path action is aborted

"use_sim_time",
default_value="True",
description="Use simulation (Gazebo) clock if True.",
choices=["True", "False"],

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We intentionally hard-coded the use_sim_time parameter to True so the tutorials are as simple as possible. I think we should not introduce the option now since the tutorials are supposed to run with the simulation and this would introduce another source of errors.

]
mesh_map_path = LaunchConfiguration("mesh_map_path")
mesh_map_working_path = LaunchConfiguration("mesh_map_working_path")
use_sim_time = LaunchConfiguration("use_sim_time")

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above

"mesh_map.mesh_file": mesh_map_path,
"mesh_map.mesh_working_file": mesh_map_working_path
"mesh_map.mesh_working_file": mesh_map_working_path,
"use_sim_time": use_sim_time,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above

"world_name",
description="Name of the world to simulate and use for navigation.",
default_value="floor_is_lava",
choices=available_map_names,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the reason to add this option? The tutorials only have one version of each map so this only introduces another error source in the tutorial.

DeclareLaunchArgument(
"start_rviz",
description="Whether rviz shall be started.",
"use_sim_time",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again, the tutorials should be as fool proof as possible, so I do not like to add the option to disable sim time

"world_name",
description="Name of the world to simulate"
+ '(see mesh_navigation_tutorials\' "worlds" directory).'
description="The name of the SDF world file to load (without the .sdf extension)."

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here we should keep the hint to the worlds directory, or add a choices argument with the available world names

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants