ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I solved the problem by following the solution given here.
I used to call roslaunch
in my rc.local file as
su ubuntu -c "source /home/nvidia/catkin_ws/devel/setup.sh ; roslaunch my_ros my_launch_file.launch > /dev/null 2>&1 &"
Now, I replaced it with /home/nvidia/auto.sh
where content auto.sh file is
#!/bin/bash
cd $home
source /home/nvidia/catkin_ws/devel/setup.bash
roslaunch my_ros my_launch_file.launch
exit 0
Restarting the Jetson after making the auto.sh file executable with the command $ sudo chmod u+x /home/username/auto.sh
, I managed to save the image files. They are read-only though it not a problem for me.