-
Notifications
You must be signed in to change notification settings - Fork 0
Initial Bit-Bots rosbag import #32
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
Conversation
as one row refers to a list of states/commands for each joint
as we only ever have the joint commands of specific joints which are actually moved at a certain point in time
and close DB session on destruction of object
of gamestate, joint states and joint commands
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have not yet looked at your major additions, just the smaller changes
465f51a
to
4d1e616
Compare
|
||
for _, channel, message, ros_msg in reader.iter_decoded_messages(topics=USED_TOPICS): | ||
first_used_msg_time = first_used_msg_time or message.publish_time | ||
relative_timestamp = (message.publish_time - first_used_msg_time) / 1e9 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Flova Do we want to use the publish_time
or the time from the header.stamp
if available?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point. The header stamp is more accurate, but is could also lead to data from the future being available too early.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How could that be?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For example camera images are stamped when the trigger is activated. But they are available to the software a fraction of a second later. Using the trigger time could lead to an image being available to the network where it would normally be in transit. This could lead to the network expecting it to be available and performing different during inference where it physically isn't available yet.
7553c94
to
29d554a
Compare
29d554a
to
cd3e438
Compare
cd3e438
to
d7d1c38
Compare
and add the rosbag import to github ci
d7d1c38
to
f592c89
Compare
Summary
Setup of initial rosbag import (for
GameState
,JointStates
,JointCommands
,Image
),tested with rosbags from data.bit-bots.de recorded during the RoboCup 2024
and the GermanOpen 2024.
Proposed changes
end_time
to RecordingJointCommands
column nullableimport
subcommand and validation