-
Notifications
You must be signed in to change notification settings - Fork 61
Esc followup #1510
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
Merged
Merged
Esc followup #1510
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
415764c
fix(vehicle components): break a circular dependency
amilcarlucas 139e296
chore(vehicle templates): Added ESC-> FC Telemetry and improved consi…
amilcarlucas a99c518
docs(component_editor): Auto-update vehicle components translatable s…
amilcarlucas d7ab5ac
ci(translations): Improve the automated commit message
amilcarlucas 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
2 changes: 1 addition & 1 deletion
2
ardupilot_methodic_configurator/vehicle_templates/ArduCopter/Chimera7/10_gnss.param
This file contains hidden or 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 hidden or 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
1 change: 1 addition & 0 deletions
1
...ot_methodic_configurator/vehicle_templates/ArduCopter/Demo32Motor_PeterHall/10_gnss.param
This file contains hidden or 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 |
|---|---|---|
| @@ -1,4 +1,5 @@ | ||
| BRD_SAFETY_DEFLT,0 | ||
| CAN_D1_PROTOCOL,1 | ||
| CAN_D1_UC_ESC_BM,65535 | ||
| CAN_P1_DRIVER,1 | ||
| COMPASS_ORIENT,0 | ||
|
|
||
This file contains hidden or 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 hidden or 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
2 changes: 1 addition & 1 deletion
2
ardupilot_methodic_configurator/vehicle_templates/ArduCopter/FETtec-5/10_gnss.param
This file contains hidden or 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 hidden or 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
10 changes: 5 additions & 5 deletions
10
...hodic_configurator/vehicle_templates/ArduCopter/GazeboIrisWithTargetFollow/08_batt1.param
This file contains hidden or 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 |
|---|---|---|
| @@ -1,15 +1,15 @@ | ||
| BATT_AMP_PERVLT,17 # new calibrated value for Mamba F45_128k 4in1 ESC | ||
| BATT_ARM_VOLT,15.7 # Only arm above this voltage, to avoid taking off with insufficient battery capacity | ||
| BATT_ARM_VOLT,11.775 # Only arm above this voltage, to avoid taking off with insufficient battery capacity | ||
| BATT_CAPACITY,1800 # Total battery capacity specified in the component editor | ||
| BATT_CRT_MAH,0 # When only 450mAh out of the total 1800mAh remain, trigger critical failsafe | ||
| BATT_CRT_VOLT,14.2 # Critical failsafe voltage x nr. of cells | ||
| BATT_CRT_VOLT,10.65 # Critical failsafe voltage x nr. of cells | ||
| BATT_FS_CRT_ACT,1 # Land ASAP | ||
| BATT_FS_LOW_ACT,2 # Return and land at home or rally point | ||
| BATT_FS_VOLTSRC,0 # Let the firmware handle the nasty business of variable and battery dependent internal resistance | ||
| BATT_I2C_BUS,0 # Selected in component editor window | ||
| BATT_LOW_MAH,0 # When only 450mAh out of the total 1800mAh remain, trigger low failsafe | ||
| BATT_LOW_VOLT,14.4 # Low failsafe voltage x nr. of cells | ||
| BATT_LOW_VOLT,10.8 # Low failsafe voltage x nr. of cells | ||
| BATT_MONITOR,4 # Selected in component editor window | ||
| BATT_VOLT_MULT,10.1 # Use a power source with a voltage close to BATT_LOW_VOLT measure with a calibrated voltimeter and adapt this parameter so that the telemetry voltage reading matches it | ||
| MOT_BAT_VOLT_MAX,16.8 # Scale the PIDs up when battery voltage is below this threshold | ||
| MOT_BAT_VOLT_MIN,14.2 # Scale the PIDs up when battery voltage is above this threshold | ||
| MOT_BAT_VOLT_MAX,12.8001 # Scale the PIDs up when battery voltage is below this threshold | ||
| MOT_BAT_VOLT_MIN,9.6 # Scale the PIDs up when battery voltage is above this threshold |
2 changes: 1 addition & 1 deletion
2
...thodic_configurator/vehicle_templates/ArduCopter/GazeboIrisWithTargetFollow/10_gnss.param
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
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.
vehicle_components.pyis auto-generated to provide gettext extraction for strings used invehicle_components.json. This PR introduces new JSON keys like "FC->ESC Connection" and "ESC->FC Telemetry" (and uses them in the UI/data model), but they are not present intranslatable_strings(), so they won’t be extracted for translation. Re-run the generator (or update it) so these new key strings are included intranslatable_strings().