Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
alik-git committed Dec 19, 2024
1 parent bea7015 commit cb37c16
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,34 @@
# krecviz
Visualisation utilities for krec files

## Installation

```bash
pip install git+https://github.com/kscalelabs/krecviz.git
# or clone the repo and run
pip install -e .
```

## Usage

NOTE: In the rerun viwer, make sure to select "log tick" as the time unit.

CLI usage:

```bash
# cd to the repo root
cd krecviz
python visualize.py --urdf data/urdf_examples/gpr/robot.urdf --krec data/krec_examples/actuator_22_right_arm_shoulder_roll_movement.krec --output output.rrd
```

Python API usage:

```python
import krecviz

krecviz.viz(
krec_path="path/to/recording.krec",
urdf_path="path/to/robot.urdf"
)
```

0 comments on commit cb37c16

Please sign in to comment.