Closed TonyLiu836 closed 1 year ago
I have the same issue!
I finally got everything working. Turns out I was not setting the header for JointState message correctly. Changing it to the following worked for me.
joint_state.header.stamp = ros::Time::now();
@TonyLiu836 Same issue.
What files do I need to edit?
@coheonsb
I added the line of code in my comment above to my own hardware interface file.
Hi,
I'm trying to integrate Champ with a physical robot based on the Open Quadruped design using a Raspberry Pi 3B+.
When I run the following:
Everything works correctly and the robot fully renders in Rviz and I am able to control it through teleop.
However, when I set the hardware_connected flag to true
Only the body of the robot shows up correctly in RViz but none of the legs or shoulder pieces show up. I do not get any errors either.
Here's a screenshot showing the problem.![Screenshot at 2022-08-18 09-43-45](https://user-images.githubusercontent.com/31741598/185426176-b3198c7c-1740-4924-9815-ddae21a98ee8.png)
Here's the launch file in the open_quadruped_config folder.
I'm quite new to using ROS, any help would be greatly appreciated. Thanks!