Skip to content

Tobi @home#2

Open
TobiasToews wants to merge 26 commits into
mainfrom
tobi_@home
Open

Tobi @home#2
TobiasToews wants to merge 26 commits into
mainfrom
tobi_@home

Conversation

@TobiasToews

Copy link
Copy Markdown
Collaborator

Cleaned version, please merge

Copilot AI review requested due to automatic review settings February 2, 2026 18:53
@TobiasToews TobiasToews self-assigned this Feb 2, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This pull request ("Tobi @home") represents a significant cleanup and refactoring of the AiNEX robot's upper body imitation control system. The changes include removal of backup/deprecated files, improved documentation, refactored motion retargeting logic, and enhanced environment configuration for the launch system.

Changes:

  • Removed backup and deprecated files (spline_trajectory, rotation scripts, old control nodes, hand controller templates)
  • Enhanced launch configuration with LD_LIBRARY_PATH support for cmeel libraries
  • Refactored human-to-robot motion retargeting with improved inverse kinematics calculations and safety checks
  • Added comprehensive module-level documentation to core controller files
  • Introduced shell scripts for convenient launch workflows
  • Updated robot interface with better joint subset handling and timing instrumentation

Reviewed changes

Copilot reviewed 18 out of 19 changed files in this pull request and generated 12 comments.

Show a summary per file
File Description
src/bringup/launch/upper_body_imitation.launch.py Added LD_LIBRARY_PATH configuration for cmeel library support and improved path handling
src/ainex_controller/ainex_controller/spline_trajectory.py Removed unused trajectory planning module
src/ainex_controller/ainex_controller/rotation_right.py Removed symbolic IK computation script
src/ainex_controller/ainex_controller/rotation_left.py Removed symbolic IK computation script
src/ainex_controller/ainex_controller/nmpc_controller.py Added comprehensive module documentation and improved code comments
src/ainex_controller/ainex_controller/human_to_ainex_basis_backup.py Removed backup file
src/ainex_controller/ainex_controller/human_to_ainex_basis.py Major refactoring with unified angle calculation, zero-division safety checks, and improved documentation
src/ainex_controller/ainex_controller/ainex_robot_pose_imitation.py Enhanced with subset conversion methods, comprehensive docstrings, and timing instrumentation
src/ainex_controller/ainex_controller/ainex_robot.py Removed deprecated robot interface implementation
src/ainex_controller/ainex_controller/ainex_model.py Added detailed docstrings and removed unused TF broadcasting code
src/ainex_controller/ainex_controller/ainex_imitation_control_node_3D_backup.py Removed 3D backup implementation
src/ainex_controller/ainex_controller/ainex_imitation_control_node_2D_backup.py Removed 2D backup implementation
src/ainex_controller/ainex_controller/ainex_imitation_control_node.py Major refactoring with performance monitoring, exception handling, and cleaner parameter management
src/ainex_controller/ainex_controller/ainex_hands_control_node.py Removed deprecated hand control node
src/ainex_controller/ainex_controller/ainex_hand_controller.py Removed template hand controller implementation
imitation_short.sh Added convenience script for quick launch
imitation.sh Added comprehensive launch script with multiple terminal windows

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/ainex_controller/ainex_controller/human_to_ainex_basis.py Outdated
Comment thread src/ainex_controller/ainex_controller/ainex_robot_pose_imitation.py Outdated
Repository owner deleted a comment from Copilot AI Feb 2, 2026
Repository owner deleted a comment from Copilot AI Feb 2, 2026
…on.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Repository owner deleted a comment from Copilot AI Feb 2, 2026
Repository owner deleted a comment from Copilot AI Feb 2, 2026
corrected error in human to ainex, where we didnt return "sho_elbow_vert" instead of "sho_roll"

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Repository owner deleted a comment from Copilot AI Feb 2, 2026
Repository owner deleted a comment from Copilot AI Feb 2, 2026
Repository owner deleted a comment from Copilot AI Feb 2, 2026
Repository owner deleted a comment from Copilot AI Feb 2, 2026
Repository owner deleted a comment from Copilot AI Feb 2, 2026
Repository owner deleted a comment from Copilot AI Feb 2, 2026
@TobiasToews

Copy link
Copy Markdown
Collaborator Author

@copilot open a new pull request to apply changes based on the comments in this thread

Copilot AI commented Feb 2, 2026

Copy link
Copy Markdown

@TobiasToews I've opened a new pull request, #3, to work on those changes. Once the pull request is ready, I'll request review from you.

[WIP] Refactor AiNEX robot upper body control system
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.

4 participants