update movement set

This commit is contained in:
superkor
2026-01-27 22:17:44 -05:00
parent 1576c73f3a
commit 497f022548
9 changed files with 278 additions and 92 deletions

View File

@@ -30,21 +30,7 @@ namespace Flatbuffers{
return { builder_.GetBufferPointer(), builder_.GetSize() };
}
flatbuffers::Offset<Topology::NeighbourBlob> TopologyBuilder::build_neighbour_info(
uint16_t board_id,
const std::vector<Topology::ChannelBoardConn>& connections
) {
auto conn_vec = builder_.CreateVectorOfStructs(connections);
return Topology::CreateNeighbourBlob(
builder_,
board_id,
static_cast<uint8_t>(connections.size()),
conn_vec
);
}
Topology::ChannelBoardConn TopologyBuilder::build_connections(uint8_t channel, uint16_t board_id){
return Topology::ChannelBoardConn(channel, board_id);
}