Skip to content

Commit

Permalink
instruction tweaks and corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
jrgnicho committed Oct 24, 2020
1 parent 2ecec7d commit d16193b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 7 deletions.
2 changes: 1 addition & 1 deletion ROS1_BRIDGE_BUILD_INSTRUCTIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ This workspace contains the bridge implementation, it allows the ROS1 and ROS2 a
```
- Clone the bridge repository
```
cd ~/crs_ros_bridge_ws/
cd ~/crs_ros_bridge_ws/src
git clone https://github.com/swri-robotics/crs_ros_bridge_ws.git
```
- Download source dependencies
Expand Down
25 changes: 19 additions & 6 deletions crs_application/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,34 +4,47 @@
---
## System Startup
### On Hardware
- Open terminal and navigate to ROS1 workspace
and run the following lines in the terminal
Prior to running you must've build the ROS1 driver and ROS bridge as described in ../ROS1_BRIDGE_BUILD_INSTRUCTIONS.md

1. #### Run ROS1 driver
```
source /opt/ros/melodic/setup.bash
cd ~/crs_ros1_ws/
source devel/setup.bash
roslaunch crs_support_ros1 crs_startup.launch
```
You should see the UR teach pendant showing "Running" under the program tab
**You should see the UR teach pendant showing "Running" under the program tab**
2. #### Run ROS Bridge workspace
- Open another terminal window and navigate to ROS Bridge workspace
and run the following lines in the terminal
```
source /opt/ros/melodic/setup.bash
source /opt/ros/eloquent/setup.bash
cd ~/crs_ros_bridge_ws/
source install/local_setup.bash
ros2 launch crs_bridge_support combined_bridge.launch.py
```
- Open a third terminal window and navigate to ROS2 workspace
and run the following lines in the terminal
3. #### Run ROS2 Application
- Open a third terminal window and navigate to ROS2 workspace and run the following lines in the terminal
```
source /opt/ros/eloquent/setup.bash
cd ~/crs_ws
source install/local_setup.bash
ros2 launch crs_application crs.launch.xml sim:=false
```
This last command will launch the RVIZ application where you should be able to see the robot in the mockup cell along with the user interface to control the application.
### In Simulation
- Source the workspace
```
source /opt/ros/eloquent/setup.bash
cd ~/crs_ws
source install/local_setup.bash
```
- Start
Use the *crs.launch.xml* launch file
Run the *crs.launch.xml* launch file
```
ros2 launch crs_application crs.launch.xml
```
Expand Down

0 comments on commit d16193b

Please # to comment.