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

Add Single horizon measurement #4729

Merged

Conversation

knelli2
Copy link
Contributor

@knelli2 knelli2 commented Feb 13, 2023

Proposed changes

And use it in the shape control system. This is similar to the BothHorizons measurement, except it is only for one horizon.

Upgrade instructions

Code review checklist

  • The code is documented and the documentation renders correctly. Run
    make doc to generate the documentation locally into BUILD_DIR/docs/html.
    Then open index.html.
  • The code follows the stylistic and code quality guidelines listed in the
    code review guide.
  • The PR lists upgrade instructions and is labeled bugfix or
    new feature if appropriate.

Further comments

Depends on and includes #4728.

Copy link
Member

@nilsdeppe nilsdeppe left a comment

Choose a reason for hiding this comment

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

LGTM, please rebase and squash in the one requested change.


namespace control_system::measurements {
template <::domain::ObjectLabel Horizon>
struct SingleHorizon : tt::ConformsTo<protocols::Measurement> {
Copy link
Member

Choose a reason for hiding this comment

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

Add some dox just so it shows up?

namespace control_system::measurements {
template <::domain::ObjectLabel Horizon>
struct SingleHorizon : tt::ConformsTo<protocols::Measurement> {
struct SubMeasurement : tt::ConformsTo<protocols::Submeasurement> {
Copy link
Member

Choose a reason for hiding this comment

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

[optional] Your capitalization here is kind of weird.

@knelli2
Copy link
Contributor Author

knelli2 commented Feb 15, 2023

Squashed both of the changes and also added some docs to the BothHorizons measurement while I was at it.

@nilsdeppe nilsdeppe merged commit c978397 into sxs-collaboration:develop Feb 16, 2023
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.

None yet

3 participants