diff --git a/src/renderer/inputSystem/flipperModeActions.ts b/src/renderer/inputSystem/flipperModeActions.ts index eb2cdd9d..a9bd48a3 100644 --- a/src/renderer/inputSystem/flipperModeActions.ts +++ b/src/renderer/inputSystem/flipperModeActions.ts @@ -13,8 +13,6 @@ const joyTopic: TopicOptions = { messageType: 'sensor_msgs/Joy', }; -let joySeqId = 0; - const mapGamepadToJoy = (gamepad: Gamepad): IJoyMsg => { const d = new Date(); const seconds = Math.round(d.getTime() / 1000); @@ -39,7 +37,6 @@ const mapGamepadToJoy = (gamepad: Gamepad): IJoyMsg => { const buttons = gamepad.buttons.map((x) => Math.floor(x.value)); return { header: { - seq: joySeqId++, stamp: { sec: seconds, nsecs: 0, diff --git a/src/renderer/utils/ros/rosMsgs.types.ts b/src/renderer/utils/ros/rosMsgs.types.ts index 387f7624..5ae86c89 100644 --- a/src/renderer/utils/ros/rosMsgs.types.ts +++ b/src/renderer/utils/ros/rosMsgs.types.ts @@ -1,7 +1,6 @@ import { Vector3 } from '@/renderer/utils/math/types'; export interface IJoyMsg { header: { - seq: number; stamp: { sec: number; nsecs: number;