Skip to content
Snippets Groups Projects
  1. Jun 02, 2017
  2. May 05, 2017
  3. Dec 23, 2016
  4. Dec 21, 2016
  5. Dec 20, 2016
  6. Sep 05, 2016
  7. Sep 02, 2016
  8. Aug 17, 2016
  9. Jul 13, 2016
  10. Jun 13, 2016
  11. Apr 14, 2016
  12. Apr 12, 2016
  13. Apr 08, 2016
  14. Jan 18, 2016
  15. Oct 16, 2014
  16. Mar 20, 2014
  17. Feb 28, 2014
  18. Feb 12, 2014
  19. Nov 07, 2013
  20. Nov 05, 2013
  21. Nov 04, 2013
  22. Sep 26, 2013
  23. Sep 12, 2013
  24. Jul 15, 2013
  25. Jul 11, 2013
  26. Jul 10, 2013
    • olivier stasse's avatar
      Publish joint-states using the SoT · 2be0ffb4
      olivier stasse authored
      Setting up ROS:
      rosparam load `rospack find hrp2_14_description`/sot/hrp2_14_reduced.yaml
      rosrun robot_state_publisher state_publisher
      
      Display the robot using the info given in
      https://trac.laas.fr/gepetto/hrp2/hrp2_14_description/html/reference/
      
      To repeat at each simulation:
      rosrun dynamic_graph_bridge geometric_simu --input-file ~/devel/ros-unstable-2/install/lib/libsot-hrp2-14-controller.so
      rosrun dynamic_graph_bridge run_command
      >>> from dynamic_graph.sot.application.velocity.precomputed_tasks import *
      >>> solver=initialize(robot)
      rosservice call /start_dynamic_graph
      >>> Put_whatever_you_want_in_python
      
      The rationale is to use a state vector map provided by the robot stack.
      For instance for hrp-2 we have a yaml file providing the ros parameter:
      /sot/state_vector_map
      which specifies the state vector:
      [RLEG_JOINT0, RLEG_JOINT1, RLEG_JOINT2, RLEG_JOINT3, RLEG_JOINT4, RLEG_JOINT5, LLEG_JOINT0,
        LLEG_JOINT1, LLEG_JOINT2, LLEG_JOINT3, LLEG_JOINT4, LLEG_JOINT5, CHEST_JOINT0, CHEST_JOINT1,
        HEAD_JOINT0, HEAD_JOINT1, RARM_JOINT0, RARM_JOINT1, RARM_JOINT2, RARM_JOINT3, RARM_JOINT4,
        RARM_JOINT5, RARM_JOINT6, LARM_JOINT0, LARM_JOINT1, LARM_JOINT2, LARM_JOINT3, LARM_JOINT4,
        LARM_JOINT5, LARM_JOINT6]
      2be0ffb4
  27. Jul 08, 2013
  28. Apr 25, 2013
    • olivier stasse's avatar
      Fix a pb for inclusion of ROS & python interpreter in ART OpenRTM. · 06cf4fe8
      olivier stasse authored
      Pb: The openrtm architecture loads a shared library to implement the services of
      an OpenRTM node. The scheduling properties are ensured by the operating system
      running openrtm. Then on the robot, when the shared library is loaded it is
      run inside the real-time loop. As sot-hrp-2 was creating the interpreter and
      the ros-node in the constructor this used to break HRP-2 real-time OS.
      
      This commit change the initialization of the ros-node to use a multi-threaded
      spinner. Then ros calls are handled in a seperate non-realtime thread.
      06cf4fe8
  29. Sep 07, 2012
Loading