Draft: [Topics] Added support for multiple concurrent target systems
The idea is basically to follow the TargetName/In|Out/MessageName
pattern and you to have:
- Mavlink modules subscribing to
TargetName/Out
and publishing toTargetName/In
- Other widgets subscribing to
TargetName/In
and publishing toTargetName/Out
This way, you can connect as many receivers as you want and communicate with all of them selectively.
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
orOut
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.
Edited by Alberto Nidasio