KDL-Examples
Some small examples for usage.
Do not hesitate to add your own small examples.
»
- Printer-friendly version
- Login or register to post comments
Orocos Kinematics and DynamicsSmarter in motion!
|
|
KDL-ExamplesSome small examples for usage. Do not hesitate to add your own small examples. »
|
Forward kinematic chain example
Using KDL
Hi, I have a basic question...how should look like my makefile in order to compile the example posted above???
Thanks,
Breno Carneiro Pinheiro Electrical Engineering
I got a error when I tried to run this FK example
I got the following error when main() returns.
Windows 7 + visual studio 2008.I tried to put FK solver into a function. When that function returns, same error will always happen.
Inverse position example
Inverse position example
Excuse me, a question is, how can we implement the Inverse Kinematics with some joint parameters, such as angle limits?
You will have to create
You will have to create your own solver for this. But you can start from the existing solver ;). If you need any help, don't hesitate to contact me.
Ruben
FindKDL.cmake
Since people want to use KDL in their own project i'm posting a FindKDL.cmake file that can find KDL and the RTT-bindings if you want to:
your CMakeLists.txt should be something like this:
{{{
#------
PROJECT(Dummy)
INCLUDE (${PROJECT_SOURCE_DIR}/FindPkgConfig.cmake)
## Find KDL
SET( KDL_INSTALL ${CMAKE_INSTALL_PREFIX} CACHE PATH "The KDL installation directory.")
INCLUDE (${PROJECT_SOURCE_DIR}/FindKDL.cmake)
#--------
}}}
A link to the files:
http://people.mech.kuleuven.be/~rsmits/FindKDL/
Inverse Kinematic
Does anyone know where I can find a working example of Inverse Kinematic? I can't compile the example above! thank you!!
Apply KDL to Delta Robot (parallel robot)
Hello,
We are investigating on how to control our Delta Robot http://en.wikipedia.org/wiki/Delta_robot. We found KDL, but we are not yet sure if we can apply it to our Delta Robot to do kinematic calculations (inverse & forward). It seems to support parallel robots with kinematic chains, but perhaps someone could clarify this? Thanks.
getting the name of the last segment of a tree vs. a chain
There is an API difference for a chain and a tree:
std::string end_segment_name = chain_base.getSegment(chain_base.getNrOfSegments()-1).getName();
std::string end_segment_name = your_tree.getSegments().end()->second.segment.getName();
The end segment of a chain is the last segment while the end segment you get from the tree like this, has no physical meaning related with 'end' (it's just the last element in the map).