Skip to content

driver: Allow user to specify the source system, rather than assume a default value#94

Open
joshanne wants to merge 1 commit intodronecan:masterfrom
joshanne:pr/allow-specifying-source-system
Open

driver: Allow user to specify the source system, rather than assume a default value#94
joshanne wants to merge 1 commit intodronecan:masterfrom
joshanne:pr/allow-specifying-source-system

Conversation

@joshanne
Copy link
Copy Markdown
Collaborator

@joshanne joshanne commented Jan 13, 2026

This one has bitten me a few times on systems that have SYSID_MY_GCS (or the new MAV_GCS_SYSID and MAV_GCS_SYSID_HI) parameters configured with enforcement of the ground station in control (ie. SYSID_ENFORCE or MAV_OPTIONS bit#0).

This is the pydronecan changes that allow the front-end to configure the source_system as required.

Required by: dronecan/gui_tool#108

… default value

This one has bitten me a few times on systems that have SYSID_MY_GCS (or the new MAV_GCS_SYSID and MAV_GCS_SYSID_HI) parameters configured with enforcement of the ground station in control (ie. SYSID_ENFORCE or MAV_OPTIONS bit#0).

This is the pydronecan changes that allow the front-end to configure the source_system as required
Comment thread dronecan/driver/mavcan.py
self.data = data

def io_process(url, bus, target_system, baudrate, tx_queue, rx_queue, exit_queue, parent_pid):
def io_process(url, bus, source_system, target_system, baudrate, tx_queue, rx_queue, exit_queue, parent_pid):
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps this is more correct to append the source system at the end of the argument list for compatibility?

@joshanne joshanne requested a review from tridge March 27, 2026 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant