Skip to content
Snippets Groups Projects
  1. Dec 19, 2013
  2. Dec 04, 2013
  3. Dec 02, 2013
  4. Nov 07, 2013
  5. Nov 05, 2013
  6. Sep 26, 2013
  7. Sep 11, 2013
  8. Jul 16, 2013
  9. 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
  10. Jul 08, 2013
  11. May 22, 2013
  12. Feb 21, 2013
  13. May 21, 2012
  14. May 15, 2012
  15. Apr 28, 2012
  16. Mar 21, 2012
  17. Mar 14, 2012
    • Thomas Moulard's avatar
      Add RosRobotModel entity. · d1cc7ad3
      Thomas Moulard authored
      d1cc7ad3
    • Thomas Moulard's avatar
      Read the joint names in the robot model to fill the joint_states message. · 876acbcc
      Thomas Moulard authored
      Previous version of abstract-robot-dynamics did not contain the joint
      name. Therefore, we had no way to forward the joint names to ROS.
      
      This patch changes the ros_joint_state entity to add a
      retrieveJointNames command. This command uses the pool to retrieve an
      instance of the Dynamic entity (i.e. robot.dynamic) by using the
      entity name. It then iterates on the robot structure to fill the joint
      names in the message.
      
      This command is automatically called in the Ros class so this change
      is transparent for the end-user.
      
      However, no more assumptions are made on the robot structure so the
      sent message is exactly matching the robot structure loaded in the
      dynamic entity. In particular, the free floating DOFs are sent and the
      hard coded hand values have been removed.
      
      ROS, in fact, requires DOF names and not joint names. Therefore, the
      names are computed as follow:
      - 0 dof: ignored,
      - 1 dof: dof name is the joint name,
      - >1 dof: <joint name>_<dof id>
      876acbcc
  18. Mar 12, 2012
  19. Mar 08, 2012
    • Florent Lamiraux's avatar
      Fix several compilation and installation issues · 0472ef4c
      Florent Lamiraux authored
          Rename targets
            - dynamic_graph/ros/ros_import/wrap -> ros/ros_import/wrap,
            - dynamic_graph/ros/ros_export/wrap -> ros/ros_export/wrap,
            - dynamic_graph/ros/ros_joint_state/wrap -> ros/ros_joint_state/wrap.
          Add missing linking flags to target interpreter.
          Do not redefine PYTHON_SITELIB, use cmake/python.cmake definition.
      0472ef4c
  20. Feb 27, 2012
  21. Dec 22, 2011
  22. Dec 14, 2011
  23. Nov 14, 2011
  24. Nov 10, 2011
  25. Sep 06, 2011
  26. Sep 01, 2011
  27. Nov 26, 2010
Loading