Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WholeBodyDynamicsDevice: Remove meaningless check that total number FTs in attached device match the total number of FTs consired by estimation #193

Merged
merged 1 commit into from
Jul 5, 2024
Merged
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
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;
}
S-Dafarra marked this conversation as resolved.
Show resolved Hide resolved

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