Skip to content
Snippets Groups Projects
Commit f36f21d7 authored by Olivier Stasse's avatar Olivier Stasse
Browse files

[wip/sot-talos] Remove patches

parent a231b59b
No related branches found
No related tags found
No related merge requests found
--- src/dynamic_graph/sot/talos/talos.py
+++ src/dynamic_graph/sot/talos/talos.py
@@ -80,7 +80,7 @@ class Talos(AbstractHumanoidRobot):
from rospkg import RosPack
rospack = RosPack()
- urdfPath = rospack.get_path('talos_data')+"/robots/talos_reduced_v2.urdf"
+ urdfPath = rospack.get_path('talos_data')+"/urdf/talos_reduced_v2.urdf"
urdfDir = [rospack.get_path('talos_data')+"/../"]
# Create a wrapper to access the dynamic model provided through an urdf file.
--- src/sot-talos-device.cpp
+++ src/sot-talos-device.cpp
@@ -101,6 +101,11 @@ SoTTalosDevice::SoTTalosDevice(std::string RobotName):
addCommand("increment",
makeCommandVoid1((Device&)*this,
&Device::increment, docstring));
+
+ addCommand("getTimeStep",
+ makeDirectGetter (*this, &this->timestep_,
+ docDirectGetter ("Time step", "double")));
+
sotDEBUGOUT(25);
}
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