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
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
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
Emilio Corigliano
On-Board Software
Commits
c4014510
Commit
c4014510
authored
2 years ago
by
Federico Mandelli
Browse files
Options
Downloads
Patches
Plain Diff
[Config] Moved configs useful during test in only 2 files
parent
6c68565a
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/boards/Parafoil/Configs/ActuatorsConfigs.h
+3
-1
3 additions, 1 deletion
src/boards/Parafoil/Configs/ActuatorsConfigs.h
src/boards/Parafoil/Configs/WingConfig.h
+2
-0
2 additions, 0 deletions
src/boards/Parafoil/Configs/WingConfig.h
with
5 additions
and
1 deletion
src/boards/Parafoil/Configs/ActuatorsConfigs.h
+
3
−
1
View file @
c4014510
...
...
@@ -25,13 +25,15 @@
#include
<drivers/timer/PWM.h>
#include
<drivers/timer/TimerUtils.h>
#include
"WingConfig.h"
//Ugly thing to do but useful for when we need to change paramether on the fly (Terni)
namespace
Parafoil
{
namespace
ActuatorsConfigs
{
constexpr
float
SERVO_TWIRL_RADIUS
=
0.5
f
;
constexpr
float
SERVO_TWIRL_RADIUS
=
MAX_SERVO_APERTURE
;
// Left servo
static
TIM_TypeDef
*
const
SERVO_1_TIMER
=
TIM4
;
...
...
This diff is collapsed.
Click to expand it.
src/boards/Parafoil/Configs/WingConfig.h
+
2
−
0
View file @
c4014510
...
...
@@ -28,6 +28,7 @@ namespace Parafoil
namespace
WingConfig
{
// Algorithm configuration
constexpr
int
WING_UPDATE_PERIOD
=
100
;
// [ms]
constexpr
int
WING_ALTITUDE_TRIGGER_PERIOD
=
100
;
//[ms]
...
...
@@ -47,6 +48,7 @@ constexpr float DEFAULT_TARGET_LON = 12.585847;
constexpr float DEFAULT_TARGET_LON = 9;*/
//to be safe
#endif
constexpr
float
MAX_SERVO_APERTURE
=
0.5
f
;
// Wing altitude checker configs
constexpr
int
WING_ALTITUDE_TRIGGER_CONFIDENCE
=
5
;
// [number of sample]
constexpr
int
WING_ALTITUDE_TRIGGER_FALL
=
50
;
// [meters]
...
...
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