Refactor environment configuration and mujoco_server.py for improved Nova API integration
Georg
59beae4
- Removed the NOVA_USE_STATE_STREAM variable from .env.example as it is no longer needed for digital twin mode.
- Introduced a new .env.off.local file for comprehensive Nova API configuration, including instance URL, access token, and robot settings.
- Enhanced mujoco_server.py to support bidirectional control and state synchronization with the Nova API, allowing for real-time interaction while maintaining physics simulation.
- Updated UR5 environment to manage joint positions from Nova, ensuring accurate control and interaction with simulated objects.
Update environment configuration and mujoco_server.py for state streaming support
Georg
f6d1b5e
- Added NOVA_USE_STATE_STREAM variable to .env.example for enabling digital twin mode.
- Enhanced mujoco_server.py to conditionally enable state streaming based on the new environment variable, improving simulation flexibility.
- Updated UI elements to reflect connection status and ensure proper display of joint and end-effector positions, enhancing user experience.
Add environment configuration and Nova API integration support
Georg
dcf1b21
- Introduced .env.example and .env.local files for Nova API configuration, allowing users to set up their instance details easily.
- Enhanced mujoco_server.py to load environment variables for Nova API integration, enabling state streaming and inverse kinematics.
- Updated UR5 environment to conditionally handle gripper presence and control based on configuration.
- Added example scripts for discovering Nova API configuration and testing connections, improving user onboarding.
- Enhanced README.md to document the new Nova API integration features and setup instructions, including troubleshooting tips.