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

't' (timestamp for point) field is all zero #331

Open
inwoong32 opened this issue May 27, 2024 · 0 comments
Open

't' (timestamp for point) field is all zero #331

inwoong32 opened this issue May 27, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@inwoong32
Copy link

Describe the bug
I am currently using the os2 128ch.
Before running the driver, perform the PTP operation and run the driver using driver.launch.py.

After that, I'm going to use the t-field to correct the distortion caused sensor movement during 1 scan.(I use lidar in High speed Autonomous driving)
But when I checked, all the values of the t-field are output as 0.0, so it's impossible to use.
header.stamp value of topic is valid as corrected by ptp, but t value is not valid, just zero value

Also, I also checked the os1-64ch, and the same problem occurred.
Even changing the time stamp mode does not solve the problem
(TIME_FROM_INTERNAL_OSC , TIME_FROM_ROS_TIME)

What kind of problem do you think it is?
I'll let you know if need more information.

Screenshots

  • topic : pointcloud msg header.stamp

  • first_point : The first(first point) t-field value when using sensor_msgs::PointCloud2ConstIterator (time_stamp_field)time_stamp_field_name_

  • point : Next point t-field value

scr

Platform (please complete the following information):

  • Model : OS2-128ch / OS1-64ch
  • Ouster Firmware Version : ousteros-image-prod-aries-v2.5.2+20230714195410
  • ROS version : humble
  • Operating System : Linux
  • Machine Architecture : x86
  • git commit hash : 8cc3781(ros2-implement_lock_free_ring_buffer_with_throttling)

param file

ouster/os_driver:
 ros__parameters:
   sensor_hostname: '192.168.1.3'
   udp_dest: '192.168.1.77'
   mtp_dest: ''
   mtp_main: false

   lidar_mode: '1024x10'

   timestamp_mode: 'TIME_FROM_PTP_1588'
   ptp_utc_tai_offset: -37.0
   udp_profile_lidar: ''
   metadata: ''

   lidar_port: 7502
   imu_port: 7503

   sensor_frame: os_sensor
   lidar_frame: lidar
   imu_frame: os_imu
   point_cloud_frame: lidar 

   proc_mask: PCL
   scan_ring: 0
   use_system_default_qos: false
   point_type: original
@inwoong32 inwoong32 added the bug Something isn't working label May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant