Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dual redundant fc #731

Closed
wants to merge 15 commits into from
Closed

Dual redundant fc #731

wants to merge 15 commits into from

Conversation

jlaitine
Copy link

@jlaitine jlaitine commented Aug 6, 2024

This adds basic mavlink communication between redundant FCs on a single drone

@jlaitine jlaitine force-pushed the dual_redundant_fc branch 4 times, most recently from 3707a2e to c10f53c Compare August 14, 2024 09:56
@jlaitine jlaitine force-pushed the dual_redundant_fc branch 10 times, most recently from aac3a53 to fd6e1ce Compare August 22, 2024 11:47
KonradRudin and others added 15 commits August 22, 2024 14:54
…rmed.lockdown flag in HIL, since this is always enabled for HIL.
In case there are several FCs (autopilots) on a single drone, they can update
the basic status to each other via mavlink heartbeat messages

Signed-off-by: Jukka Laitinen <[email protected]>
- Change drone's IP last byte to start at mav_id (1 in case of one FC)
- Use IP last byte 2 high bits to denote redundant autopilot within same drone

Signed-off-by: Jukka Laitinen <[email protected]>
Signed-off-by: Jukka Laitinen <[email protected]>
- Use PX4 default home location
- Set MULTI_IMU to 1
- Remove calibration IDs for HITL
- Disable PX4 IO

Signed-off-by: Jukka Laitinen <[email protected]>
The esc status information is read and published by the esc driver, which is in simulation
case the PWMSim module. Mavlink stream sending is a wrong place to do that.

Signed-off-by: Jukka Laitinen <[email protected]>
Signed-off-by: Jukka Laitinen <[email protected]>
…tup and clean up usage printouts

Signed-off-by: Jukka Laitinen <[email protected]>
…e need for PWMSim module.

Signed-off-by: Jukka Laitinen <[email protected]>
This is preparation for moving esc_status sending into gazebo mavlink plugin

Signed-off-by: Jukka Laitinen <[email protected]>
Signed-off-by: Jukka Laitinen <[email protected]>
@jlaitine jlaitine marked this pull request as draft October 29, 2024 13:23
@jlaitine jlaitine closed this Nov 5, 2024
@jlaitine jlaitine deleted the dual_redundant_fc branch November 5, 2024 09:14
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.

3 participants