Skip to content

Commit

Permalink
Fix motion planner freespace example opw_kinematics include build err…
Browse files Browse the repository at this point in the history
…or (#131)

* Fix example opw_kinematics include build error

Signed-off-by: Chen Bainian <[email protected]>

* Update working_frame and tcp_frame for all motion planner examples

Signed-off-by: Chen Bainian <[email protected]>
  • Loading branch information
Briancbn authored Nov 11, 2021
1 parent ebb7219 commit a1d8cb6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions tesseract_motion_planners/examples/chain_example.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ int main(int /*argc*/, char** /*argv*/)
}

ManipulatorInfo manip;
manip.tcp_frame = "tool0";
manip.working_frame = "base_link";
manip.manipulator = "manipulator";
manip.manipulator_ik_solver = "OPWInvKin";

Expand Down
3 changes: 1 addition & 2 deletions tesseract_motion_planners/examples/freespace_example.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,10 @@
#include <tesseract_common/macros.h>
TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
#include <console_bridge/console.h>
#include <opw_kinematics/opw_parameters.h>
TESSERACT_COMMON_IGNORE_WARNINGS_POP

#include <tesseract_common/types.h>

#include <tesseract_kinematics/opw/opw_inv_kin.h>
#include <tesseract_kinematics/core/utils.h>

#include <tesseract_environment/environment.h>
Expand Down Expand Up @@ -102,6 +100,7 @@ int main(int /*argc*/, char** /*argv*/)

ManipulatorInfo manip;
manip.tcp_frame = "tool0";
manip.working_frame = "base_link";
manip.manipulator = "manipulator";
manip.manipulator_ik_solver = "OPWInvKin";

Expand Down
1 change: 1 addition & 0 deletions tesseract_motion_planners/examples/raster_example.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ int main(int /*argc*/, char** /*argv*/)

ManipulatorInfo manip;
manip.tcp_frame = "tool0";
manip.working_frame = "base_link";
manip.manipulator = "manipulator";
manip.manipulator_ik_solver = "OPWInvKin";

Expand Down

0 comments on commit a1d8cb6

Please sign in to comment.