Skip to content
This repository was archived by the owner on Oct 9, 2019. It is now read-only.

Commit b8d9af5

Browse files
committed
Merge branch 'crystal' of https://github.com/acutronicrobotics/MARA into crystal
2 parents bbfe70b + 5a012eb commit b8d9af5

File tree

1 file changed

+24
-17
lines changed

1 file changed

+24
-17
lines changed

README.md

Lines changed: 24 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -118,17 +118,10 @@ In this section we will install all the necessary dependencies in order to be ab
118118
```sh
119119
# ROS 2 extra packages
120120
sudo apt update && sudo apt install -y \
121-
ros-crystal-action-msgs \
122-
ros-crystal-message-filters \
123-
ros-crystal-yaml-cpp-vendor \
124-
ros-crystal-urdf \
125121
ros-crystal-rttest \
126-
ros-crystal-tf2 \
127-
ros-crystal-tf2-geometry-msgs \
128122
ros-crystal-rclcpp-action \
129-
ros-crystal-cv-bridge \
130123
ros-crystal-control-msgs \
131-
ros-crystal-image-transport \
124+
ros-crystal-yaml-cpp-vendor \
132125
ros-crystal-gazebo-dev \
133126
ros-crystal-gazebo-msgs \
134127
ros-crystal-gazebo-plugins \
@@ -176,14 +169,25 @@ Continue the following steps to complete the MoveIt! installation.
176169

177170
#### ROS and MoveIt!
178171
ROS and MoveIt! are required if you want to use `ìndividual_trajectories_bridge` to control the MARA, which means using ROS Melodic with MoveIt through bridges.
179-
- **ROS melodic**: following the official instructions, [source](http://wiki.ros.org/melodic/Installation/Source) or [debian_packages](http://wiki.ros.org/melodic/Installation/Ubuntu).
180-
- **MoveIt!**: Install the following ROS debian packages.
172+
- **ROS melodic**: following the official instructions, [source](http://wiki.ros.org/melodic/Installation/Source) or [debian_packages](http://wiki.ros.org/melodic/Installation/Ubuntu).
173+
174+
Dependent tools:
175+
```sh
176+
# ROS extra packages
177+
sudo apt update && sudo apt install -y \
178+
ros-melodic-xacro \
179+
ros-melodic-rviz \
180+
ros-melodic-control-msgs \
181+
ros-melodic-robot-state-publisher \
181182
```
183+
- **MoveIt!**: Install the following ROS debian packages.
184+
```sh
182185
sudo apt install -y \
183-
ros-melodic-moveit \
184186
ros-melodic-moveit-ros-move-group \
185-
ros-melodic-moveit-visual-tools
186-
ros-melodic-moveit-simple-controller-manager
187+
ros-melodic-moveit-planners-ompl \
188+
ros-melodic-moveit-simple-controller-manager \
189+
ros-melodic-moveit-visual-tools \
190+
ros-melodic-moveit-ros-visualization
187191
```
188192
#### ROS - ROS 2.0 Bridge
189193
Compile the trajectory bridge located in the workspace using ROS as source.
@@ -195,11 +199,11 @@ cd ~/ros2_mara_ws && colcon build --merge-install --packages-select individual_t
195199
sed -i 's#/opt/ros/melodic#/opt/ros/crystal#g' ~/ros2_mara_ws/install/setup.bash
196200
```
197201
#### ROS Workspace
198-
Compile the MARA_ROS1 packages.
202+
Compile the MARA_ROS1 packages (make sure you just source melodic).
199203
```sh
200204
mkdir -p ~/catkin_mara_ws/src
201205
cd ~/catkin_mara_ws/src
202-
git clone https://github.com/AcutronicRobotics/MARA_ROS1
206+
git clone https://github.com/AcutronicRobotics/MARA_ROS1 -b crystal
203207
cd ~/catkin_mara_ws/
204208
catkin_make_isolated --install
205209
```
@@ -261,6 +265,9 @@ If you have used a different urdf in the Terminal 1, you will need to use `urdf:
261265
roslaunch mara_bringup mara_bringup_moveit_actions.launch urdf:=mara_robot_gripper_140
262266
```
263267
268+
*In case you have launched two robots, you will need to add `multiple_robots:=true`*
269+
270+
264271
#### Terminal 3 (bridge)
265272
Source catkin_mara_ws and ros2_mara_ws:
266273
```sh
@@ -280,7 +287,7 @@ ros2 run individual_trajectories_bridge individual_trajectories_bridge_actions -
280287
### MoveIt! with MARA - Real Robot
281288
Plan trajectories in a real environment with MoveIt!.
282289
283-
:warning: You will need to change the names of the real motors in [MARA/hros_cognition_mara_components](https://github.com/AcutronicRobotics/MARA/blob/crystal/hros_cognition_mara_components/config/motors.yaml#L16-L21) and in [MARA_ROS1/mara_bringup](https://github.com/AcutronicRobotics/MARA_ROS1/blob/crystal/mara_bringup/config/motors.yaml#L10-L15) files to match the MACs of your SoMs.
290+
:warning: You will need to change the names of the real motors in [MARA/hros_cognition_mara_components](https://github.com/AcutronicRobotics/MARA/blob/crystal/hros_cognition_mara_components/config/motors.yaml#L10-L15) and in [MARA_ROS1/mara_bringup](https://github.com/AcutronicRobotics/MARA_ROS1/blob/crystal/mara_bringup/config/motors.yaml#L10-L15) files to match the MACs of your SoMs.
284291
285292
:warning: Any change in the yaml files you will have to recompile the ros2 and ros packages (make sure you source only the corresponding ros/ros2):
286293
```sh
@@ -351,7 +358,7 @@ ros2 run individual_trajectories_bridge individual_trajectories_bridge_actions -
351358
## Examples
352359
353360
- [Documentation and tutorials](https://acutronicrobotics.com/docs/products/robots/mara)
354-
- [mara_examples](https://github.com/AcutronicRobotics/mara_examples.git)
361+
- [mara_examples](https://github.com/AcutronicRobotics/mara_examples/tree/crystal)
355362
356363
<br/>
357364

0 commit comments

Comments
 (0)