-
Notifications
You must be signed in to change notification settings - Fork 14
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
Review TrajectoryLib #134
Comments
((comment omitted, DoF applies to joint space, here we are in Cartesian space)) |
Note that several design decisions must be taken. We might have a meeting in person for this, I'll keep you informed. |
@PeterBowman commented that he had started refractoring TrajectoryLib a while ago. Maybe some code or ideas hat we can reuse. |
Also blocks roboticslab-uc3m/teo-grasp#4 |
@PeterBowman expressed concerns regarding being able to add several waypoints in a single function call. With https://github.com/roboticslab-uc3m/tools also in mind, I'm raising the bar and invoking some magic keywords:
A.k.a. marshalling and unmarshalling. |
Just an idea, I think it would be interesting to make an example with the functional part of this library (in case it is usable) for example with |
Yes! Definitively. As a bare minimum, we should at least |
In addition to a potential (linear?) interpolation if requesting a |
WIP at 6f3e7d8. |
Also blocks roboticslab-uc3m/teo-grasp#3 |
It turns out that libraries/YarpPlugins/AsibotSolver/TrajGen.hpp would be useful for the new libraries/TrajectoryLib/BasicJointTrajectory.hpp. @PeterBowman Maybe we could move things around (also rename a bit, something like |
TrajGen was kept for historical reasons, no code of ours is using that ATOW. If I'm correct, we even came close to removing it since KDL provides a similar functionality: |
I'm not a big fan of adding dependencies, but even less a fan of code duplication. After reading your comment, this makes me inclined towards the use of KDL even for joint space trajectories. At time of writing Looking at current
|
For the record, we already use
If KDL already has everything we need to implement |
I'll give a try at using KDL in |
Slightly blocked, focusing on roboticslab-uc3m/teo-main#38 right now. |
ASWJ we might consider dropping the |
As spoken at #134 (comment), KDL's motion API seems reasonable. Furthermore, here are some notes to future selves:
Remember to update:
|
Recent discovery: https://www.yarp.it/namespaceyarp_1_1rosmsg_1_1trajectory__msgs.html |
@jgvictores, let's ask the bold question: should we drop branch |
Yesssssssssssssssssss 👍 |
Tactical nuke dropped, there is no more TrajectoryLib at 692888d. Last stable implementation was available here. The Keep in mind the KDL motion API allows you not to configure certain parameters on construction, such as trajectory duration, maximum velocity, reference acceleration and so on. However, those must be accounted for anyway. A particular scenario involves trajectories with a starting point, a constant velocity and infinite duration (no end point): kinematics-dynamics/libraries/TrajectoryLib/KdlTrajectory.cpp Lines 242 to 280 in a9acac8
kinematics-dynamics/programs/keyboardController/LinearTrajectoryThread.cpp Lines 91 to 95 in a2bd56c
|
Improve TrajectoryLib, starting by decoupling one and two limb trajectory generation.
Blocks #133, and more to come.
The text was updated successfully, but these errors were encountered: