yarpdataplayer timestamp gets rounded because of Ubuntu regional format #2558
Labels
Component: GUI - yarpdataplayer
Fixed in: YARP v3.5.0
Issue Type: Bug
Involves some intervention from a system administrator
Resolution: Fixed
Describe the bug
When checking the envelope of the data coming out of
yarpdataplayer
, the timestamp gets rounded to an integer.To Reproduce
,
instead of.
for decimals).yarpdataplayer
and enable the Strict option.yarpdataplayer
port from the command line usingyarp read ... /port_name envelope
.Expected behavior
For example, if the considered input data is:
Then, the output of
yarp read ... /port_name envelope
should be:Instead, I was getting:
Configuration:
Solution
It was a problem of the regional format in Ubuntu:
yarpdataplayer
interpreted the timestamp correctly after I changed from Italian to English (United States) and restarted my laptop.The text was updated successfully, but these errors were encountered: