Skip to content

Commit

Permalink
FEATURE: Adding documentaiton on how to use nested groups
Browse files Browse the repository at this point in the history
  • Loading branch information
vikashplus committed Mar 18, 2024
1 parent c3936b2 commit 1cb8334
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion robohive/logger/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,19 @@ name: {
...
}
```
Let's understand RoboHive's Logger details using its most common usecase -- i.e. recording Robot trajectories.
Nested groups can be created simply by using nested `group` keys. For example keys `g1/sg1`, `g1/sg2` will lead to the following nesting -
```
name: {
group{g1:
group{sg1: dataset{k1:v1}, dataset{k2:v2}, ...}
group{sg2: dataset{kx:vx}, dataset{ky:vy}, ...}
}
...
}
```
Note: Logger preserves the nested keys allowing data access using `data["g1/sg1"]`. The saved H5 dataset is more flexible. Data can be accessed using either `data["g1/sg1"]` or `data["g1"]["sg1"]`.

Next, let's understand RoboHive's Logger details using its most common usecase -- i.e. recording Robot trajectories.


## Robot Trajectories (Rollouts)
Expand Down

0 comments on commit 1cb8334

Please sign in to comment.