Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
Baitboat
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
Baitboat
Commits
65adb78f
Commit
65adb78f
authored
11 years ago
by
Randy Mackay
Browse files
Options
Downloads
Patches
Plain Diff
Copter: increase default battery capacity to 3500mAh
parent
0fa8e443
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ArduCopter/Parameters.pde
+1
-1
1 addition, 1 deletion
ArduCopter/Parameters.pde
ArduCopter/config.h
+2
-2
2 additions, 2 deletions
ArduCopter/config.h
with
3 additions
and
3 deletions
ArduCopter/Parameters.pde
+
1
−
1
View file @
65adb78f
...
@@ -147,7 +147,7 @@ const AP_Param::Info var_info[] PROGMEM = {
...
@@ -147,7 +147,7 @@ const AP_Param::Info var_info[] PROGMEM = {
// @Description: Battery capacity in milliamp-hours (mAh)
// @Description: Battery capacity in milliamp-hours (mAh)
// @Units: mAh
// @Units: mAh
// @User: Standard
// @User: Standard
GSCALAR
(
pack_capacity
,
"BATT_CAPACITY"
,
HIGH_DISCHARGE
),
GSCALAR
(
pack_capacity
,
"BATT_CAPACITY"
,
BATTERY_CAPACITY_DEFAULT
),
// @Param: MAG_ENABLE
// @Param: MAG_ENABLE
// @DisplayName: Enable Compass
// @DisplayName: Enable Compass
...
...
This diff is collapsed.
Click to expand it.
ArduCopter/config.h
+
2
−
2
View file @
65adb78f
...
@@ -370,8 +370,8 @@
...
@@ -370,8 +370,8 @@
#ifndef CURR_AMPS_OFFSET
#ifndef CURR_AMPS_OFFSET
# define CURR_AMPS_OFFSET 0.0f
# define CURR_AMPS_OFFSET 0.0f
#endif
#endif
#ifndef
HIGH_DISCHARGE
#ifndef
BATTERY_CAPACITY_DEFAULT
# define
HIGH_DISCHARGE 176
0
# define
BATTERY_CAPACITY_DEFAULT 350
0
#endif
#endif
#ifndef BOARD_VOLTAGE_MIN
#ifndef BOARD_VOLTAGE_MIN
...
...
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