Robotics StackExchange | Archived questions

robot_upstart not finding install_script

I need to start ros launch file at machine startup .

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

I am trying to follow these instructions http://docs.ros.org/api/robot_upstart/html/ I have downloaded code from https://github.com/clearpathrobotics/robot_upstart.git 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 uninstall_script.py
-rw-rw-r-- 1 hemant hemant 6667 Dec 26 16:06 providers.py
-rw-rw-r-- 1 hemant hemant 9173 Dec 26 16:06 job.py
-rw-rw-r-- 1 hemant hemant 4814 Dec 26 16:06 install_script.py
-rw-rw-r-- 1 hemant hemant 1663 Dec 26 16:06 __init__.py

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

Asked by hemant T on 2015-12-26 19:45:16 UTC

Comments

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

Asked by hemant T on 2016-01-03 18:16:46 UTC

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

Asked by gvdhoorn on 2016-01-04 03:55:03 UTC

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

Asked by gvdhoorn on 2016-01-04 03:55:40 UTC

Answers