ADDED after topic was closed:
This issue is now fixed, the rosject for ROS2 Navigation is updated to humble.
Hi,
I had a hard time with project_localization.
I re-created the rosject many times to make sure I have a clean one.
When I do source ~/simulation_ws/install/setup.bash
I got:
not found: “/opt/ros/foxy/local_setup.bash”
But the simulation starts well.
But AMCL node always died. After searching on the net, I found, that I had to change
robot_model_type: “differential”
in amcl_config.yaml.
In our training material this parameter is:
robot_model_type: “nav2_amcl::DifferentialMotionModel”
Now my project_localization works, but it took me many hours to fix this.
Can you fix?
I think, in the rosject the ros2 version is different, namely galactic and in that version the AMCL config is different:
https://navigation.ros.org/configuration/packages/configuring-amcl.html
Note for users of galactic and earlier
The models are selectable by string key (valid options: “differential”, “omnidirectional”) rather than plugins.
Thank you in advance
Péter