Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
sot-hrp2
Commits
fe19a693
Commit
fe19a693
authored
Jul 17, 2012
by
olivier stasse
Browse files
Add some widely available information for other packages in the robot object.
Minor change: inverse header inclusion order.
parent
0b6b99d7
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/dynamic_graph/sot/hrp2/hrp2.py
View file @
fe19a693
...
...
@@ -43,16 +43,17 @@ class Hrp2(AbstractHumanoidRobot):
self
.
OperationalPoints
.
append
(
'waist'
)
self
.
device
=
device
modelName
=
'HRP2JRLmainsmall.wrl'
specificitiesPath
=
xmlDir
+
'/HRP2SpecificitiesSmall.xml'
jointRankPath
=
xmlDir
+
'/HRP2LinkJointRankSmall.xml'
self
.
modelDir
=
modelDir
self
.
modelName
=
'HRP2JRLmainsmall.wrl'
self
.
specificitiesPath
=
xmlDir
+
'/HRP2SpecificitiesSmall.xml'
self
.
jointRankPath
=
xmlDir
+
'/HRP2LinkJointRankSmall.xml'
self
.
dynamic
=
self
.
loadModelFromJrlDynamics
(
self
.
name
+
'_dynamic'
,
modelDir
,
modelName
,
specificitiesPath
,
jointRankPath
,
self
.
modelName
,
self
.
specificitiesPath
,
self
.
jointRankPath
,
dynamicType
)
self
.
dimension
=
self
.
dynamic
.
getDimension
()
...
...
src/sot-hrp2-controller.cpp
View file @
fe19a693
...
...
@@ -17,8 +17,8 @@
#include <sot/core/debug.hh>
#include <sot/core/exception-abstract.hh>
#include "sot-hrp2-controller.hh"
#include <dynamic_graph_bridge/ros_init.hh>
#include "sot-hrp2-controller.hh"
const
std
::
string
SoTHRP2Controller
::
LOG_PYTHON
=
"/tmp/HRP2Controller_python.out"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment