I am trying to experiment with code that uses the TRAK_IK_LIB, before implementing it into my robot. The source code may be found here (https://bitbucket.org/traclabs/trac_ik/src/8bc7356ba6da?at=master). The Readme for it provides the following as the example for use: TRAC_IK::TRAC_IK ik_solver(KDL::Chain chain, KDL::JntArray lower_joint_limits, KDL::JntArray upper_joint_limits, double timeout_in_ms, double error, TRAC_IK::SolveType type=TRAC_IK::Speed);
May someone provide an example of how to initialize JntArray and specify a value for TRAC_IK::Speed?
Thank you in advance.
Originally posted by jzhan1 on ROS Answers with karma: 1 on 2016-01-15
Post score: 0
Original comments
Comment by gvdhoorn on 2016-01-15:
Might be a good idea to describe what you want to do with it exactly. If it's just for a MoveIt Configuration for instance, you don't need to do any programming.
Comment by jzhan1 on 2016-01-15:
Ultimately, I hope to configure it for a robot with 6 degrees of freedom, but for now, I'm just hoping to figure out how to run this code. Ideally, without MoveIt! configuration, though that could be a last resort.