clearpathrobotics / robot_upstart

ROS package of helper functions related to bringing up roslaunch on system startup.
BSD 3-Clause "New" or "Revised" License
196 stars 96 forks source link

using robot_upstart seems fail #30

Closed linzha0 closed 8 years ago

linzha0 commented 9 years ago

I installed robot_upstart from github into my odroid successfully.The odroid connect to APM stack quad through FTDI cable. I am new to this ros package so I have some issue to use that.I follow the tutorial: Usage.
After i install and type the command rosrun robot_upstart install my_ros_package/launch/test.launch in the terminal,then reboot.
After that, I do rostopic list, it said ERROR: Unable to communicate with master
But When do roscor , it said roscore cannot run as another roscore/master is already running. It seems that something works but I can't see. I want to uninstall that but I dont know the job name. Could you tell me how to stop that? or any suggestions to see what going on here. Thanks so much.

linzha0 commented 9 years ago

I can use uninstall now for last issue. but rosrun robot_upstart install --job test1 --user odroid--setup /home/odroid/catkin_ws/devel/setup.bash --rosdistro indigo --master http://localhost:11311 --logdir /home/odroid/.ros/log obstacle_avoidance/launch/test.launch I don't know the network interface of ROS. The install command works successful. When I reboot and do rostopic list, The only rostopic i can see is /rosout. The mavros rostopic not shown which is supposed to shown if quad and odroid connect correct. Because I can see them just run roslaunch obstacle_avoidance test.launch. I looked this problem in ros forum, it seems he has some issue happened with /ttyUSB0 which is the same device i used. Any one could give me some suggestions? Thanks.

taogashi commented 9 years ago

me the same, wait for suggestion T_T

linzha0 commented 9 years ago

@taogashi ,I write my own upstart script suggested by @vooon. Follow here, just write your script like rarog.conf, dont forget include your_usb.rules in like 90-ttyAMA0.rules. Let me know if I can help :)

mikepurvis commented 9 years ago

Hi folks— can you clarify whether the Odroid is running Ubuntu or some other OS? If you're running upstream Debian or something else based on a different init system, robot_upstart's default jobs will not work for you.

Note that #20 is tracking a systemd provider for robot_upstart.

linzha0 commented 9 years ago

hi @mikepurvis ,i am using odroid running Ubuntu 14.04.