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

use_sim_time = false makes /robot_state_publisher die! #90

Open
rahulbhadani opened this issue Jul 24, 2018 · 2 comments
Open

use_sim_time = false makes /robot_state_publisher die! #90

rahulbhadani opened this issue Jul 24, 2018 · 2 comments

Comments

@rahulbhadani
Copy link

rahulbhadani commented Jul 24, 2018

In ROS Melodic on Ubuntu 18.04 LTS, when I use <arg name="use_sim_time" default="false"/>, then robot state publisher dies with following messages:

terminate called after throwing an instance of 'std::runtime_error'
  what():  Duration is out of dual 32-bit range
[catvehicle/robot_state_publishercatvehicle-3] process has died [pid 5998, exit code -6, cmd /opt/ros/melodic/lib/robot_state_publisher/robot_state_publisher /joint_states:=/catvehicle/joint_states __name:=robot_state_publishercatvehicle __log:=/home/ivory/.ros/log/8f8c35ca-8f15-11e8-b7c7-8c1645b122d9/catvehicle-robot_state_publishercatvehicle-3.log].
log file: /home/ivory/.ros/log/8f8c35ca-8f15-11e8-b7c7-8c1645b122d9/catvehicle-robot_state_publishercatvehicle-3*.log

You can refer to https://github.com/rahulbhadani/catvehicle for the package I am using.

In catvehicle_empty.launch, set <arg name="use_sim_time" default="false"/>
Step 1. roslaunch catvehicle catvehicle_empty.launch
Step 2. roslaunch catvehicle catvehicle_custom.launch

@sloretz
Copy link
Contributor

sloretz commented Jul 24, 2018

Hi @rahulbhadani, would you mind providing a minimal working example example?

I'm unable to reproduce with

<?xml version="1.0"?>
<launch>
  <param name="robot_description" textfile="$(find robot_state_publisher)/test/two_links_moving_joint.urdf" />

  <node pkg="robot_state_publisher" name="two_links_moving_joints_pub" type="state_publisher">
    <param name="use_sim_time" value="false"/>
  </node>
</launch>

@rahulbhadani
Copy link
Author

rahulbhadani commented Aug 5, 2018

I gave you the link of github repo. You can follow that to reproduce the scenario.

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

No branches or pull requests

2 participants