mirror of
https://github.com/BotChain-Robots/control.git
synced 2026-07-08 13:47:21 +02:00
Fix missing connection points with hubs
This commit is contained in:
@@ -79,7 +79,8 @@ std::vector<Flatbuffers::ModuleConnectionInstance> RobotController::getConnectio
|
||||
bool found_inverse = false;
|
||||
uint16_t orientation = conn.orientation;
|
||||
for (const auto &reverse_conn : m_connection_map.at(conn.to_module_id)) {
|
||||
if (reverse_conn.to_module_id == conn.from_module_id) {
|
||||
if (reverse_conn.to_module_id == conn.from_module_id &&
|
||||
reverse_conn.from_socket == conn.to_socket) {
|
||||
to_socket = reverse_conn.from_socket;
|
||||
found_inverse = true;
|
||||
if (reverse_conn.orientation != Orientation_Deg0) {
|
||||
|
||||
Reference in New Issue
Block a user