From 972764a283057c90920282908fd97daee7a6933b Mon Sep 17 00:00:00 2001 From: Garrett Brown Date: Wed, 6 Nov 2024 10:14:50 -0800 Subject: [PATCH] Revert "drivers_py: Update systemd service for Yocto" This reverts commit 2df03175f89f166345da5a15088259b223482afb. --- oasis_drivers_py/config/systemd/oasis_drivers.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oasis_drivers_py/config/systemd/oasis_drivers.service b/oasis_drivers_py/config/systemd/oasis_drivers.service index 1364c94d..54ca67ac 100644 --- a/oasis_drivers_py/config/systemd/oasis_drivers.service +++ b/oasis_drivers_py/config/systemd/oasis_drivers.service @@ -11,7 +11,7 @@ After=network.target # TODO: Better way to define this # -User=root +User=garrett # # ROS 2 configuration @@ -24,7 +24,7 @@ Environment=RMW_IMPLEMENTATION=rmw_fastrtps_dynamic_cpp # Path configuration # -Environment=OASIS_ENV=/opt/ros/${ROS2_DISTRO}/setup.bash +Environment=OASIS_ENV=/home/${USER}/Documents/ros-ws/src/oasis/ros-ws/oasis-${ROS2_DISTRO}/install/setup.bash # # Service definition