ami-iit / bipedal-locomotion-framework

Suite of libraries for achieving bipedal locomotion on humanoid robots
https://ami-iit.github.io/bipedal-locomotion-framework/
BSD 3-Clause "New" or "Revised" License
136 stars 36 forks source link

YARPRobotLoggerDevice: Do not try to populate FTs:: channels if m_streamFTSensors is false #804

Open traversaro opened 5 months ago

traversaro commented 5 months ago

In YARPRobotLoggerDevice, the FTs:: channels are not created if m_streamFTSensors is false, see https://github.com/ami-iit/bipedal-locomotion-framework/blob/v0.18.0/devices/YarpRobotLoggerDevice/src/YarpRobotLoggerDevice.cpp#L671C9-L680 . So we should not try to populate them if m_streamFTSensors is false, see https://github.com/ami-iit/bipedal-locomotion-framework/blob/v0.18.0/devices/YarpRobotLoggerDevice/src/YarpRobotLoggerDevice.cpp#L1315-L1321 .

fyi @giotherobot