robot_upstart not finding install_script

asked 2015-12-26 18:45:16 -0600

hemant T gravatar image

updated 2015-12-27 06:53:32 -0600

gvdhoorn gravatar image

I need to start ros launch file at machine startup .

We are using Ubilinux on Intel/Edison. We are using ROS:

  • /rosdistro: indigo
  • /rosversion: 1.11.13

I am trying to follow these instructions I have downloaded code from branch indigo-devel

Here is how my folder looks

hemant@127:~/catkin_ws/src/robot_upstart/src/robot_upstart$ ls -ltr 
total 36
-rw-rw-r-- 1 hemant hemant 2408 Dec 26 16:06
-rw-rw-r-- 1 hemant hemant 6667 Dec 26 16:06
-rw-rw-r-- 1 hemant hemant 9173 Dec 26 16:06
-rw-rw-r-- 1 hemant hemant 4814 Dec 26 16:06
-rw-rw-r-- 1 hemant hemant 1663 Dec 26 16:06

Following shows command I ran.

hemant@127:~/catkin_ws$ catkin_make
hemant@127:~/catkin_ws$ catkin_make install
hemant@127:~/catkin_ws$ source ~/catkin_ws/devel/setup.bash

Now creating a job

hemant@127:~/catkin_ws$ rosrun robot_upstart install myrobot mybotpackage/test.launch
Traceback (most recent call last):
  File "/home/hemant/catkin_ws/src/robot_upstart/scripts/install", line 29, in <module>
    from robot_upstart.install_script import main
ImportError: No module named robot_upstart.install_script

Question : Why it is not able to find robot_upstart.install_script ?

Thanks, Hemant

edit retag flag offensive close merge delete


Any one have more insight into this problem. Really appreciate your help.

hemant T gravatar image hemant T  ( 2016-01-03 17:16:46 -0600 )edit

(unrelated, but) why catkin_make install and then source .../devel/setup.bash?

gvdhoorn gravatar image gvdhoorn  ( 2016-01-04 02:55:03 -0600 )edit

This could be a bug. Perhaps report at clearpathrobotics/robot_upstart/issues.

gvdhoorn gravatar image gvdhoorn  ( 2016-01-04 02:55:40 -0600 )edit