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

trajectories: Adds PiecewisePolynomial::AppendFirstOrderSegment #14030

Merged
merged 1 commit into from Sep 7, 2020

Conversation

RussTedrake
Copy link
Contributor

@RussTedrake RussTedrake commented Sep 7, 2020

for incremental construction of first-order polynomial trajectories.


This change is Reviewable

@hongkai-dai hongkai-dai self-assigned this Sep 7, 2020
Copy link
Contributor

@hongkai-dai hongkai-dai left a comment

Choose a reason for hiding this comment

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

+@hongkai-dai for feature review

Reviewable status: LGTM missing from assignee hongkai-dai, needs platform reviewer assigned, needs at least two assigned reviewers (waiting on @hongkai-dai)

Copy link
Contributor

@hongkai-dai hongkai-dai left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 5 of 5 files at r1.
Reviewable status: needs platform reviewer assigned, needs at least two assigned reviewers

@jwnimmer-tri jwnimmer-tri self-assigned this Sep 7, 2020
Copy link
Collaborator

@jwnimmer-tri jwnimmer-tri left a comment

Choose a reason for hiding this comment

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

+@jwnimmer-tri :lgtm: platform.

Reviewed 5 of 5 files at r1.
Reviewable status: 1 unresolved discussion (waiting on @RussTedrake)


common/trajectories/piecewise_polynomial.cc, line 361 at r1 (raw file):

    }
  }
  polynomials_.push_back(matrix);

nit If I'm reading this correctly, I think we want std::move(matrix) here to avoid re-copying all of the Polynomials.

for incremental construction of first-order polynomial trajectories.
Copy link
Contributor Author

@RussTedrake RussTedrake left a comment

Choose a reason for hiding this comment

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

Reviewable status: :shipit: complete! all discussions resolved, LGTM from assignees jwnimmer-tri(platform),hongkai-dai (waiting on @hongkai-dai and @jwnimmer-tri)


common/trajectories/piecewise_polynomial.cc, line 361 at r1 (raw file):

Previously, jwnimmer-tri (Jeremy Nimmer) wrote…

nit If I'm reading this correctly, I think we want std::move(matrix) here to avoid re-copying all of the Polynomials.

Done. (here an in the identical usage above). thanks.

@RussTedrake RussTedrake merged commit 8581223 into RobotLocomotion:master Sep 7, 2020
@RussTedrake RussTedrake deleted the pp_append branch September 7, 2020 15:37
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