Dos2Unix Instructions

- Add troubleshooting section to gear.md that discusses using dos2unix if there are newline character issues
- Remove commented out commands from run_all.sh
This commit is contained in:
Sravan Balaji
2020-04-27 15:40:02 -04:00
parent f62fa68d03
commit 24d9bba7e0
2 changed files with 8 additions and 12 deletions

View File

@@ -150,3 +150,11 @@ In terminal 1, run the script that will build all components and run the nodes.
#### Terminal 2 <!-- omit in toc -->
When a new item is spawned after the arm drops off the previous item, the conveyor belt must be manually started again using `rosservice call /ariac/conveyor/control "power: 100"` so that the item moves to the depth camera and the process can continue. You can do this in a new terminal since terminal 1 is running all of the simulation nodes.
#### Troubleshooting <!-- omit in toc -->
If you encounter issues with newline characters when attempting to run scripts, use the `dos2unix` tool to convert them to linux style newline characters.
These errors usually look like `/bin/bash^M: bad interpreter: No such file or directory` or `env: python\r: No such file or directory`.
- `sudo apt-get install -y dos2unix`
- `dos2unix <file_path>`

View File

@@ -46,15 +46,3 @@ sleep 1
rosservice call /ariac/arm1/gripper/control "enable: true"
sleep 1
rosservice call /ariac/arm1/gripper/control "enable: false"
#/app/rrrobot_ws/src/rrrobot/scripts/rrrobot_run_no_build.sh &
# cd /app/rrrobot_ws/src/rrrobot/src
# python3 cv_model.py &
# cd /app/rrrobot_ws/devel/lib/rrrobot
# ./rrrobot_node &
# ./depth_camera_node >> /dev/null &
# ./object_spawner_node &
# ./arm_controller_node &
# rostopic echo /arm_controller/destination &
# rostopic echo /desired_grasp_pose &
# rostopic echo /cv_model &