linorobot / linorobot2

Autonomous mobile robots (2WD, 4WD, Mecanum Drive)
Apache License 2.0
437 stars 148 forks source link

Map not loading in Navigation, saves during SLAM #4

Closed philmurp closed 2 years ago

philmurp commented 2 years ago

Appreciate any help.

Have robot running on Jetson Nano 2GB, Foxy install. RPLIDAR A1M8. At navigation step.

1) I can use SLAM and save a map, then when I open navigation it loses the map and starts in the unknown. Tried launching from path within the command and also hard coding the map name and colcon build. The maps exist in my map folder so no error given it just doesnt show up in RVIZ Picture 1

grassjelly commented 2 years ago

Hey Phil,

After saving the map on the robbot computer:

  1. Stop slam.launch.py
  2. Stop bringup.launch.py and rerun again.
  3. Run navigation.launch.py. You can use the map argument to let the launch file know which map you'd want to load ie. cd <new_map_directory> ros2 launch linorobot2_navigation navigation.launch.py map:=new_map.yaml
philmurp commented 2 years ago

That worked! I really appreciate all the help.

On Sun, Oct 24, 2021 at 12:28 AM Juan Miguel Jimeno < @.***> wrote:

Hey Phil,

After saving the map on the robbot computer:

  1. Stop slam.launch.py
  2. Stop bringup.launch.py and rerun again.
  3. Run navigation.launch.py. You can use the map argument to let the launch file know which map you'd want to load ie. cd ros2 launch linorobot2_navigation navigation.launch.py map:=new_map.yaml

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/linorobot/linorobot2/issues/4#issuecomment-950258239, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMPS6K4YC5KBVHW3LKOKEDUIODO5ANCNFSM5GN75NWA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

philmurp commented 2 years ago

Thanks. I am looking into the oak D camera, I saw you mentioned if someone wanted to test it you would configure.

If you are still interested I can email when it arrives.

On Sat, Nov 13, 2021, 4:47 AM Juan Miguel Jimeno @.***> wrote:

Closed #4 https://github.com/linorobot/linorobot2/issues/4.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/linorobot/linorobot2/issues/4#event-5612962857, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMPS6LINIOPQR6YCE2MVSTULYX3HANCNFSM5GN75NWA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.