-
-
Notifications
You must be signed in to change notification settings - Fork 169
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
Make path times public. #197
Make path times public. #197
Conversation
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.
Per Issue #187
Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on @jess-moss and @jmirabel)
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.
Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on @jmirabel)
cpp/src/toppra/parametrizer/const_accel.hpp, line 19 at r1 (raw file):
Previously, jmirabel (Joseph Mirabel) wrote…
const Vector& getTs() { return m_ts; }
Done.
Thanks for pointing the issue. It made me realize I overlooked the changes. The prototype should 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.
Thank you for reviewing this! I need this function to gain access to these times while using toppra, so this will be very helpful.
Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on @jmirabel)
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.
Thanks. I have a few more comments.
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.
Reviewable status: 0 of 3 files reviewed, 3 unresolved discussions (waiting on @jmirabel)
cpp/src/toppra/parametrizer.hpp, line 55 at r3 (raw file):
Previously, jmirabel (Joseph Mirabel) wrote…
/** \brief Return the waypoints time. */ virtual const Vector& getTimes() const = 0;
Done.
cpp/src/toppra/parametrizer/const_accel.hpp, line 19 at r3 (raw file):
Previously, jmirabel (Joseph Mirabel) wrote…
const Vector& getTimes() const override { return m_ts; }
Why
final
? I thinkoverride
is sufficient here. It is fine if a child class overrides this.
I made it final
because I could not foresee an instance when a child class would want to override this function, and didn't want a child class to do so accidentally. I can change it to override
if you think that is fine!
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.
Thank you!
Reviewable status: 0 of 3 files reviewed, 3 unresolved discussions (waiting on @jmirabel)
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.
Reviewable status: 0 of 3 files reviewed, 3 unresolved discussions (waiting on @jmirabel)
cpp/src/toppra/parametrizer.hpp, line 55 at r3 (raw file):
Previously, jess-moss wrote…
Done.
@jmirabel Would it be possible to resolve this comment?
Hi @jess-moss, thanks for the PR! Could you also add a line to the changelog? Thanks @jmirabel for the review. The PR looks good to me; I will be happy to merge once all comments are resolved. |
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.
Just updated the changelog! Thank you!
Reviewable status: 0 of 4 files reviewed, 3 unresolved discussions (waiting on @jmirabel)
Fixes #
Changes in this PRs:
Checklists:
This change is