rpg_dvs_ros timestamp correct

30 views
Skip to first unread message

KaHo Wong

unread,
Mar 17, 2024, 5:07:11 AM3/17/24
to davis-users
Now I am using rpg dvs ros to DAVplorer for ROS development and have a few questions to ask:
1. Is the timestamp assigned to DAVplorer in rpg dvs ros the timestamp of the camera trigger or the timestamp of the camera image?

2. Use ROS timestamp to drive DAVplorer. Is the source of the timestamp ros::time::now() of PC? If yes, won't USB transfer cause a large delay?

Tobi Delbruck (INI)

unread,
Mar 17, 2024, 5:09:37 AM3/17/24
to davis...@googlegroups.com
I don't know what you mean by "camera trigger", do you mean DVS event
timestamp? These DVS ON/OFF event timestamps are definitely written to
the rosbags.

I also don't know what you mean by "Use ROS timestamp to drive
DAVplorer." (BTW, it's DVExplorer, not DAVExplorer). The DVS is the
master; it makes the timestamps. It's not like a frame camera that you
trigger to take pictures.


Luca Longinotti

unread,
Mar 18, 2024, 12:47:29 PM3/18/24
to davis...@googlegroups.com
The camera timestamps its data and provides its own relative timestamp (relative to start of capture/reset on the camera).
The RPG ROS driver then adds an offset corresponding to ros::Time::now() to make the data relative to the ROS time-source.
Yes, it is possible that any initial delay due to USB when that offset is recorded will then skew further results, but it is currently the best approach without some kind of continuous time synchronization being implemented.
-- 
Luca Longinotti (llongi)

Head of Embedded Platforms
iniVation AG - https://inivation.com/
Zurich, Switzerland
Office: +41 44 500 32 14
Reply all
Reply to author
Forward
0 new messages