Closed BashByr closed 1 year ago
@BashByr Can you try running asynchronous slam on the RPi?
ros2 launch turtlebot4_navigation slam_async.launch.py
@roni-kreinin That worked, thank you! I was able to build a map and use Nav2 Goal in Rviz successfully. Any idea why synchronous slam doesn’t work?
Synchronous slam is generally better to run on a remote PC as it requires more compute power. You can play around with the .yaml settings to reduce the resolution or update rates if you want it to work well on the RPi4.
Closing as issue is resolved.
I'm getting the same issue, not able to run anything, tried with asyn launch file.
I recognize this is a similar to Issue #44, however I believe this is a different case since the Create3 appears to be connected to the same network as the RPI and my computer (ros2 topics shown below). I will attempt to detail this as much as I can, from startup to the source of error.
First, to check connectivity to the robot, I run
ros2 topic list
, and the following is the output:Running
ros2 node list
returns the following:Please also note that I can ping my RPI from my computer as well as SSH into it successfully.
Now, running
ros2 launch turtlebot4_navigation slam_sync.launch.py
, I almost instantly get the following messages:Then, when I run
ros2 launch turtlebot4_viz view_robot.launch.py
in a separate terminal, I get the following output in the terminal:And the Rviz window looks like this:
It gets a correct initial lidar scan but fails to keep updating it as the robot moves around. Further, the robot is nowhere to be seen on the map. Running
ros2 topic list
as SLAM is running generates the following output:Could I please get some pointers as to what may be wrong? Any help is appreciated, thanks! @roni-kreinin