Skip to content

Commit d65ec1f

Browse files
committed
Refactor README
1 parent 2d7f315 commit d65ec1f

File tree

1 file changed

+61
-31
lines changed

1 file changed

+61
-31
lines changed

README.md

Lines changed: 61 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,98 @@
1-
# AR4
1+
# AR4 ROS 2 Software
22

3-
The [Annin Robotics AR4](https://www.anninrobotics.com/) robot is a 6DOF desktop size industrial robot that is a free, open plan low cost robot. This repository contains the necessary ROS 2 packages to plan and execute motions in Gazebo sim. It provides the arm description, simulation controllers and Moveit configuration needed to command it.
3+
The [Annin Robotics AR4](https://www.anninrobotics.com/) robot is a 6DOF desktop size industrial robot that is a free, open plan low cost robot. This repository contains the necessary ROS 2 packages to plan and execute motions in Gazebo sim.
4+
5+
It provides a ROS 2 set of packages to be able to control the AR4 robot both in real hardware and
6+
a number of different simulation environments.
47

58
<p align="center">
69
<img src="docs/ar4.png" width=500 />
710
</p>
811

912
## Package Summary
1013

11-
- [`ar4_gazebo`](./ar4_gazebo): Gazebo simulation for the ar4 arm.
12-
- [`ar4_description`](./ar4_description): Contains the URDF of the arm.
13-
- [`ar4_hardware_interface`](./ar4_hardware_interface): Contains the software required to connect the computer with the real robot.
14-
- [`ar4_moveit_config`](./ar4_moveit_config): Contains configuration and launch files to run and command the arm.
14+
These are the main packages providing launch files for the different use cases:
1515

16-
## Installation
16+
- [`ar4_description`](./ar4_description): Contains the platform-agnostic parts of the URDF robot description.
17+
- [`ar4_gazebo_bringup`](./ar4_gazebo): Launch a Gazebo Sim simulation of AR4.
18+
- [`ar4_isaac_bringup`](./ar4_gazebo): **Not yet available.** Launch an Isaac Sim simulation of AR4.
19+
- [`ar4_mujoco_bringup`](./ar4_gazebo): **Not yet available.** Launch a Mujoco-based simulation of AR4.
20+
- [`ar4_realbot_bringup`](./ar4_gazebo): Launch drivers and control software for the real AR4 robot.
1721

18-
### Prerequisites
1922

20-
It is a requirement to have `docker engine` with the `docker compose plugin` already installed in the host machine.
23+
```mermaid
24+
graph TD
25+
A[**ar4_moveit_config** <br> main.launch.py]
26+
B[**ar4_common** <br> main.launch.py]
27+
C[**ar4_description** <br> main.launch.py]
28+
D[**ar4_gazebo_sim** <br> main.launch.py]
29+
E[**ar4_gazebo_bringup** <br> main.launch.py]
30+
F[**ar4_hardware_interface** <br> main.launch.py]
31+
G[**ar4_realbot_bringup** <br> main.launch.py]
2132
22-
See: [Docker Installation Guide](https://docs.docker.com/engine/install/ubuntu/)
33+
A --> F
34+
C --> F
2335
24-
### Running the dev container
36+
H[**ar4_isaac_bringup** <br> main.launch.py <br> ...not yet available...]
37+
I[**...** <br> main.launch.py]
2538
26-
Build and run the container for the use case you are interested in
39+
B --> H
40+
I --> H
2741
28-
#### Gazebo
29-
```bash
30-
./docker/run.sh -s ar4_gazebo
31-
```
42+
J[**ar4_mujoco_bringup** <br> main.launch.py <br> ...not yet available...]
43+
K[**...** <br> main.launch.py]
3244
33-
#### Hardware
45+
B --> J
46+
K --> J
3447
35-
* [Hardware Interface Instructions](ar4_hardware_interface/README.md)
3648
37-
## Build the packages
49+
A --> B
3850
39-
Build the packages
51+
C --> D
52+
C --> A
4053
41-
```
42-
colcon build --symlink-install
54+
B --> E
55+
D --> E
56+
57+
B --> G
58+
F --> G
4359
```
4460

45-
Source the built packages
61+
## Installation
4662

47-
```
48-
source install/setup.bash
49-
```
63+
### Prerequisites
5064

51-
---
65+
It is a requirement to have `docker engine` with the `docker compose plugin` already installed in the host machine.
5266

53-
### Launch
67+
See: [Docker Installation Guide](https://docs.docker.com/engine/install/ubuntu/)
5468

55-
After building and sourcing the packages, run the specific launch file for your use case:
69+
### Running the dev container
70+
71+
Build and run the container for the use case you are interested in
5672

5773
#### Gazebo
5874

75+
Launch the docker container with the following command:
76+
5977
```bash
60-
ros2 launch ar4_gazebo_bringup main.launch.py
78+
./docker/run.sh -s ar4_gazebo
79+
```
80+
81+
Then build and launch Gazebo bringup launch file:
82+
83+
```bash
84+
colcon build --symlink-install --packages-up-to ar4_gazebo_bringup \
85+
&& source install/setup.bash \
86+
&& ros2 launch ar4_gazebo_bringup main.launch.py
6187
```
6288

6389
![Ar4 Gazebo](docs/ar4.png)
6490

65-
---
91+
92+
#### Hardware
93+
94+
* [Hardware Interface Instructions](ar4_hardware_interface/README.md)
95+
6696

6797
### Controlling the AR4 with MoveIt
6898

0 commit comments

Comments
 (0)