Skip to content

Commit

Permalink
protoboard-rcll: remove loaded_with field from MachineInfo
Browse files Browse the repository at this point in the history
Only relevant for the RefBox
  • Loading branch information
vmatare committed Dec 9, 2019
1 parent 9b41c1d commit d5561a4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<field type="string" name="zone" length="32">Zone the machine is in</field>
<field type="uint32" name="rotation">Discretized rotation in degrees</field>
<field type="bool" name="correctly_reported">Whether it was correctly reported</field>
<field type="uint32" name="loaded_with">TODO: ??</field>
<field type="RingColor" name="ring_colors" length="2">Available ring colors</field>
</data>
</interface>
Expand Down
1 change: 0 additions & 1 deletion src/plugins/protoboard-rcll/rcll_receiving.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,6 @@ pb_converter<llsf_msgs::Machine, MachineInfoInterface>::handle(const llsf_msgs::
iface->set_state(msg.state().c_str());
iface->set_rotation(msg.rotation());
iface->set_team_color(mi_team_color_enum.of(msg.team_color()));
iface->set_loaded_with(msg.loaded_with());

if (msg.ring_colors_size() == 2) {
MachineInfoInterface::RingColor ring_colors[2]{machine_info_ring_color.of(msg.ring_colors(0)),
Expand Down

0 comments on commit d5561a4

Please sign in to comment.