A few more changes to support change to orin
Starter needs to accept orin hostname
foxglove_image_converter was missing
image_logger needed JoystickSTate to be shared
argus_camera had wrong parameter being set for picking the camera dev ID 0
Change-Id: I7753068d22b1f88c9935abff0992a2b13400940b
Signed-off-by: Jim Ostrowski <yimmy13@gmail.com>
diff --git a/aos/starter/starter.sh b/aos/starter/starter.sh
index face963..0215156 100755
--- a/aos/starter/starter.sh
+++ b/aos/starter/starter.sh
@@ -10,7 +10,7 @@
ln -s /var/local/natinst/log/FRC_UserProgram.log /tmp/FRC_UserProgram.log
ln -s /var/local/natinst/log/FRC_UserProgram.log "${ROBOT_CODE}/FRC_UserProgram.log"
-elif [[ "$(hostname)" == "pi-"* ]]; then
+elif [[ "$(hostname)" == "pi-"* || "$(hostname)" == "orin-"* ]]; then
# We have systemd configured to handle restarting, so just exec.
export PATH="${PATH}:/home/pi/bin"
exec starterd --user=pi --purge_shm_base