diff options
author | David Crocker <dcrocker@eschertech.com> | 2020-05-12 18:46:41 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2020-05-12 18:46:41 +0300 |
commit | 05c4116dae852c2c08cf5256276488c084ade4d1 (patch) | |
tree | 601d4900456bce435a4ec843f3feae6c92cf405f /src/Movement/Kinematics/FiveBarScaraKinematics.cpp | |
parent | afce5eb1226da3335ce0462e259e673c261a486f (diff) |
Pick up inherited object model properties automatically
Diffstat (limited to 'src/Movement/Kinematics/FiveBarScaraKinematics.cpp')
-rw-r--r-- | src/Movement/Kinematics/FiveBarScaraKinematics.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Movement/Kinematics/FiveBarScaraKinematics.cpp b/src/Movement/Kinematics/FiveBarScaraKinematics.cpp index 1a3ce2d8..cde14a5a 100644 --- a/src/Movement/Kinematics/FiveBarScaraKinematics.cpp +++ b/src/Movement/Kinematics/FiveBarScaraKinematics.cpp @@ -31,12 +31,11 @@ constexpr ObjectModelTableEntry FiveBarScaraKinematics::objectModelTable[] = { // Within each group, these entries must be in alphabetical order // 0. kinematics members - { "base", OBJECT_MODEL_FUNC(self, 0x80), ObjectModelEntryFlags::none }, { "name", OBJECT_MODEL_FUNC(self->GetName(true)), ObjectModelEntryFlags::none }, //TODO lots more to be added here }; -constexpr uint8_t FiveBarScaraKinematics::objectModelTableDescriptor[] = { 1, 2 }; +constexpr uint8_t FiveBarScaraKinematics::objectModelTableDescriptor[] = { 1, 1 }; DEFINE_GET_OBJECT_MODEL_TABLE_WITH_PARENT(FiveBarScaraKinematics, ZLeadscrewKinematics) |