Skip to content

Conversation

@aaronxie0000
Copy link
Contributor

add fields "model" for model used, timestamp, and quat to the log deployments.
add 3d visualizer for the quat over the course of rollout
automatic daily folder structure for pickle files
add arguments in plotting of deployment which day and which deployment type to plot

SCR-20250422-qeva

…loyments. add 3d visualizer for the quat over the course of rollout
@jingxiangmo jingxiangmo changed the title Add more fields to deploy logs and 3D quat visualization Add deploy logs, Fix projected gravity computation Apr 25, 2025
@jingxiangmo jingxiangmo requested a review from Copilot April 25, 2025 21:11
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enhances deployment logging and visualization while refactoring deployment classes for improved structure and reliability. Key changes include adding new fields (model, timestamp, quat) and statistics to deployment logs with a daily folder structure; implementing a 3D IMU visualizer; and adjusting joystick deployment classes to use the unified Deploy base class.

Reviewed Changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
ksim_kbot/deploy/deployment_logs/plot_logs.py Updated logging, added new fields and statistics, refactored file loading with argument support.
ksim_kbot/deploy/deployment_logs/plot_3d_imu.py New module for generating 3D visualization video of quaternion data with improved frame handling.
ksim_kbot/deploy/deploy_joystick_rnn.py Refactored to use Deploy base class and updated rollout dictionary with additional fields.
ksim_kbot/deploy/deploy_joystick.py Similar updates to rollout storage and episode length adjustments.
ksim_kbot/deploy/deploy.py Updated file saving logic to create a daily folder structure and removed the FixedArmDeploy subclass.
ksim_kbot/deploy/init.py Removed FixedArmDeploy from public API.
Files not reviewed (1)
  • ksim_kbot/requirements.txt: Language not supported

Comment on lines +34 to +37
print(f"Date folder not found: {date_str}")
return None

print(f"Found date folder: {date_str}")
Copy link

Copilot AI Apr 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider using logger.error instead of print for consistent error reporting.

Suggested change
print(f"Date folder not found: {date_str}")
return None
print(f"Found date folder: {date_str}")
logger.error(f"Date folder not found: {date_str}")
return None
logger.info(f"Found date folder: {date_str}")

Copilot uses AI. Check for mistakes.
@CLAassistant
Copy link

CLAassistant commented Apr 25, 2025

CLA assistant check
All committers have signed the CLA.

@jingxiangmo jingxiangmo merged commit 517eae9 into master Apr 25, 2025
1 of 2 checks passed
@jingxiangmo jingxiangmo deleted the improve_log branch April 25, 2025 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants