Skip to content

Commit

Permalink
Merge pull request #193 from robotology/fixwbdwithlessfts
Browse files Browse the repository at this point in the history
WholeBodyDynamicsDevice: Remove meaningless check that total number FTs in attached device match the total number of FTs consired by estimation
  • Loading branch information
traversaro authored Jul 5, 2024
2 parents 10675f7 + 1fc1d54 commit 8db1926
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions devices/wholeBodyDynamics/WholeBodyDynamicsDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1822,18 +1822,6 @@ bool WholeBodyDynamicsDevice::attachAllFTs(const PolyDriverList& p)
return false;
}

if (nrMASFTSensors != remappedMASInterfaces.ftMultiSensors->getNrOfSixAxisForceTorqueSensors())
{
yError() << "WholeBodyDynamicsDevice::attachAll Invalid number of MAS FT sensors after remapper";
return false;
}

if (nrMASFTSensors != ftMultipleAnalogSensorNames.size())
{
yError() << "WholeBodyDynamicsDevice::attachAll Invalid number of MAS FT sensor names";
return false;
}

ftMultipleAnalogSensorIdxMapping.resize(ftMultipleAnalogSensorNames.size());
for (auto ftDx = 0; ftDx < nrMASFTSensors; ftDx++)
{
Expand Down

0 comments on commit 8db1926

Please sign in to comment.