Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

joint_state_publisher not running propperly #99

Open
anthiv opened this issue Sep 5, 2023 · 2 comments
Open

joint_state_publisher not running propperly #99

anthiv opened this issue Sep 5, 2023 · 2 comments

Comments

@anthiv
Copy link

anthiv commented Sep 5, 2023

Hello
I have a problem when running this command "roslaunch mobile_robot rviz.launch" and I think it is related to joint_state_publisher. Here is my launch file:

<param name="robot_description" command="xacro '$(find mobile_robot)/urdf/rover.urdf.xacro'"/>
<arg name="rviz_config_file" default="$(find mobile_robot)/config/robot.rviz"/>

<node name="joint_state_publisher_gui" pkg="joint_state_publisher_gui" type="joint_state_publisher_gui"/> 
<node name="robot_state_publisher" pkg="robot_state_publisher" type="robot_state_publisher" />
<node pkg="rviz" type="rviz" name="rviz" args="-d $(arg rviz_config_file)"/>

and although I don't get any errors, the preview of my robot is not correct (I use 4 wheels in my urdf file and I only get one wheel in the center of my robot car as pictured below). When I run "rosnode list" I can only see /robot_state_publisher and not /joint_state_publisher_gui and I can't figure why. Also when I kill the procedure with Ctrl+C I get this :
[joint_state_publisher_gui-2] killing on exit
[joint_state_publisher_gui-2] escalating to SIGTERM
[joint_state_publisher_gui-2] escalating to SIGKILL
[rosout-1] killing on exit
[master] killing on exit
Shutdown errors:

  • process[joint_state_publisher_gui-2, pid 26370]: required SIGKILL. May still be running.

which is also related to joint_state_publisher_gui. I tried to use joint_state_publisher but I came across the same issue. My code works fine in my friend's laptop and we have installed ros the same way. Do you have any idea where the problem stands?
Screenshot from 2023-09-05 12-04-05

@yhyhhhhhh
Copy link

Hello, have you solved this problem? i met the same issue too

@sean7401
Copy link

hi, i met the same issue too.......... and need help!!! plz read this comment!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants