-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Krec to rrd conversion #20
base: master
Are you sure you want to change the base?
Conversation
okay so by running the krec_to_rrd script you should be able to reproduce the viz. I'm just plotting 2d actuator values at the moment, but made two views, one grouped by actuator fields, i.e. position velocity etc, and one grouped by individual actuators. You can easily toggle between these by just clicking on a separate tab. should be useful for debugging / inspection. |
examples/krec_to_rrd.py
Outdated
"""Usage: | ||
# Visualize synthetic KRec data: | ||
python examples/krec_to_rrd.py --synthetic --spawn-viewer -v | ||
python examples/krec_to_rrd.py --input /home/kasm-user/ali_repos/kmodel/data/datasets/krec_data/dec_3__11_10am_og_krecs_edited/2024-12-03_17-47-30/recording_20241125_184919_04bf0bae-c5d7-46bb-b1ef-e021c1ad85f8.krec_edited.krec.mkv --spawn-viewer -v |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove any personal paths...
examples/krec_to_rrd.py
Outdated
@@ -0,0 +1,263 @@ | |||
"""Usage: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The headline of the file should be a oneliner explaining the script/module.
from generate_synthetic_krec import generate_synthetic_krec | ||
|
||
|
||
def log_frame_data(frame, frame_idx): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add args/docs
very wip rn