-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doesn't start my launch file after reboot #75
Comments
i also have similar result |
me too, have no idea |
Does ros start properly if you launch it manually? sudo turtlebot-start (this will launch ros in the foreground) sudo systemctl start turtlebot3 (this will launch in the background) If yes, then you probably have a permissions issue - a launch file in your turtlebot3.d folder is attempting to access something (usually a serial or USB device) that it does not have access to when triggered by a service. If no, then pay close attention to any errors that are generated when you try to launch. |
I have similar issue and do try to access USB device. How should I solve the permission issue @jeff-o? |
First try launching ROS in the foreground using the "sudo turtlebot3-start" command. This will usually give you some clues about what node or nodes are crashing. For USB devices, many require permission to be granted to the user in order to access them. If you know the location of the device (say, /dev/[device name]) you can give yourself temporary permission with the chmod command: "sudo chmod 666 /dev/[device name]". To make it so that you always have access on boot, you can use something called a udev rule. Many ros drivers will come with a udev rule, and all you have to do is move it to /etc/udev/rules.d. For drivers that don't have one, you can create a new rule. There are lots of great tutorials out there that are just a google away! |
Actually, I'd created udev rules previously, so I checked the logs at And it works fine now! |
I used ROS kinetic on ubuntu 16.04 LTS PC,
my mission to run this launch file after booting up (this on package turtlebot3_bringup and succeeded to run manually)
I did the
rosrun robot_upstart install turtlebot3_bringup/launch/base.launch
This ask for sudo systemctl daemon-reload && sudo systemctl start turtlebot3, i run the command
Then start the service sudo service turtlebot3 start ,, reboot, and nothing happen.
Could someone help me?
The text was updated successfully, but these errors were encountered: