|
Hormodular 1.0
Locomotion gait discovery by using digital hormones on modular robots
|
Sends the commands required for toggling the user LED on the robot board. {
if ( serialPort && serialPort->IsOpen() )
{
SerialPort::DataBuffer outputBuff;
outputBuff.push_back(0x5F); //-- 0x5F -> Toggle LED
serialPort->Write( outputBuff );
return true;
}
else
{
std::cout << "[SerialModRobInterface] Error: LED could not be toggled (no robot connected)"
<< std::endl;
return false;
}
}
|
1.7.4