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 seed parameter to cartesian waypoint #161

Conversation

Levi-Armstrong
Copy link
Contributor

Allow storing a seed inside the CartesianWaypoint
Using the waypoint type erasure type to allow user defined types.

  • The most common type that would be used it the joint waypoint for the following
    • providing a seed to the ik solver
    • providing a seed to the ik solver with modified limits using the tolerances
    • providing a state to be used in a simple planner for interpolation to avoid running ik

@Levi-Armstrong Levi-Armstrong force-pushed the feature/AddJointWaypointToCartesianWaypoint branch from 37ab551 to 38508a9 Compare January 12, 2022 16:16
@Levi-Armstrong Levi-Armstrong requested a review from marip8 January 12, 2022 16:16
@codecov
Copy link

codecov bot commented Jan 12, 2022

Codecov Report

Merging #161 (3392f94) into master (a5e933a) will increase coverage by 0.02%.
The diff coverage is 66.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #161      +/-   ##
==========================================
+ Coverage   66.56%   66.59%   +0.02%     
==========================================
  Files         199      199              
  Lines        9478     9480       +2     
==========================================
+ Hits         6309     6313       +4     
+ Misses       3169     3167       -2     
Impacted Files Coverage Δ
...n_planners/simple/profile/simple_planner_profile.h 33.33% <0.00%> (ø)
...de/tesseract_command_language/cartesian_waypoint.h 83.33% <100.00%> (+0.47%) ⬆️
...seract_command_language/src/cartesian_waypoint.cpp 100.00% <100.00%> (ø)
tesseract_command_language/src/null_waypoint.cpp 60.00% <0.00%> (+40.00%) ⬆️

Copy link
Contributor

@marip8 marip8 left a comment

Choose a reason for hiding this comment

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

Generally I think this looks okay. I made a few minor comments

* - providing a seed to the IK solver with modified limits using the tolerances
* - providing a state to be used in a simple planner for interpolation to avoid running IK
*/
Waypoint seed{ NullWaypoint() };
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a particular use-case where the seed wouldn't be a joint waypoint? I'm wondering if it would be beneficial to be more restrictive here for clarity

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That is what I originally had but thought it would be nice to use the type erasure type so a user defined joint waypoint could be used.

@Levi-Armstrong Levi-Armstrong force-pushed the feature/AddJointWaypointToCartesianWaypoint branch from b3d7c70 to 3392f94 Compare January 12, 2022 21:55
@Levi-Armstrong Levi-Armstrong merged commit 7af84c4 into tesseract-robotics:master Jan 13, 2022
@Levi-Armstrong Levi-Armstrong deleted the feature/AddJointWaypointToCartesianWaypoint branch January 13, 2022 00:04
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.

2 participants