Special

Special function that sends some specific orders to the DCM.

This method has only a string as parameter.

This string could be:

  • Reset

    > Ask for a reset of the chest board.

  • Chain

    Ask for a new chain process in the chest board.

    Note:

    Function not tested.

  • Config

    Ask for a new configuration of all motorBoard.

    Note:

    Function not tested.

  • ResetMB

    Turn off all motorboard, wait 3s, turn them on again and wait 15s before doing DCM cycle again.

    Warning:

    Turning off motorboard power will make every joint free, and so the robot may fall.

Method

/** * Special commands * * @param pName one string and could be "Reset", "Chain", "ResetMB", "Config" * */ void DCM::special(std::string pName)

Example of use

Python:

import naoqi from naoqi import ALProxy dcm = ALProxy("DCM","127.0.0.1",9559) dcm.special("ResetMB")

This script resets the motors on the robot.





Copyright © 2010 Aldebaran-Robotics - All rights reserved