refactor: Reflect hardware divergence by splutting shared code for ARMAR-DE and ARMAR-7
This change is to not make it look like the code of shape controllers is still shared between ARMAR-DE and ARMAR-7. The firmware diverged when it was decided to introduce magic numbers as PWM control targets to trigger certain control commands (instead of a dedicated boolean via PDO etc.) due to time constraints. If the PDO is updated in the near future to model these control commands as booleans or enums or similar via PDOs, then the code can be merged again. The shape controller is a very high-level piece of software, and there is no reason to split the code other than the above-mentioned hardware-hack.
parent
7ca51527
No related tags found
Showing
- source/devices/ethercat/hand/armar7/Device.cpp 1 addition, 1 deletionsource/devices/ethercat/hand/armar7/Device.cpp
- source/devices/ethercat/hand/armar7/njoint_controller/Shape.cpp 1 addition, 2 deletions.../devices/ethercat/hand/armar7/njoint_controller/Shape.cpp
- source/devices/ethercat/hand/armar7/njoint_controller/Shape.h 3 additions, 1 deletion...ce/devices/ethercat/hand/armar7/njoint_controller/Shape.h
- source/devices/ethercat/hand/armar7de/CMakeLists.txt 0 additions, 2 deletionssource/devices/ethercat/hand/armar7de/CMakeLists.txt
- source/devices/ethercat/hand/armar7de/constants.h 0 additions, 2 deletionssource/devices/ethercat/hand/armar7de/constants.h
- source/devices/ethercat/hand/armarde/CMakeLists.txt 2 additions, 0 deletionssource/devices/ethercat/hand/armarde/CMakeLists.txt
- source/devices/ethercat/hand/armarde/Device.cpp 5 additions, 5 deletionssource/devices/ethercat/hand/armarde/Device.cpp
- source/devices/ethercat/hand/armarde/njoint_controller/Shape.cpp 64 additions, 81 deletions...devices/ethercat/hand/armarde/njoint_controller/Shape.cpp
- source/devices/ethercat/hand/armarde/njoint_controller/Shape.h 21 additions, 21 deletions...e/devices/ethercat/hand/armarde/njoint_controller/Shape.h
Loading
Please register or sign in to comment