ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

I am getting while launching my turtlebot pn RVIZ

asked 2020-08-09 13:13:17 -0600

sree gravatar image

updated 2020-08-10 07:26:20 -0600

I am using turtlebot for my obstacle avoid robot using ultrasonic sensors.I am using 8 ultrasonic sensors.I dont know where the error is but ths it is successfully seen in gazebo but while I am launching it in rviz. `[ERROR] [1596993808.761522983]: Failed to build tree: parent link [base_footprint] of joint [sonar_front_joint] not found. This is not valid according to the URDF spec. Every link you refer to from a joint needs to be explicitly defined in the robot description. To fix this problem you can either remove this joint [sonar_front_joint] from your urdf file, or add "<link name="base_footprint"/>" to your urdf file. [robot_state_publisher-3] process has died [pid 4060, exit code 255, cmd /opt/ros/kinetic/lib/robot_state_publisher/state_publisher __name:=robot_state_publisher __log:=/home/lekhasree/.ros/log/09d44e52-da65-11ea-afc1-e8d0fc91b2fd/robot_state_publisher-3.log]. log file: /home/lekhasree/.ros/log/09d44e52-da65-11ea-afc1-e8d0fc91b2fd/robot_state_publisher-3*.log

PLese help me out with this error

The urdf file is https://github.com/Lekha03/urdf-of-ul...link text

In this I have inserted the required files. Turtlebot isnt visible in RVIZ, what should I do.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-08-09 16:27:48 -0600

rfn123 gravatar image

You did not specify the link base_footprint in your urdf file. I assume this link is specified in the turtlebot description, which you should include in your urdf.

edit flag offensive delete link more

Comments

Thank you ...It is not showing errors .But my turtlebot is not visible in RVIZ.,only a rectangular is being visible.

sree gravatar image sree  ( 2020-08-10 07:24:16 -0600 )edit

You need to add RobotModel in the Rviz Panel in order to see the turtlebot

rfn123 gravatar image rfn123  ( 2020-08-10 09:16:17 -0600 )edit

Yeah I am Inserting But no turtlebot is visible.Only rectangular box is visible.

sree gravatar image sree  ( 2020-08-10 11:44:49 -0600 )edit

Can please check the files.Should I insert anything more for turtelbot to be visible.

sree gravatar image sree  ( 2020-08-10 11:46:30 -0600 )edit
1

If you don't have a real robot than you might have to include joint state publisher to fake the joints. You might be seeing now only the fixed joints so for non-fixed you need joint state publisher.

Tahir M. gravatar image Tahir M.  ( 2020-08-11 04:26:40 -0600 )edit

Yeah, I did It but a BOX is being Visible. Cant I visualize my gazebo world on RVIZ

sree gravatar image sree  ( 2020-08-11 06:53:02 -0600 )edit

I am not sure if the urdf included in your link is the actual one you are using, but from the commented parts I see that you are specifying boxes as visuals, hence the box in Rviz.

<visual>
      <origin xyz="0 0 0" rpy="0 0 0"/>
      <geometry>
        <box size="0.02 0.01 0.01"/>
      </geometry>
</visual>

You need to specify meshes if you want them to be visible in Rviz

rfn123 gravatar image rfn123  ( 2020-08-11 09:36:16 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2020-08-09 13:13:17 -0600

Seen: 191 times

Last updated: Aug 10 '20