This project is a Vue-based web application designed for configuring EtherCAT modules and generating their corresponding configuration files (YAML).
- Module Management: Add and manage multiple EtherCAT slave modules by Serial Number (SN).
- Task Assignment: Assign various hardware tasks to each module, including:
- Remote Controllers: DJI RC, SBUS RC.
- Sensors: HIPNUC IMU (CAN).
- Actuators: DJI Motors, DM Motors, LkTech Motors, DSHOT600, OnBoard PWM.
- Task Configuration: Modify the configuration items of each task.
- ROS2 Integration: Customize publisher and subscriber topic names for seamless communication with ROS2.
- Message Schema Visualization: View the ROS2 message structure directly within the task configuration.
- Automatic YAML Generation: Generates a complete
config.yamlfile that can be used by the EcatV2_Master.
src/pages/: Contains the main application views (module_settings.vuefor configuration andcode_generator.vuefor file generation).src/components/: Reusable UI components.src/components/message_types/: Vue templates representing ROS2 message definitions.src/utils/generate-module-def.js: The core logic that calculates memory offsets (PDO/SDO) and formats the YAML output.
- Node.js
- npm or yarn
- Clone the repository.
- Install dependencies:
npm installRun the application locally:
npm run servePlease refer to here.