mirror of
https://github.com/modelec/TCPSocketServer.git
synced 2026-01-19 00:47:36 +01:00
lidar pos
This commit is contained in:
@@ -1610,6 +1610,10 @@ void TCPServer::getLidarPos() {
|
||||
|
||||
this->broadcastMessage("strat;arduino;clear;1\n");
|
||||
|
||||
usleep(1'000'000);
|
||||
|
||||
this->setPosition(this->robotPose, this->lidarSocket);
|
||||
|
||||
this->askLidarPosition();
|
||||
|
||||
awaitForLidar = true;
|
||||
|
||||
@@ -126,12 +126,11 @@ private:
|
||||
|
||||
TAKE_3_PLANT_BOTTOM_1,
|
||||
DROP_FLOWER_BASE_2,
|
||||
GET_LIDAR_POS,
|
||||
|
||||
TAKE_3_PLANT_BOTTOM_2,
|
||||
GET_LIDAR_POS,
|
||||
REMOVE_POT_J2,
|
||||
DROP_FLOWER_J2,
|
||||
GET_LIDAR_POS,
|
||||
|
||||
/*DROP_PURPLE_FLOWER,
|
||||
DROP_WHITE_FLOWER_J1,*/
|
||||
@@ -141,6 +140,7 @@ private:
|
||||
TAKE_FLOWER_TOP,*/
|
||||
|
||||
TAKE_3_PLANT_TOP_1,
|
||||
GET_LIDAR_POS,
|
||||
DROP_FLOWER_J1,
|
||||
|
||||
/*DROP_PURPLE_FLOWER,
|
||||
|
||||
Reference in New Issue
Block a user