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

minor RobotTrajectory patches #2751

Merged
merged 4 commits into from Jul 9, 2021
Merged

Conversation

v4hn
Copy link
Contributor

@v4hn v4hn commented Jul 6, 2021

Please look at the individual commits for details.

@v4hn v4hn requested a review from mlautman as a code owner July 6, 2021 22:08
Copy link
Contributor

@felixvd felixvd left a comment

Choose a reason for hiding this comment

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

  1. The chain setter support is cool, but I've seen it nowhere else in the codebase.
  2. I can't comment on the make_shared, but the rest LGTM.

@v4hn
Copy link
Contributor Author

v4hn commented Jul 7, 2021 via email

v4hn added 2 commits July 7, 2021 13:35
Support calls like:
```
RobotTrajectory()->append(trajectory, 0.0)
                 ->addSuffixWayPoint(state,0.1)
                 ->addSuffixWayPoint(state2,0.1)
```
@v4hn v4hn force-pushed the pr-master-robot-trajectory branch 5 times, most recently from 5ddc006 to 179e82e Compare July 8, 2021 07:59
@v4hn v4hn marked this pull request as draft July 8, 2021 08:29
@v4hn v4hn force-pushed the pr-master-robot-trajectory branch from 179e82e to 9c26aff Compare July 8, 2021 08:30
@v4hn v4hn force-pushed the pr-master-robot-trajectory branch from 9c26aff to 7ac6c6b Compare July 8, 2021 09:25
@codecov
Copy link

codecov bot commented Jul 8, 2021

Codecov Report

Merging #2751 (7ac6c6b) into master (097583d) will increase coverage by 0.08%.
The diff coverage is 94.29%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2751      +/-   ##
==========================================
+ Coverage   60.47%   60.54%   +0.08%     
==========================================
  Files         402      402              
  Lines       29659    29680      +21     
==========================================
+ Hits        17932    17968      +36     
+ Misses      11727    11712      -15     
Impacted Files Coverage Δ
...eit_core/robot_trajectory/src/robot_trajectory.cpp 67.88% <87.50%> (+5.93%) ⬆️
...include/moveit/robot_trajectory/robot_trajectory.h 97.37% <100.00%> (+1.72%) ⬆️
...ners/chomp/chomp_interface/src/chomp_interface.cpp 92.60% <0.00%> (-3.70%) ⬇️
...ccupancy_map_monitor/src/occupancy_map_monitor.cpp 47.95% <0.00%> (-2.05%) ⬇️
...meterization/work_space/pose_model_state_space.cpp 82.06% <0.00%> (-0.64%) ⬇️
moveit_core/planning_scene/src/planning_scene.cpp 59.59% <0.00%> (-0.55%) ⬇️
...e/collision_detection_fcl/src/collision_common.cpp 77.92% <0.00%> (-0.25%) ⬇️
...cessing/src/time_optimal_trajectory_generation.cpp 76.07% <0.00%> (-0.16%) ⬇️
...nning_scene_monitor/src/planning_scene_monitor.cpp 69.16% <0.00%> (-0.13%) ⬇️
...anner/src/trajectory_blender_transition_window.cpp 100.00% <0.00%> (ø)
... and 8 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 097583d...7ac6c6b. Read the comment docs.

@v4hn v4hn marked this pull request as ready for review July 8, 2021 11:22
Copy link
Contributor

@rhaschke rhaschke left a comment

Choose a reason for hiding this comment

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

Looks good to me. @v4hn, please decide for yourself how you want to merge this (squash vs. merge commit).

@v4hn v4hn merged commit 216d8ff into moveit:master Jul 9, 2021
RobotTrajectory(const moveit::core::RobotModelConstPtr& robot_model, const std::string& group);

/** @brief construct a trajectory for the JointModelGroup
* If group is nullptr this is equivalent to the first constructor
Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry, late to the party, could you please explain (in another PR) in the comments what it actually means for a RobotTrajectory to have a group set (or what happens when you use the default constructor)

👍 for starting with the comments!

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

4 participants