From 32045e90acf21db096b35fb9385eaccedd9df7b9 Mon Sep 17 00:00:00 2001 From: Muhammad Ali <mali@laas.fr> Date: Fri, 21 Jan 2011 11:28:29 +0100 Subject: [PATCH] [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 --- lwr-genom/distinfo | 1 + lwr-genom/patches/patch-ab | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 lwr-genom/patches/patch-ab diff --git a/lwr-genom/distinfo b/lwr-genom/distinfo index db35eb04..9bb25e4a 100644 --- a/lwr-genom/distinfo +++ b/lwr-genom/distinfo @@ -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 diff --git a/lwr-genom/patches/patch-ab b/lwr-genom/patches/patch-ab new file mode 100644 index 00000000..a2029f2a --- /dev/null +++ b/lwr-genom/patches/patch-ab @@ -0,0 +1,19 @@ +--- 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; -- GitLab