Hormodular 1.0
Locomotion gait discovery by using digital hormones on modular robots
bool hormodular::SerialModularRobotInterface::reset ( ) [virtual]

Resets the communication with the modular robot, closing the serial port and connecting again to the robot.

Returns:
True if completed successfully, false otherwise

Implements hormodular::ModularRobotInterface.

{
    if (stop())
    {
        joint_values.clear();
        for (int i = 0; i < num_modules; i++)
            joint_values.push_back(0);

        return start();
    }
    else
        return false;
}
 All Classes Functions Variables Friends