Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import us.ihmc.log.LogTools;
import us.ihmc.mecano.multiBodySystem.interfaces.OneDoFJointBasics;
import us.ihmc.robotModels.FullHumanoidRobotModel;
import us.ihmc.robotModels.FullRobotModelUtils;
import us.ihmc.robotics.partNames.HandJointName;
import us.ihmc.robotics.robotSide.RobotSide;
import us.ihmc.robotics.robotSide.SideDependentList;
Expand Down Expand Up @@ -53,7 +52,7 @@ public CommunicationsSyncedRobotModel(DRCRobotModel robotModel,
this.handModels = handModels;
robotConfigurationData = new RobotConfigurationData();
referenceFrames = new HumanoidReferenceFrames(fullRobotModel, sensorInformation);
allJoints = FullRobotModelUtils.getAllJointsExcludingHands(fullRobotModel);
allJoints = fullRobotModel.getOneDoFJoints();

if (handModels != null)
HandModelUtils.getHandJoints(handModels, fullRobotModel, handJoints);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public void setSensorSource(SensorTimestampHolder sensorTimestampHolder,
*/
public void setDefinitionsToPublish(FullHumanoidRobotModel fullHumanoidRobotModel)
{
setDefinitionsToPublish(FullRobotModelUtils.getAllJointsExcludingHands(fullHumanoidRobotModel),
setDefinitionsToPublish(fullHumanoidRobotModel.getOneDoFJoints(),
fullHumanoidRobotModel.getForceSensorDefinitions(),
fullHumanoidRobotModel.getIMUDefinitions());
}
Expand Down
Loading