Skip to content

fix for incorrect timestamps for imu and frame msgs#13

Merged
berndpfrommer merged 3 commits intoros-event-camera:masterfrom
EschronS:master
Nov 20, 2025
Merged

fix for incorrect timestamps for imu and frame msgs#13
berndpfrommer merged 3 commits intoros-event-camera:masterfrom
EschronS:master

Conversation

@EschronS
Copy link
Contributor

linked to this issue: #12

Instead of passing current rostime to the frame and imu Callbacks,
now correctly pass rosBaseTime_ (rostime at startup) to both.
Then the sensor_time of the SDK_packet is added, resulting in the time visible
in the msgs.
note:
the change to the frame callback is technically not tested, because
the hardware accessible to me does not support frame capture.
IMU times where tested on dvxplorer and dvxplorer-micro.

Instead of passing current rostime to the frame and imu Callbacks,
now correctly pass rosBaseTime_ (rostime at startup) to both.
Then the sensor_time of the SDK_packet is added, resulting in the time visible
in the msgs.
note: the change to the frame callback is technically not tested, because
the hardware accessible to me does not support frame capture.
Signed-of-by: Erik Schlenzka
@berndpfrommer
Copy link
Contributor

Thanks for the PR!
The formatting checks fail. You can test before you push by running colcon test --packages-select libcaer_driver && colcon test-result --verbose.

@berndpfrommer berndpfrommer merged commit b5e5927 into ros-event-camera:master Nov 20, 2025
3 checks passed
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

Successfully merging this pull request may close these issues.

2 participants