Skip to content
Snippets Groups Projects
Commit 391d152a authored by Rohan Budhiraja's avatar Rohan Budhiraja
Browse files

[wip/sot-dynamic-pinocchio-v3][patch] Assuming that the robot is a humanoid.

(This is a Hack)
parent e6a81459
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@
#
VERSION= 3.1.0
PKGREVISION= 1
PKGREVISION= 2
DISTNAME= sot-dynamic-pinocchio-v3-${VERSION}
MASTER_SITES= ${MASTER_SITE_OPENROBOTS:=sot-dynamic-pinocchio-v3/}
MASTER_REPOSITORY= ${MASTER_REPOSITORY_GITHUB}proyan/sot-dynamic/tree/topic/sot-pinocchio
......
......@@ -2,3 +2,4 @@ SHA1 (sot-dynamic-pinocchio-v3-3.1.0.tar.gz) = d080f073c2a7240ab8f933b1054621ea1
RMD160 (sot-dynamic-pinocchio-v3-3.1.0.tar.gz) = e591c1cf125ce437eb7b0f04069d2e190320378a
Size (sot-dynamic-pinocchio-v3-3.1.0.tar.gz) = 171868 bytes
SHA1 (patch-aa) = 8ae702caa5ffd271dd14c148f8e27d8a33d5e382
SHA1 (patch-ab) = c2b904cef17f45130d80d917cfbd224b8e6cc63c
Hack: Take the root joint as freeflyer.
(This patch assumes that the robot being loaded has no fixed root joint.)
--- src/sot-dynamic.cpp 2016-04-15 15:25:59.000000000 +0200
+++ src/sot-dynamic.cpp 2016-09-08 17:30:26.605146524 +0200
@@ -410,7 +410,7 @@
void Dynamic::parseUrdfFile() {
sotDEBUGIN(15);
if (m_urdfPath.empty()) std::cerr<<"Set input file first"<<std::endl;
- m_model = se3::urdf::buildModel(this->m_urdfPath, false);
+ m_model = se3::urdf::buildModel(this->m_urdfPath, se3::JointModelFreeFlyer(), false);
if (m_data) delete m_data;
m_data = new se3::Data(m_model);
init=true;
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