ros-naoqi / nao_robot

BSD 3-Clause "New" or "Revised" License
53 stars 60 forks source link

add wakeup and rest services #9

Closed k-okada closed 9 years ago

k-okada commented 9 years ago

some of noaqi robot need to use wakeup and rest for servo off all robots, http://doc.aldebaran.com/2-1/naoqi/motion/control-stiffness.html#control-stiffness Also that robot is not able to change stiffness with "Body" , https://github.com/k-okada/nao_robot/blob/add_wakeup_rest/nao_pose/nodes/pose_controller.py#L162, Does someone know how to know the type of the robot through ALporxy interface?

sbarthelemy commented 9 years ago

Hi,

Does someone know how to know the type of the robot through ALporxy interface?

On a real robot and when using the simulation SDK, you can have a look at the two following almemory keys,

"RobotConfig/Body/Type" "RobotConfig/Head/Type"

which should match your robot type ("nao, "romeo", ...).

Karsten1987 commented 9 years ago

lgtm. I will merge the wake-up / rest service. please file another pull request for further modifications regarding stiffness.