mirror of
https://github.com/modelec/TCPSocketServer.git
synced 2026-03-25 09:00:37 +01:00
speed
This commit is contained in:
@@ -311,6 +311,7 @@ void TCPServer::startGame() {
|
||||
}
|
||||
|
||||
void TCPServer::goToAruco(const ArucoTagPos &arucoTagPos, const int pince) {
|
||||
this->broadcastMessage("strat;aruco;speed;100\n");
|
||||
float decalage;
|
||||
if (pince < 0 || pince > 2) {
|
||||
return;
|
||||
@@ -353,4 +354,5 @@ void TCPServer::goToAruco(const ArucoTagPos &arucoTagPos, const int pince) {
|
||||
this->broadcastMessage(toSend);
|
||||
this->broadcastMessage("strat;servo_moteur;lever bras;1\n");
|
||||
havePot[pince] = true;
|
||||
this->broadcastMessage("strat;aruco;speed;200\n");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user