- Posts: 1
- Thank you received: 0
Are there unit tests for the trajectory generation (cartesian) and blending math
- johnmichaloski
- Topic Author
- Offline
- New Member
-
Less
More
9 years 2 months ago #96916
by johnmichaloski
Are there unit tests for the trajectory generation (cartesian) and blending math was created by johnmichaloski
By Cartesian move I mean G1/G2. I am looking for trajectory generation and comparing with ROS and KDL.and any other open source solutions.
I extracted TC/TP and removed EMC global stuff (status, configuration) and bundled into "trajectory module" using QT. I rewrote posemath functionality using Eigen (like ROS, KDL) .
Now I'd like to test against working system. Of course it didnt work perfectly (hate making all those changes at once). If there are unit tests I'd really appreciate it - didn't see and LinuxCNC usually very straightforward.
When I run my own tests there is always blending between straight line segments (see attached gif). I have tried combinations of exact stop and zero stop and no blending, but always get this parabolic blend. I am probably doing something wrong.
Need expert help.
TIA.
John
I extracted TC/TP and removed EMC global stuff (status, configuration) and bundled into "trajectory module" using QT. I rewrote posemath functionality using Eigen (like ROS, KDL) .
Now I'd like to test against working system. Of course it didnt work perfectly (hate making all those changes at once). If there are unit tests I'd really appreciate it - didn't see and LinuxCNC usually very straightforward.
When I run my own tests there is always blending between straight line segments (see attached gif). I have tried combinations of exact stop and zero stop and no blending, but always get this parabolic blend. I am probably doing something wrong.
Need expert help.
TIA.
John
Please Log in to join the conversation.
9 years 2 months ago #96941
by andypugh
Replied by andypugh on topic Are there unit tests for the trajectory generation (cartesian) and blending math
There are tests that are run as part of the "runtests" scripts:
github.com/LinuxCNC/linuxcnc/tree/master...lanner/circular-arcs
But I don't think that these test what you want to test.
github.com/LinuxCNC/linuxcnc/tree/master...lanner/circular-arcs
But I don't think that these test what you want to test.
Please Log in to join the conversation.
Time to create page: 0.071 seconds
