Mapping and Navigation

Hello,

I am trying to do mapping and navigation in a new environment, but the gamepad is not working.

do not see the map generation process when I move the robot using the controller (gamebad)

Hi @Mallak_Alqaisi,

From your RViz screenshot, it looks like you may be launching the navigation pipeline. Before navigation can work, a map needs to be created first.

Could you confirm whether you were able to successfully create a map already?

If not, let’s focus on mapping first. Please run:

ros2 launch stretch_nav2 offline_mapping.launch.py

Then use the gamepad to drive the robot around the environment and check if the map starts generating in RViz.

If this does not work, could you also share the logs from the beginning of the mapping launch up to the point where the issue appears? From the screenshot, it looks like there may be useful earlier logs that we are missing.

You can either attach the full log file or copy and paste the relevant terminal output here.

Best,
Jason

Hi @Mallak_Alqaisi,

Just following up to check whether you were able to make any progress with the mapping and gamepad issue.

Let us know what you’re currently seeing on your end and we’ll be happy to continue troubleshooting with you.

Best,
Jason