File tree Expand file tree Collapse file tree 1 file changed +21
-2
lines changed Expand file tree Collapse file tree 1 file changed +21
-2
lines changed Original file line number Diff line number Diff line change 2
2
## Using this package
3
3
4
4
### Installation
5
+
6
+ #### Docker
7
+ If using Ubuntu, you may skip this step. All other distributions must create a Docker environment. This container includes ROS2 Humble.
8
+
9
+ ```
10
+ docker run -it --net=host --device /dev/dri/ -e DISPLAY=$DISPLAY -v $HOME/.Xauthority:/root/.Xauthority:ro osrf/ros:humble-desktop
11
+ ```
12
+
13
+ After the docker environment has downloaded, update the system and download the UR robot drivers:
14
+ ```
15
+ apt update -y && apt upgrade -y
16
+ apt install python3-venv -y
17
+ apt install ros-$ROS_DISTRO-ur -y
18
+ cd ~
19
+ ```
20
+
21
+
22
+ #### Installing this package
5
23
1 . Clone this repository into your local directory:
6
24
```
7
- git clone git@ github.com: OSUrobotics/pybullet-tree-sim.git
25
+ git clone https:// github.com/ OSUrobotics/pybullet-tree-sim.git
8
26
```
9
27
2 . Create a virtual environment. Python's ` venv ` is encouraged:
10
28
```
29
+ cd pybullet-tree-sim
11
30
python3 -m venv venv
12
31
source venv/bin/activate
13
32
```
14
- Windows users should activate using the Windows-specific venv scripts.
15
33
16
34
3 . Install using pip:
17
35
```
@@ -26,6 +44,7 @@ mesh_downloader
26
44
```
27
45
This command will extract the zip file for you. It is a large file and will take several minutes.
28
46
47
+
29
48
### Adding trees
30
49
All trees should be defined by their origin namespace, the tree type, and the tree id. Tree ids should be zero-padded by 5 spaces.
31
50
You can’t perform that action at this time.
0 commit comments