-
- Downloads
[Topics] Added support for multiple target systems concurrently being used
Previously only one target system could be connected at a time, because no distinction was being made on the internal topics used in SkywardHub. Now the topics follows this pattern: `TargetName/In|Out/MessageName` - The `TargetName` identifies one of the possible target systems (e.g. `Main`, `Payload`, ...) - `In` or `Out` are used to specify the messages that are coming into the system or going to the target - `MessageName` is unchanged (e.g. `PAYLOAD_FLIGHT_TM`, ...) Previously the topics followed the pattern `Mav/MessageName`. Changes where made to CommandPad, CustomCommandPad, FilterSelector and BaseMavlinkModule to add a ComboBox for the target system and the required logic to make this feature work. This commit should address #9.
Showing
- src/shared/Components/FilterSelector/FilterSelector.cpp 42 additions, 12 deletionssrc/shared/Components/FilterSelector/FilterSelector.cpp
- src/shared/Components/FilterSelector/FilterSelector.h 3 additions, 2 deletionssrc/shared/Components/FilterSelector/FilterSelector.h
- src/shared/Components/SubscriptionsPanel/SubscriptionsPanel.cpp 0 additions, 1 deletion...ared/Components/SubscriptionsPanel/SubscriptionsPanel.cpp
- src/shared/Core/MessageBroker/MessageBroker.cpp 4 additions, 0 deletionssrc/shared/Core/MessageBroker/MessageBroker.cpp
- src/shared/Modules/CommandPad/CommandPad.cpp 21 additions, 2 deletionssrc/shared/Modules/CommandPad/CommandPad.cpp
- src/shared/Modules/CommandPad/CommandPad.h 1 addition, 0 deletionssrc/shared/Modules/CommandPad/CommandPad.h
- src/shared/Modules/CommandPad/MessageFormElement.cpp 4 additions, 3 deletionssrc/shared/Modules/CommandPad/MessageFormElement.cpp
- src/shared/Modules/CommandPad/MessageFormElement.h 1 addition, 1 deletionsrc/shared/Modules/CommandPad/MessageFormElement.h
- src/shared/Modules/CompactCommandPad/CommandSelector.cpp 26 additions, 5 deletionssrc/shared/Modules/CompactCommandPad/CommandSelector.cpp
- src/shared/Modules/CompactCommandPad/CommandSelector.h 1 addition, 0 deletionssrc/shared/Modules/CompactCommandPad/CommandSelector.h
- src/shared/Modules/Mavlink/BaseMavlinkModule.cpp 64 additions, 9 deletionssrc/shared/Modules/Mavlink/BaseMavlinkModule.cpp
- src/shared/Modules/Mavlink/BaseMavlinkModule.h 6 additions, 1 deletionsrc/shared/Modules/Mavlink/BaseMavlinkModule.h
- src/shared/Modules/Mavlink/MavlinkCodec.cpp 13 additions, 4 deletionssrc/shared/Modules/Mavlink/MavlinkCodec.cpp
Loading
Please register or sign in to comment