Skip to content

Commit

Permalink
fix breaking changes
Browse files Browse the repository at this point in the history
  • Loading branch information
emielsteerneman committed Aug 6, 2023
1 parent 4fc8e90 commit e283674
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
namespace rtt::ai::io {
class InterfaceGateway;
class InterfaceSubscriber {
InterfaceSubscriber() = default;

public:
/**
Expand All @@ -21,6 +20,7 @@ class InterfaceSubscriber {
* @param message The received message from the client.
*/
void onMessage(const proto::MsgFromInterface&& message);
InterfaceSubscriber() = default;

private:
void sendPacketToSimulator(const SimulatorCommand& packet);
Expand Down
12 changes: 9 additions & 3 deletions roboteam_interface_vue/src/modules/composables/ai-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,18 @@ export const useAiController = defineStore('aiController', () => {
})
}
}
return teleportRobot
return {
'control' : {
'teleportRobot' : teleportRobot,
}
}
})()

const ballToCenter = {
'teleportBall' : {
'x' : 0, 'y' : 0, 'z' : 0, 'vx' : 0, 'vy' : 0, 'vz' : 0
'control' : {
'teleportBall' : {
'x' : 0, 'y' : 0, 'z' : 0, 'vx' : 0, 'vy' : 0, 'vz' : 0
}
}
}

Expand Down

0 comments on commit e283674

Please sign in to comment.