ROBOTIS-GIT / turtlebot3_applications

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

roslaunch turtlebot3_bringup turtlebot3_robot.launch from a **service** #38

Closed jcotof closed 4 years ago

jcotof commented 4 years ago

Hello, I am trying to run the roslaunch turtlebot3_bringup turtlebot3_robot.launch from a service to load at the start of the robot but it does not work. If I see the status of the service it does not show any errors. I am doing something wrong ? This is possible ?

pi@raspberrypi:~/catkin_ws/src/turtlebot3/turtlebot3_bringup/launch $ sudo systemctl status robotin.service ● robotin.service - start roscore Loaded: loaded (/etc/systemd/system/robotin.service; disabled; vendor preset: Active: active (running) since Wed 2019-10-23 17:01:07 CST; 43s ago Main PID: 1410 (rosCoreService.) Tasks: 31 (limit: 4915) CGroup: /system.slice/robotin.service ├─1410 /bin/bash /usr/local/bin/rosCoreService.sh ├─1467 /usr/bin/python /opt/ros/kinetic/bin/roslaunch turtlebot3_brin ├─1480 /usr/bin/python /opt/ros/kinetic/bin/rosmaster --core -p 11311 ├─1493 /opt/ros/kinetic/lib/rosout/rosout name:=rosout log:=/root ├─1498 python /opt/ros/kinetic/lib/rosserial_python/serial_node.py __ ├─1507 /home/pi/catkin_ws/devel/lib/hls_lfcd_lds_driver/hlds_laser_pu └─1512 /home/pi/catkin_ws/devel/lib/turtlebot3_bringup/turtlebot3_dia

Oct 23 17:01:07 raspberrypi systemd[1]: Started start roscore. Oct 23 17:01:40 raspberrypi rosCoreService.sh[1410]: the rosdep view is empty: c lines 1-16/16 (END)

I appreciate your help