int MainWindow::moveToNB (const QString& address, double angle1, double angle2, double angle3, double angle4) { auto it = m_connectedRobots.find(address); if (m_connectedRobots.end() == it) { return -1; } return Mobot_moveToNB(it->second, angle1, angle2, angle3, angle4); }
int Mobot_moveTo(mobot_t* comms, double angle1, double angle2, double angle3, double angle4) { Mobot_moveToNB(comms, angle1, angle2, angle3, angle4 ); return Mobot_moveWait(comms); }
int Mobot_moveToZeroNB(mobot_t* comms) { return Mobot_moveToNB(comms, 0, 0, 0, 0); }