Skip to content

Commit

Permalink
Merge branch 'main' into update/pass-defender
Browse files Browse the repository at this point in the history
  • Loading branch information
JornJorn committed Nov 27, 2023
2 parents 45817a5 + 66f6f9a commit 653b0f2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion roboteam_robothub/src/RobotHub.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,11 @@ void RobotHub::sendCommandsToBasestation(const rtt::RobotCommands &commands, rtt
command.header = REM_PACKET_TYPE_REM_ROBOT_COMMAND;
command.toRobotId = robotCommand.id;
command.toColor = color == rtt::Team::BLUE;
command.fromBS = true;
command.fromBS = false;
command.fromPC = true;
command.toPC = false;
command.toBS = false;
command.toBC = false;
command.remVersion = REM_LOCAL_VERSION;
// command.messageId = 0; TODO implement incrementing message id
command.payloadSize = REM_PACKET_SIZE_REM_ROBOT_COMMAND;
Expand Down

0 comments on commit 653b0f2

Please sign in to comment.