Hi!
I require your help regarding a problem I’m encountering.
Description :
I am a high school student. Attempting to get navigation working on the Turtlebot 4 but I am experiencing an issue getting the TF data up on RViz. when attempting to run the Nav2 bring up command on the Turtlebot and the RViz software on the PC I either get Frame [base_link] not found or no map found. When running just the RViz software with nothing else running the robot has a No TF data error. I am following the instructions on this site (Rviz2 · User Manual ).
Hardware concerned :
Turtlebot4
Software concerned :
Ros2 galactic
Troubleshooting steps already taken :
I have tried both nav commands described manual
Additional information :
N/A
Thank you so much in advance for your help!
Hello @ebear112 and welcome to the forum,
Have you tried this tutorial?
Are you using the latest code ?
The issue might be caused by the TF remappings
turtlebot:galactic
← turtlebot:roni-kreinin/nav2
opened 09:23PM - 02 Mar 22 UTC
## Description
Fixes #2
- Replaced nav2.launch.py with modified version o… f https://github.com/ros-planning/navigation2/blob/main/nav2_bringup/launch/bringup_launch.py.
- This launch file can be used to launch nav2, slam sync, slam async. and localization.
- Added depot map from simulator
## Type of change
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
## How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Provide instructions so we can reproduce. Also list any relevant details for your test configuration.
```bash
# Run this command
ros2 launch turtlebot4_navigation nav_bringup.launch.py
```
## Checklist
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
Or perhaps it could be related to this:
opened 07:36AM - 19 Oct 22 UTC
bug
**Please provide the following information:**
- OS: turtlebot4 Clearpath Ubunt… u 20.04 & remote pc ubuntu 20.04
- ROS Distro: turtlebot4 standard- galactic & remote pc - galactic
**Expected behaviour**
i expected 'ros2 topic echo /odom' on remote pc
i thought it can receive data.
but there is no /odom
i set up on turtlebot4 :
bashrc -> 'export RMW_IMPLEMENTATION=rmw_fastrtps_cpp'
remote pc only conneting wifi, and ros2
and turtlebot can move by my wireless controller ps4
and when run to rviz on remote pc , there is no global status. and robotmodel
and i tried to pub like this 'ros2 topic pub --rate 1 /cmd_vel geometry_msgs/msg/Twist "{linear: {x: 0.5, y: 0.0, z: 0.0}, angular: {x: 0.0, y: 0.0, z: 1.0}}"' on remote PC then no action
but on turtlebot4 did 'ros2 topic pub --rate 1 /cmd_vel geometry_msgs/msg/Twist "{linear: {x: 0.5, y: 0.0, z: 0.0}, angular: {x: 0.0, y: 0.0, z: 1.0}}"' is working
and i use our place iptime, turtlebot connected 5Ghz, my computer Pc using wirelessLan receiver connected 5Ghz, create3? i don't know
so how can i get the data from turtlebot4 to remote pc . what is problem?? plz help me... i spent time too many T.T
**Actual behaviour**
ssh-> into turtlebot4 clearpth :
$ros2 topic list
result:
/battery_state
/cmd_audio
/cmd_lightring
/cmd_vel
/color/preview/camera_info
/color/preview/image
/diagnostics
/diagnostics_agg
/diagnostics_toplevel_state
/dock
/hazard_detection
/hmi/buttons
/hmi/display
/hmi/display/message
/hmi/led
/imu
/interface_buttons
/ip
/ir_intensity
/ir_opcode
/joint_states
/joy
/joy/set_feedback
/kidnap_status
/mouse
/odom
/parameter_events
/robot_description
/robot_state/transition_event
/rosout
/scan
/slip_status
/static_transform/transition_event
/stereo/camera_info
/stereo/depth
/stop_status
/system_monitor/transition_event
/tf
/tf_static
/wheel_status
/wheel_ticks
/wheel_vels
remote pc :
$ros2 topic list
result :
/battery_state
/cmd_vel
/color/preview/camera_info
/color/preview/image
/diagnostics
/diagnostics_agg
/diagnostics_toplevel_state
/dock
/hazard_detection
/hmi/buttons
/hmi/display
/hmi/display/message
/hmi/led
/imu
/interface_buttons
/ip
/joint_states
/joy
/joy/set_feedback
/mouse
/parameter_events
/robot_description
/rosout
/scan
/stereo/camera_info
/stereo/depth
/tf
/tf_static
/wheel_status
+
i ran on remotepc
ros2 launch turtlebot4_navigation slam_sync.launch.py
ros2 launch turtlebot4_viz view_robot.launch.py
![Screenshot from 2022-10-19 18-03-40](https://user-images.githubusercontent.com/101680018/196647050-81d42b66-13dd-4ea2-a5e0-5126ca8f2e54.png)
ros2 launch turtlebot4_viz view_model.launch.py
![Screenshot from 2022-10-19 18-04-58](https://user-images.githubusercontent.com/101680018/196647348-faab9819-0986-4e47-a49d-70d8746cc999.png)
![Screenshot from 2022-10-19 18-05-46](https://user-images.githubusercontent.com/101680018/196647574-ad4d632d-39b4-4ab7-a240-93012a966afb.png)
Either way, it would be best if you create an issue on Github:
Regards
Thank you for the response! Unfortunately, I did try following all of those guides and my remote PC is detecting all the create3 topics. I will post my issue over to their GitHub and see what they can do. Thank you for pointing me in the right direction!
1 Like
For anyone else having this issue, I narrowed it down to our Create 3 losing connection with the pi.
2 Likes