Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
Ardupilot
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenSource
Ardupilot
Commits
8c607d93
Commit
8c607d93
authored
13 years ago
by
Adam M Rivera
Browse files
Options
Downloads
Patches
Plain Diff
Parameters.pde: Added new comment structure to a few parameters for testing.
parent
c1fd3218
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ArduCopter/Parameters.pde
+37
-3
37 additions, 3 deletions
ArduCopter/Parameters.pde
with
37 additions
and
3 deletions
ArduCopter/Parameters.pde
+
37
−
3
View file @
8c607d93
...
@@ -20,8 +20,19 @@ static const AP_Param::Info var_info[] PROGMEM = {
...
@@ -20,8 +20,19 @@ static const AP_Param::Info var_info[] PROGMEM = {
GSCALAR
(
sysid_this_mav
,
"SYSID_THISMAV"
),
GSCALAR
(
sysid_this_mav
,
"SYSID_THISMAV"
),
GSCALAR
(
sysid_my_gcs
,
"SYSID_MYGCS"
),
GSCALAR
(
sysid_my_gcs
,
"SYSID_MYGCS"
),
GSCALAR
(
serial3_baud
,
"SERIAL3_BAUD"
),
GSCALAR
(
serial3_baud
,
"SERIAL3_BAUD"
),
// @Param
// @DisplayName: Alt Hold RTL
// @Description: This is the altitude the model will move to before Returning to Launch
// @Units: Meters
// @Range: 0 400
GSCALAR
(
RTL_altitude
,
"ALT_HOLD_RTL"
),
GSCALAR
(
RTL_altitude
,
"ALT_HOLD_RTL"
),
// @Param
// @DisplayName: Enable Sonar
// @Description: Setting this to true (1) will enable the sonar. Setting this to false(0) will disable the sonar
GSCALAR
(
sonar_enabled
,
"SONAR_ENABLE"
),
GSCALAR
(
sonar_enabled
,
"SONAR_ENABLE"
),
GSCALAR
(
sonar_type
,
"SONAR_TYPE"
),
GSCALAR
(
sonar_type
,
"SONAR_TYPE"
),
GSCALAR
(
battery_monitoring
,
"BATT_MONITOR"
),
GSCALAR
(
battery_monitoring
,
"BATT_MONITOR"
),
GSCALAR
(
volt_div_ratio
,
"VOLT_DIVIDER"
),
GSCALAR
(
volt_div_ratio
,
"VOLT_DIVIDER"
),
...
@@ -32,10 +43,23 @@ static const AP_Param::Info var_info[] PROGMEM = {
...
@@ -32,10 +43,23 @@ static const AP_Param::Info var_info[] PROGMEM = {
GSCALAR
(
optflow_enabled
,
"FLOW_ENABLE"
),
GSCALAR
(
optflow_enabled
,
"FLOW_ENABLE"
),
GSCALAR
(
low_voltage
,
"LOW_VOLT"
),
GSCALAR
(
low_voltage
,
"LOW_VOLT"
),
GSCALAR
(
super_simple
,
"SUPER_SIMPLE"
),
GSCALAR
(
super_simple
,
"SUPER_SIMPLE"
),
// @Param
// @DisplayName: RTL Land
// @Description: Setting this to true (1) will enable landing after RTL. Setting this to false(0) will disable landing after RTL.
GSCALAR
(
rtl_land_enabled
,
"RTL_LAND"
),
GSCALAR
(
rtl_land_enabled
,
"RTL_LAND"
),
// @Param
// @DisplayName: Alt Hold RTL
// @Description: This is the altitude the model will move to before Returning to Launch
// @Units: Meters
// @Range: 1 10
GSCALAR
(
rtl_approach_alt
,
"APPROACH_ALT"
),
GSCALAR
(
rtl_approach_alt
,
"APPROACH_ALT"
),
GSCALAR
(
retro_loiter
,
"RETRO_LOITER"
),
// @Param
// @DisplayName: Retro Loiter
// @Description: Setting this to true (1) will enable the Loiter from 2.0.49. Setting this to false(0) will use the most recent Loiter routines.
GSCALAR
(
retro_loiter
,
"RETRO_LOITER"
),
GSCALAR
(
waypoint_mode
,
"WP_MODE"
),
GSCALAR
(
waypoint_mode
,
"WP_MODE"
),
GSCALAR
(
command_total
,
"WP_TOTAL"
),
GSCALAR
(
command_total
,
"WP_TOTAL"
),
...
@@ -91,8 +115,12 @@ static const AP_Param::Info var_info[] PROGMEM = {
...
@@ -91,8 +115,12 @@ static const AP_Param::Info var_info[] PROGMEM = {
GGROUP
(
rc_8
,
"RC8_"
,
RC_Channel
),
GGROUP
(
rc_8
,
"RC8_"
,
RC_Channel
),
GGROUP
(
rc_camera_pitch
,
"CAM_P_"
,
RC_Channel
),
GGROUP
(
rc_camera_pitch
,
"CAM_P_"
,
RC_Channel
),
GGROUP
(
rc_camera_roll
,
"CAM_R_"
,
RC_Channel
),
GGROUP
(
rc_camera_roll
,
"CAM_R_"
,
RC_Channel
),
// speed of fast RC channels in Hz
// @Param
// @DisplayName: ESC Update Speed
// @Description: This is the speed in Hertz that your ESCs will receive updates
// @Units: Hertz (Hz)
// @Values: 400,490
GSCALAR
(
rc_speed
,
"RC_SPEED"
),
GSCALAR
(
rc_speed
,
"RC_SPEED"
),
// variable
// variable
...
@@ -100,7 +128,13 @@ static const AP_Param::Info var_info[] PROGMEM = {
...
@@ -100,7 +128,13 @@ static const AP_Param::Info var_info[] PROGMEM = {
GSCALAR
(
camera_pitch_gain
,
"CAM_P_G"
),
GSCALAR
(
camera_pitch_gain
,
"CAM_P_G"
),
GSCALAR
(
camera_roll_gain
,
"CAM_R_G"
),
GSCALAR
(
camera_roll_gain
,
"CAM_R_G"
),
GSCALAR
(
stabilize_d
,
"STAB_D"
),
GSCALAR
(
stabilize_d
,
"STAB_D"
),
// @Param
// @DisplayName: Stabilize D Schedule
// @Description: This value is a percentage of scheduling applied to the Stabilize D term.
// @Range: 0 1
GSCALAR
(
stabilize_d_schedule
,
"STAB_D_S"
),
GSCALAR
(
stabilize_d_schedule
,
"STAB_D_S"
),
GSCALAR
(
acro_p
,
"ACRO_P"
),
GSCALAR
(
acro_p
,
"ACRO_P"
),
GSCALAR
(
axis_lock_p
,
"AXIS_P"
),
GSCALAR
(
axis_lock_p
,
"AXIS_P"
),
GSCALAR
(
axis_enabled
,
"AXIS_ENABLE"
),
GSCALAR
(
axis_enabled
,
"AXIS_ENABLE"
),
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment