chvmp / champ

MIT Cheetah I Implementation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bringup is failing to launch the robot model in rviz

offjangir opened this issue · comments

hey @offjangir could you post your TF graph here too? Thanks

@grassjelly the tf graph is completely empty
Screenshot from 2021-03-08 16-05-11

$rosrun tf view_frames
$evince frames.pdf

strange. Do you have robot_state_publisher, robot_state_publisher, and robot_localization?

yes i have that. idk what the problem is.. gazebo simulations are running perfectly fine

I can’t replicate this error. What’s your tf graph like when running in Gazebo?

here is your pdf for the tf graph while gaz runs
frames.pdf

@grassjelly
i did have such problem in turtlebot3 i resolved it by export TURTLEBOT3_MODEL= modelname
but I dont think it will work here

@offjangir Just out of curiosity - Is the joy node enabled and joystick connected?
I have had a similar issue where it was waiting for topic data from another node that hadn't launched / connected yet

No @Quothd its not ig

Are you able to receive the joint_states ? Are you passing any argument to the launch file when you run bringup.launch?

Hey @offjangir . Have you resolved this issue?

Hi there @offjangir
Just change the Fixed Frame under Global Options to base_link. It will resolve all the errors. Then change it back to odom
I had the same issue as you. I resolved it this way.
Though, I don't know why does it work that way.

Can anyone say the reason why it works only when you change it to base_link first before fixing it back to odom ?

@deardos Does this happen when you run bringup.launch without passing rviz argument and launching the rviz config file independently? My suspicion is that odom->base_link is not published yet when RVIZ starts to load the asset.

@grassjelly No.
Screenshot from 2021-03-23 19-02-49
I follow the steps above exactly as they are. But even then, it happens that the robot is white and I can't perform the manual walking i-e teleop operations on the bot. When I change fixed frame to base_link, the robot gets everything corrected. Then I change it back to odom to move the robot, using keyboard.

Which ROS Distro are you on?

I am using ROS Noetic.