urg_node icon indicating copy to clipboard operation
urg_node copied to clipboard

Could not calibrate time offset: Time is out of dual 32-bit range

Open artemiialessandrini opened this issue 4 years ago • 2 comments

While trying to run urg_node with Hokuyo UST-05LA (May, 2016), recieving the following error:

[ INFO] [1587784386.134593468]: Starting calibration. This will take a few seconds.
[ WARN] [1587784386.134724427]: Time calibration is still experimental.
[FATAL] [1587784386.152248769]: Could not calibrate time offset: Time is out of dual 32-bit range
[urg_node_back-2] process has died [pid 21152, exit code -6, cmd /home/kubot/catkin_ws/devel/lib/urg_node/urg_node __name:=urg_node_back __log:=/root/.ros/log/ad0866ba-86a2-11ea-b3c1-5eb80ed6475f/urg_node_back-2.log].
log file: /root/.ros/log/ad0866ba-86a2-11ea-b3c1-5eb80ed6475f/urg_node_back-2*.log

Launch node is the following:

<node name="urg_node_back" pkg="urg_node" type="urg_node" output="screen">
    <param name="ip_address" value=""/>
    <param name="ip_port" value="10941"/>
    <param name="serial_port" value="/dev/ttyACM1"/>
    <param name="serial_baud" value="115200"/>
    <param name="frame_id" value="horizontal_rear_laser_link"/>
    <param name="calibrate_time" value="true"/>
    <param name="publish_intensity" value="true"/>
    <param name="publish_multiecho" value="false"/>
    <param name="angle_min" value="-2.35619449"/>
    <param name="angle_max" value="2.35619449"/>
    <param name="topic_name" value="/scan_2"/>
    <param name="skip" value="1"/>
  </node>

I'd like to point out, when calibrate_time set to false, node seem to work. Error appears only when it's set to true.

I suspect, it's also related to 23, comment, but it seems like it has been fixed in 35, pull. Any ideas?

artemiialessandrini avatar Apr 25 '20 03:04 artemiialessandrini

Btw, I'm having the same type of Hokuyo UST-05LA but manufactured in (May, 2018). calibrate_time = "true" running has no problem and it works.

artemiialessandrini avatar Apr 25 '20 03:04 artemiialessandrini

sudo picocom /dev/ttyACM1 output:

00P
VEND:Hokuyo Automatic Co., Ltd.;;
PROD:UST-05LA;:
FIRM:2.00;X
PROT:SCIP 2.0;N
SERI:H1530860 ;l

It's not a protocol issue, since PROT:SCIP 2.0.

artemiialessandrini avatar Apr 25 '20 04:04 artemiialessandrini