Skip to content
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

Update message documentation style #119

Merged
merged 1 commit into from
Dec 15, 2021
Merged

Update message documentation style #119

merged 1 commit into from
Dec 15, 2021

Conversation

chapulina
Copy link
Contributor

The largest part of the diff is just updating the documentation style to use doxygen, even if we're not actually generating docs for this project, that makes it easier to read and maintain.

Also made it explicit which fields are not used or populated. The idea is that we update those as we start using them.

The fields that I'm planning on updating with new reference frames have TODO(chapulina).

@chapulina chapulina self-assigned this Dec 15, 2021
Copy link
Collaborator

@caguero caguero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All updates look good!

@chapulina chapulina merged commit 6ca7daa into main Dec 15, 2021
@chapulina chapulina deleted the chapulina/more_fields branch December 15, 2021 23:30
Copy link
Collaborator

@tfoote tfoote left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few suggestions for the todos, but overall it looks good.

/// \brief Data collected from temperature sensor. Unit: Celsius
float temperature_ = 29;

/// \brief Data collected from salinity sensor. Unit: PSU
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/// \brief Data collected from salinity sensor. Unit: PSU
/// \brief Data collected from salinity sensor. Unit: PSU (Practical Salinity Unit or g/kg)

/// \brief \TODO(chapulina)
ignition.msgs.Vector3d posRPH_ = 20;

/// \brief \TODO(chapulina)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/// \brief \TODO(chapulina)
/// \brief Velocity wrt to ground \TODO(chapulina) check axes

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/// \brief \TODO(chapulina)
ignition.msgs.Vector3d posDot_ = 21;

/// \brief \TODO(chapulina)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/// \brief \TODO(chapulina)
/// \brief Water velocity \TODO(chapulina) check axes etc

/// \brief \TODO(chapulina)
ignition.msgs.Vector3d rateUVW_ = 22;

/// \brief \TODO(chapulina)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/// \brief \TODO(chapulina)
/// \brief Roll pitch and yaw rates \TODO(chapulina) check axes etc.

/// \brief Duplicate of posRPH_
ignition.msgs.Vector3d rph_ = 13;

/// \brief TODO(chapulina)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/// \brief TODO(chapulina)
/// \brief World frame velocity in m/s TODO(chapulina) check axes etc

/// neutral volume push the vehicle upwards.
float buoyancyPosition_ = 11;

/// \brief Vertical position of the vehicle with respect to sea level. Higher
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/// \brief Vertical position of the vehicle with respect to sea level. Higher
/// \brief Vertical position of the vehicle with respect to mean sea level. Higher

Sea level is ambiguous with tides. There's MSL or there's depth to current surface, or several other semi-obscure options. This could be alternatively switched to a TODO.

@chapulina
Copy link
Contributor Author

Ouch, I merged before your review, @tfoote . I'll be sure to capture your suggestions in a new PR.

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.

3 participants