1
0
mirror of https://gitlab.com/obbart/universal_robots_ros_driver.git synced 2026-04-10 18:10:47 +02:00

Added testing for master board parsing and fixed unparsed fields

This commit is contained in:
Simon Rasmussen
2017-07-09 04:04:22 +02:00
parent 1e724dcd33
commit 8e8a0428b0
3 changed files with 141 additions and 0 deletions

View File

@@ -37,6 +37,8 @@ bool MasterBoardData_V1_X::parseWith(BinParser& bp)
if (!bp.checkSize(MasterBoardData_V1_X::EURO_SIZE))
return false;
bp.parse(euromap_input_bits);
bp.parse(euromap_output_bits);
bp.parse(euromap_voltage);
bp.parse(euromap_current);
}
@@ -63,6 +65,8 @@ bool MasterBoardData_V3_0__1::parseWith(BinParser& bp)
if (!bp.checkSize(MasterBoardData_V3_0__1::EURO_SIZE))
return false;
bp.parse(euromap_input_bits);
bp.parse(euromap_output_bits);
bp.parse(euromap_voltage);
bp.parse(euromap_current);
}