ROBOTIS-GIT / turtlebot3_applications

Applications for TurtleBot3
http://turtlebot3.robotis.com
Apache License 2.0
84 stars 47 forks source link

Run the "turtlebot3_bringup" automatically after turtle boot #39

Closed jcotof closed 4 years ago

jcotof commented 4 years ago

Hello . I am a beginner in ROS and I want to run the "turtlebot3_bringup" automatically after turtle boot. Can you tell me what is the best way to do this? Do you have any examples? Thanks for your help

kaym9n commented 4 years ago

Hi,

'robot_upstart' will help you. Our other platform(ROBOTIS-OP3) uses it. please refer to emanual of ROBOTIS-OP3.

Regards, Kayman

jcotof commented 4 years ago

Thank you Kayman, I already set up the service and it works ok. I only have one more question, when configuring the service to run when booting,

turtlebot3.service - "bringup turtlebot3" Loaded: loaded (/lib/systemd/system/turtlebot3.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Mon 2019-10-28 18:52:34 CST; 27min ago ... ... Oct 28 18:52:34 raspberrypi turtlebot3-start[454]: <11>Oct 28 18:52:34 root: turtlebot3: No IP address on wlan0, cannot roslaunch.

It gives me an error that the ip address has not yet been configured. I imagine that it is because the system has not finished starting, how can I run the service when I already have the ip address assigned in the network interface?