-
Notifications
You must be signed in to change notification settings - Fork 5
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
Improve timestamp granularity of different measurements within a scan #16
Open
tobiasneumann
wants to merge
1
commit into
ros-perception:ros2
Choose a base branch
from
tobiasneumann:improve-time-stamp
base: ros2
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
std_msgs/Header header | ||
std_msgs/Header header # timestamp in the header is the acquisition time of | ||
tobiasneumann marked this conversation as resolved.
Show resolved
Hide resolved
|
||
# the first beam in the scan. | ||
|
||
radar_msgs/RadarReturn[] returns |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Define this better. offset representing what? The time it takes for the total scan to be accumulated? The offset due to time sychronization? etc
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.
This field should have the same meaning as
time_increment
ofsensor_msgs/LaserScan
.The
stamp_offset
should be the offset to the time stamp of the first measurement on a collected scan which is defined in theheader
in theRadarScan
message.When you have a rotating radar scanner, a
RadarScan
would consist on a collection ofRadarReturn
s that are from different measurements.With this change the returns can have a precise time stamp.
I wanted to add an alternative description to this reply.
But I have problems finding other words to describe it (at least not in a substantial way), because I think it is already quite clear.
The ambiguity of the meaning of this sentence might be more introduced by that this message is not supposed to be used by itself, so it needs to be seen as a member of
radar_msgs/RadarScan
which time stamp is referenced in the comment.What do you think about the following description?
It basically says the same, but might does it in a clearer way?
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.
This needs to actually describe what its representing. You mention its the offset from the last point in the measurement for the first (e.g. accumulation time).
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 didn't meant to referencing the previous return.
Just the time stamp of the header (of the
RadarScan
message)So the time stamp of a
RadarReturn
would be calculated bySo the
RadarScan
would store the "base" time stamp.And every
RadarReturn
would store the offset to this time stamp.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.
Don't explain it to me, explain it in the message precisely :-)