Ejemplo n.º 1
0
int MainWindow::stop (const QString& address) {
  auto it = m_connectedRobots.find(address);
  if (m_connectedRobots.end() == it) {
    qDebug() << "(barobolab) ERROR: setColorRGB on disconnected " << address << '\n';
    return -1;
  }
  return Mobot_stop(it->second);
}
int Mobot_stopAllJoints(mobot_t* comms)
{
  return Mobot_stop(comms);
}