Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
task_categories:
|
3 |
+
- reinforcement-learning
|
4 |
+
- robotics
|
5 |
+
---
|
6 |
+
This dataset contains sequences of actions, motor angles and pendulum angles for a [rotary inverted pendulum robot](https://github.com/armandpl/furuta). I collected it while training it to swing up and balance ([wandb run](https://wandb.ai/armandpl/furuta2/runs/bc2yhhpg)).
|
7 |
+
Angles are in radian. The action maps to the motor voltage with:
|
8 |
+
```Python
|
9 |
+
deadzone = 0.1
|
10 |
+
center = 0.05
|
11 |
+
max_act = 0.9
|
12 |
+
if abs(action) > center:
|
13 |
+
V = np.sign(action) * (
|
14 |
+
np.abs(action) * (self.max_act - self.deadzone) + self.deadzone
|
15 |
+
) * 12
|
16 |
+
else:
|
17 |
+
V = 0.0
|
18 |
+
```
|
19 |
+
You can open the files using foxglove studio or with the [mcap library](https://mcap.dev/).
|