robot_upstart: Nothing starts on startup
I have successfully executed the command
rosrun robot_upstart install myPackage/test.launch
and also
sudo systemctl daemon-reload && systemctl start myPackage
But after I reboot or restart, I can confirm by using rosnode list
and rostopic list
that the nodes listed in the launch file never start.
Starting the launch file using roslaunch
works fine so that's not the issue.
Here's the content of test.launch
<launch>
<node name='node' pkg='myPackgage' type='simple_node' />
<node name='graph' pkg='rqt_graph' type='rqt_graph' />
</launch>
Update 1: Additional information:
- Starting the service manually doesn't work (even before reboot).
sudo service myPackage start
No error, but nodes don't run.
- Files installed during the robot_upstart
install process are still there after reboot.
- There is no log file for robot_upstart
in /var/log/
- There's only one user account, and logging into it I can see the packages and environment variables.
Update 2:
I tried launching a couple other nodes and they worked fine. But that one node which receives sensor data still doesn't run. (rqt_graph doesn't run either, but it doesn't matter since it's useless as a daemon.)
I asked a new, more specific question about the nodes that don't launch.