-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
ACRO mode #634
Closed
ACRO mode #634
Changes from 8 commits
Commits
Show all changes
150 commits
Select commit
Hold shift + click to select a range
7f4f9a5
ACRO mode implemented
DrTon 3651552
Merge branch 'beta' into acro2
DrTon 2923bdf
commander: allow disarming in ACRO without landing (as in MANUAL)
DrTon 77c6231
Merge branch 'beta' into acro2
DrTon c3e803c
Merge branch 'beta' into acro2
DrTon dfd4dc3
Merge branch 'beta' into acro2
DrTon 2130087
mc_att_control: reset yaw setpoint after ACRO
DrTon b54b0ef
Merge branch 'beta' into acro2
DrTon 6e7136c
rc_channels topic: bug fixed; sensors: minor cleanup
DrTon 3b2b270
mavlink: custom mode ACRO added
DrTon e0fbb0f
Merge remote-tracking branch 'px4/beta' into acro2
julianoes b165e6b
Merge branch 'master' into acro2
DrTon edd16af
Add filter parameters and multicopter defaults to parametrize Pauls e…
LorenzMeier 7b61c92
Renamed FW filter to EKF to express its generic properties, switched …
LorenzMeier dca1e7f
Decomission unmaintained position estimator
LorenzMeier ce56d75
Updated filter to most recent version with accel scale estimation, ex…
LorenzMeier 479fddf
Merge branch 'master' of github.com:PX4/Firmware into ekf_params
LorenzMeier fd34a84
Merge branch 'master' of github.com:PX4/Firmware into ekf_params
LorenzMeier 46a796f
Added home position switch on GPS position - gives a more reliable ho…
LorenzMeier 7cad27a
Changed home position set to depend on the commander home position sw…
LorenzMeier 9c5dbee
Proper zero init of the filter
LorenzMeier b37d0f8
Safety checks, prepared to use GPS variance
LorenzMeier 200bd8e
Merge branch 'ekf_params' of github.com:PX4/Firmware into ekf_params
LorenzMeier 906abbc
mavlink: Only write to TX buf if space is available. This is working …
LorenzMeier 9cc2847
Merge branch 'usb_buf_hotfix' into ekf_params
LorenzMeier 609d266
Merge branch 'sensor_err_handling' into ekf_params
LorenzMeier 1e202a2
Updated estimator, not using optical flow for now until proven on the…
LorenzMeier 14fb653
ekf_att_pos_estimator: Using right app name
LorenzMeier c085447
att_pos_estimator_ekf: Update filter to new filter API
LorenzMeier aa3aafb
Added debug macro for EKF. Fixed mag state handling which was only pa…
LorenzMeier 595eb67
ekf_att_pos_estimator: Fixed mag initialization, now starts with init…
LorenzMeier 0a89364
Merge branch 'ArmDisarm' of github.com:DonLakeFlyer/Firmware into ekf…
LorenzMeier 8ae50a4
Changed home position set to depend on the commander home position sw…
LorenzMeier 37b133e
Added home position switch on GPS position - gives a more reliable ho…
LorenzMeier 706d080
Better / cleaner initialization of the attitude estimator
LorenzMeier db15e28
commander: Fix altitude initialisation, do not depend on global pos v…
LorenzMeier 42e9c84
Merge branch 'master' of github.com:PX4/Firmware into ekf_params
LorenzMeier 3a4874b
Merge branch 'sensors_loop' of github.com:PX4/Firmware into ekf_params
LorenzMeier 119dfc4
Merged home_fix
LorenzMeier 904ada1
ekf: Put reset statements after variable zero operation to ensure val…
LorenzMeier 39a0d4e
Better error handling / reporting in filter
LorenzMeier 125f0b2
Added trap to filter to catch NaN handling
LorenzMeier 5b72096
Revert "HIL: Increased MAVLink link wait time based on previous exper…
LorenzMeier af56e65
Merge branch 'master' into ekf_params
LorenzMeier 2ecaab9
Merge branch 'master' of github.com:PX4/Firmware into ekf_params
LorenzMeier bd63769
Removed verbose print
LorenzMeier 1e80e62
ekf: Better variable zeroing
LorenzMeier 4585df1
Robustified filter init / sequencing
LorenzMeier a30411e
Fixed printing in attitude control
LorenzMeier 22d3bcd
Merged mpc_rc into ekf_params
LorenzMeier d4785d4
Use INAV as default to not break existing setups
LorenzMeier ad1be76
Fix warnings, use more efficient atan2f where it can be safely used
LorenzMeier 5ad3ff9
Merged master into ekf_params
LorenzMeier 9358eb2
Fixed string formatting error
LorenzMeier 0d50b3e
Fix struct inits
LorenzMeier 2d978be
Compile fixes
LorenzMeier 18a932f
Better fake / simulation values
LorenzMeier 6612cda
Let commander be less pedantic about positioning data
LorenzMeier 9254307
Reworked how we deal with altitudes
LorenzMeier 6ab878c
Emit the local position against the GPS reference - this means it can…
LorenzMeier f7065dc
Merged master into ekf_params
LorenzMeier 0745334
Reset init flags as well
LorenzMeier df8fb7d
Merge branch 'ekf_params' of github.com:PX4/Firmware into ekf_params
LorenzMeier 2c37ec1
Merge branch 'autodeclination' into ekf_params
LorenzMeier 90569d2
Added support for automatic mag declination setup
LorenzMeier f78005b
Merge branch 'master' of github.com:PX4/Firmware into ekf_params
LorenzMeier 11a1053
ekf_att_pos_estimator: local position reference fixed
DrTon 86d9fb5
Merge branch 'autodeclination' into ekf_params
LorenzMeier 7c88fbf
Merge branch 'ekf_params' of github.com:PX4/Firmware into ekf_params
LorenzMeier 848c1c2
ekf: More complete re-initialization
LorenzMeier 81525f6
Merge branch 'master' of github.com:PX4/Firmware into ekf_params
LorenzMeier d54f997
Fixed typos in declination table lookup
LorenzMeier e2af771
ekf: Cleanup init
LorenzMeier be1f39e
ekf Print declination on init
LorenzMeier c1b02ae
Merge branch 'autodeclination' into ekf_params
LorenzMeier 918c879
Merge branch 'master' of github.com:PX4/Firmware into ekf_params
LorenzMeier 7a4049b
Fix use of declination in estimator, remove bogus measurement value r…
LorenzMeier 6cb96d0
EKF: Introduce proper check flags for sensor init states
LorenzMeier 319ce3d
Minor cleanups in EKF estimator
LorenzMeier 6a6feaf
Merged master
LorenzMeier 21edf72
Do not send a critical message when switching to dynamic state
LorenzMeier 2393715
Fixed re-initialization of estimator, re-initializes in air now relia…
LorenzMeier 3e3a64f
Merge branch 'master' of github.com:PX4/Firmware into ekf_params
LorenzMeier da67b2b
Disable time compensation for further testing
LorenzMeier dc19f16
Merge branch 'master' of github.com:PX4/Firmware into ekf_params
LorenzMeier e098591
Addressed linter concerns
LorenzMeier 5f392c8
More debug in filter
LorenzMeier d3a9aae
Merge branch 'master' of github.com:PX4/Firmware into ekf_params
LorenzMeier 7ec8fe8
Experimental init delay
LorenzMeier 5581802
ekf: Move dt inside class
LorenzMeier eeba000
stupid fix
LorenzMeier 077de5e
Clean implementation of filter startup delay implementation
LorenzMeier 1b3007a
Re-enabled time compensation
LorenzMeier f975f98
ekf: less console spam
LorenzMeier 6906dc4
Minor improvements to estimator
LorenzMeier b8aae38
Merge branch 'ekf_params' of github.com:PX4/Firmware into ekf_params
LorenzMeier ec409a1
EKF / Paul Riseborough: Added guards for mag and airspeed innovations
LorenzMeier c04064f
sdlog2: Log minimalistic GPS SNR for first 16 satellites
LorenzMeier c9162f4
sdlog2: Remove an unreachable comparison
LorenzMeier e5508a1
Add Gumstix AeroCore device
ashcharles 3b72e31
[l3gd20] Add support for L3G4200D chip
ashcharles 9db966e
[gps] Conditionally set default GPS port
ashcharles 7d0850a
[l3gd20] Style fixes for l3g4200d integration
ashcharles 2d29c5b
[aerocore] Remove commented code for GPIO2
ashcharles b60964e
Multirotor mixer: more careful limiting
DrTon ae1faa6
MC mixer input limiting implemented.
DrTon 42a7d80
mc_att_control: limit max yaw setpoint offset
DrTon cbc559b
[l3gd20] Make gyro orientation board-overridable
ashcharles 8e43db7
mc_att_control: yaw offset limiting bug fixed
DrTon 7ef3c24
Merge branch 'master' into yaw_offset_limit
DrTon 899998e
px4io driver: Use modern-days syntax to start task
LorenzMeier 97e6090
Merge pull request #937 from gumstix/aerocore
LorenzMeier ba51ab2
Merge branch 'ekf_params' of github.com:PX4/Firmware
LorenzMeier b9b84b0
Multirotor mixer: limit yaw first, then roll/pitch
DrTon a4c4080
Fixed alt ref init
LorenzMeier bc3ca8d
Multirotor mixer: yaw limiting bug fixed
DrTon c72ec3f
Merge pull request #958 from PX4/yaw_offset_limit
LorenzMeier 8d1df9b
Merge branch 'master' into mc_mixer_fix
DrTon 19ebe07
Fix aerocore config
LorenzMeier 8662a06
Merge branch 'master' of github.com:PX4/Firmware into gps_logging
LorenzMeier d9a7e52
Multirotor mixer: idle_speed (aka deadband) fixed
DrTon ac4b68e
Merge pull request #936 from PX4/gps_logging
LorenzMeier f892a72
Merge pull request #956 from PX4/task_spawn_cmd_io
LorenzMeier b903fc1
px4io: Improve the documentation of the protocol header, NO FUNCTIONA…
LorenzMeier 4fe0027
px4io driver: Only try to upload if we have a non-zero failsafe throt…
LorenzMeier 5ca9663
px4io firmware: Actually accept failsafe values, check their range. A…
LorenzMeier 1b49100
Minor cleanups on handling, make wrong reg accesses non-fatal for the…
LorenzMeier f66cd1a
frsky telem: reduce stack, fix missing header
LorenzMeier 842819a
Use smaller logging buffer
LorenzMeier 0a6861e
FMUv1: Reduce user main stack slightly, still 2.5K buffer between act…
LorenzMeier 8630d82
gps driver: Use correct spawn command, use a smaller start tool size
LorenzMeier 9d2bfb5
flow example: Use smaller stack and correct start logic
LorenzMeier cccd3e1
mavlink app: Reduce stack sizes minimally after further inspection
LorenzMeier 834a230
inav: Reduce stack size of start tool
LorenzMeier 30123c8
inav: Fix scheduling type, we want ALL processes to stick to DEFAULT
LorenzMeier ea99fd8
nshterm: Reduce stack size further after more thorough inspection
LorenzMeier a63fc9b
Merge pull request #964 from PX4/px4io_fixes
LorenzMeier a72015c
Merge pull request #965 from PX4/stack_fixes
LorenzMeier 68b1cde
Merge branch 'master' into mc_mixer_fix
DrTon f52edc4
ekf_att_pos_estimator: fixed files names and perf counters names
DrTon 98fcec2
ekf_att_pos_estimator: module.mk fixed
DrTon 1d6bd3b
Merge pull request #971 from PX4/ekf_cleanup
LorenzMeier 32ae2dd
commander: missed 'break' in 'switch' added
DrTon 98f05ea
Merge pull request #942 from PX4/mc_mixer_fix
LorenzMeier ce62f07
Fix EPH / EPV conversion for MediaTek units
LorenzMeier f063054
MTK: Bail out correctly
LorenzMeier b250e28
Merge pull request #978 from PX4/mtk_fix
thomasgubler b129285
Merge branch 'master' into acro2
DrTon d8ef397
mc_att_control: reset yaw setpoint after ACRO
DrTon 559bfbb
commander: allow disarm in ACRO mode
DrTon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,11 +68,12 @@ enum RC_CHANNELS_FUNCTION | |
ASSISTED = 6, | ||
MISSION = 7, | ||
OFFBOARD_MODE = 8, | ||
FLAPS = 9, | ||
AUX_1 = 10, | ||
AUX_2 = 11, | ||
AUX_3 = 12, | ||
AUX_4 = 13, | ||
ACRO = 9, | ||
FLAPS = 10, | ||
AUX_1 = 11, | ||
AUX_2 = 12, | ||
AUX_3 = 13, | ||
AUX_4 = 14, | ||
AUX_5 = 14, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
RC_CHANNELS_FUNCTION_MAX /**< indicates the number of functions. There can be more functions than RC channels. */ | ||
}; | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be