Skip to content
Snippets Groups Projects
Commit 32045e90 authored by Muhammad Ali's avatar Muhammad Ali
Browse files

[wip/lwr-genom] Fix the TrackQ request for the poster input

  - the trajectory duration is not computed by mhp so we add computeTimeOnTraj() before execution
parent 6a926dec
No related branches found
No related tags found
No related merge requests found
......@@ -2,3 +2,4 @@ SHA1 (lwr-genom-2.3.tar.gz) = fbc40f95c47c51124842e553d39ac7efcf8e4def
RMD160 (lwr-genom-2.3.tar.gz) = 28f1e77421c3d11982e39d807e1478234867c90b
Size (lwr-genom-2.3.tar.gz) = 42739 bytes
SHA1 (patch-aa) = 821b9c463521555ade40f660fd92786c988578c7
SHA1 (patch-ab) = 01a2e886bac3d725e6d83059bed8bd47443984ca
--- codels/lwrCmdCodels.cc~ 2011-01-20 14:40:53.000000000 +0100
+++ codels/lwrCmdCodels.cc 2011-01-21 11:13:04.897729846 +0100
@@ -2340,11 +2340,15 @@
if(smTraj.nbAxis != 24) {
printf("ERROR: lwr::TrackQ traj.nbAxis (%d) != 24 \n", smTraj.nbAxis);
return ETHER;
+ } else {
+ printf("INFO: lwr::TrackQ there are %d axes in the trajectory \n", smTraj.nbAxis);
}
+
currentMotion.traj.clear();
currentMotion.traj.importFromSM_TRAJ_STR(&smTraj);
-
+ currentMotion.traj.computeTimeOnTraj();
+ //currentMotion.traj.print();
break;
default:
*report = S_lwr_BAD_MODE;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment