Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
On-Board Software
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Avionics
Software Development
On-Board Software
Commits
6ef9f301
Commit
6ef9f301
authored
10 months ago
by
Davide Mor
Committed by
Emilio Corigliano
10 months ago
Browse files
Options
Downloads
Patches
Plain Diff
[RIGv2] Calibrated vessel LC
parent
7e7692fa
No related branches found
No related tags found
1 merge request
!38
[RIGv2] Merge RIGv2 OBSW
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/boards/RIGv2/Configs/SensorsConfig.h
+12
-0
12 additions, 0 deletions
src/boards/RIGv2/Configs/SensorsConfig.h
with
12 additions
and
0 deletions
src/boards/RIGv2/Configs/SensorsConfig.h
+
12
−
0
View file @
6ef9f301
...
@@ -119,6 +119,7 @@ constexpr float TANK_P0_MASS = 1.866;
...
@@ -119,6 +119,7 @@ constexpr float TANK_P0_MASS = 1.866;
constexpr
float
TANK_P1_VOLTAGE
=
0.003559
;
constexpr
float
TANK_P1_VOLTAGE
=
0.003559
;
constexpr
float
TANK_P1_MASS
=
6.916
;
constexpr
float
TANK_P1_MASS
=
6.916
;
/* OLD CALIBRATION DATA (before 07/09/2024, before new flipping)
// LC Vessel sensor calibration data
// LC Vessel sensor calibration data
// - 1.866kg V: 0.00027
// - 1.866kg V: 0.00027
// - 5.050kg V: 0.00073
// - 5.050kg V: 0.00073
...
@@ -127,6 +128,17 @@ constexpr float VESSEL_P0_VOLTAGE = 0.00027;
...
@@ -127,6 +128,17 @@ constexpr float VESSEL_P0_VOLTAGE = 0.00027;
constexpr float VESSEL_P0_MASS = 1.866;
constexpr float VESSEL_P0_MASS = 1.866;
constexpr float VESSEL_P1_VOLTAGE = 0.0010;
constexpr float VESSEL_P1_VOLTAGE = 0.0010;
constexpr float VESSEL_P1_MASS = 6.916;
constexpr float VESSEL_P1_MASS = 6.916;
*/
// LC Vessel sensor calibration data (post 07/09/2024)
// - 0kg V: 0.000630177
// - 4.985kg V: 0.000470017 (−31125.124875125 kg/v)
// - 10.177kg V: 0.00030895 (−31681,645689808 kg/v)
constexpr
float
VESSEL_P0_VOLTAGE
=
0.000470017
;
constexpr
float
VESSEL_P0_MASS
=
4.985
;
constexpr
float
VESSEL_P1_VOLTAGE
=
0.00030895
;
constexpr
float
VESSEL_P1_MASS
=
10.177
;
}
// namespace LoadCell
}
// namespace LoadCell
namespace
InternalADC
namespace
InternalADC
...
...
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