Skip to content

Commit b2b8af6

Browse files
authored
Fixing nubmodel calling in running controller (#983)
* Adding hasCycloidHands boolean getter * Adding hasCycloidHands boolean getter
1 parent 18eed05 commit b2b8af6

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

open-alexander/src/main/java/us/ihmc/openAlexander/AlexanderVersionInterface.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ public interface AlexanderVersionInterface extends RobotVersion
1818
AlexanderJointMap getJointMap();
1919

2020
boolean hasNubHands(RobotSide side);
21+
22+
boolean hasCycloidHands(RobotSide side);
2123

2224
AlexanderSensorInformation getSensorInformation();
2325

open-alexander/src/main/java/us/ihmc/openAlexander/OpenAlexanderVersion.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,18 @@ public boolean hasNubHands(RobotSide side)
164164
}
165165
}
166166

167+
@Override
168+
public boolean hasCycloidHands(RobotSide side)
169+
{
170+
switch (this)
171+
{
172+
case V1_FULL_ROBOT:
173+
return true;
174+
default:
175+
return false;
176+
}
177+
}
178+
167179
@Override
168180
public AlexanderSensorInformation getSensorInformation()
169181
{

0 commit comments

Comments
 (0)