From 1ac5c15718956af09e846e5199e692e233694aab Mon Sep 17 00:00:00 2001 From: ConnorN Date: Mon, 10 Nov 2025 19:34:06 -0500 Subject: [PATCH] feat: add autonomy launch files --- src/config/launchOptions.ts | 8 ++++++++ src/server.ts | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/config/launchOptions.ts b/src/config/launchOptions.ts index 54bce80..897afd1 100644 --- a/src/config/launchOptions.ts +++ b/src/config/launchOptions.ts @@ -27,4 +27,12 @@ export const launchOptions: Record = { image: image, command: ["ros2", "run", "joy", "joy_node"], }, + slam: { + image: image, + command: ["ros2", "run", "navigation", "slam.launch.py"], + }, + navigation: { + image: image, + command: ["ros2", "launch", "navigation", "nav2.launch.py"], + }, }; \ No newline at end of file diff --git a/src/server.ts b/src/server.ts index 9cc48ef..cc22901 100644 --- a/src/server.ts +++ b/src/server.ts @@ -24,7 +24,8 @@ const sharedConfig: Partial = { IpcMode: 'host', Binds: [ '/dev/serial/by-id:/dev/serial/by-id', - '/dev/v4l/by-id:/dev/v4l/by-id' + '/dev/v4l/by-id:/dev/v4l/by-id', + '/usr/local/zed:/usr/local/zed', ] } };