Found in /usr/sbin/foo-start script, I had to manually change:
# Punch it.
-export ROS_HOME=$(echo ~wronguser)/.ros
+export ROS_HOME=$(echo ~rightuser)/.ros
When I first ran rosrun robot_upstart install foo/launch/upstart.launch, indeed something was wrong so I understand the upstart could use wronguser. But after running the same command multiple times on the right environment, the above wasn't fixed/overwritten.
Is it intended behavior?
(I did run rosrun robot_upstart uninstall %job_name% later but don't remember if it fixed this.)
Found in
/usr/sbin/foo-start
script, I had to manually change:When I first ran
rosrun robot_upstart install foo/launch/upstart.launch
, indeed something was wrong so I understand the upstart could usewronguser
. But after running the same command multiple times on the right environment, the above wasn't fixed/overwritten.Is it intended behavior?
(I did run
rosrun robot_upstart uninstall %job_name%
later but don't remember if it fixed this.)