Ping Info Update - #39
Open
CaptKrasno wants to merge 2 commits into
Open
Conversation
lauralindzey
reviewed
May 2, 2023
|
|
||
| # the ping number reported by the sonar. | ||
| # useful for matching multiple message types for a given ping | ||
| uint64 ping_no |
Collaborator
There was a problem hiding this comment.
I'd prefer to spell out "number"
| # if the image is not reported at the full resolution | ||
| # ping_info.sample_rate != image_sample_rate | ||
| # for a given sample: | ||
| # 2-way travel time = image_sample_rate*(sample_no+sample0) |
Collaborator
There was a problem hiding this comment.
This equation doesn't match how I expect "rate" to be used -- here, image_sample_rate has units of seconds, so I'd have expected it to be called "sampling period".
can we change this to be (sample_number + sample0) / image_sample_rate?
Collaborator
|
@CaptKrasno -- mostly looks good to me, and I appreciate the clear comments describing the rationale for each field =)
I think we should try to get this in (along with a few others) before we make an official v2 release and resubmit to rosdistro. |
Collaborator
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
I have made the changes discussed in issues #38 #35 #33 #24
I want to do a more thorough documentation review before we merge this pull request but I figured I would post it so you @lauralindzey @rolker could take a look. No sense documenting things if we're going to change them.
I have not added steering geometry discussed in #36 to this pull request, Instead focusing on the changes to PingInfo