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
971d5f6c
Commit
971d5f6c
authored
4 months ago
by
Davide Basso
Browse files
Options
Downloads
Patches
Plain Diff
[Parafoil] Change progressive-rotation decrement
parent
be96491d
Branches
Branches containing commit
No related tags found
1 merge request
!102
[Parafoil] Add Parafoil On-Board-Software
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/Parafoil/Configs/WingConfig.h
+1
-1
1 addition, 1 deletion
src/Parafoil/Configs/WingConfig.h
src/Parafoil/StateMachines/WingController/WingController.cpp
+1
-1
1 addition, 1 deletion
src/Parafoil/StateMachines/WingController/WingController.cpp
with
2 additions
and
2 deletions
src/Parafoil/Configs/WingConfig.h
+
1
−
1
View file @
971d5f6c
...
@@ -45,7 +45,7 @@ constexpr auto TARGET_UPDATE_RATE = 10_hz;
...
@@ -45,7 +45,7 @@ constexpr auto TARGET_UPDATE_RATE = 10_hz;
constexpr
auto
STRAIGHT_FLIGHT_TIMEOUT
=
15
_s
;
constexpr
auto
STRAIGHT_FLIGHT_TIMEOUT
=
15
_s
;
constexpr
auto
PROGRESSIVE_ROTATION_TIMEOUT
=
5
_s
;
constexpr
auto
PROGRESSIVE_ROTATION_TIMEOUT
=
5
_s
;
constexpr
auto
COMMAND_PERIOD
=
6
_s
;
constexpr
auto
COMMAND_PERIOD
=
6
_s
;
constexpr
auto
WING_DECREMENT
=
3
0
_deg
;
constexpr
auto
WING_DECREMENT
=
2
0
_deg
;
/**
/**
* @brief The available algorithms for the wing controller.
* @brief The available algorithms for the wing controller.
...
...
This diff is collapsed.
Click to expand it.
src/Parafoil/StateMachines/WingController/WingController.cpp
+
1
−
1
View file @
971d5f6c
...
@@ -498,7 +498,7 @@ void WingController::loadAlgorithms()
...
@@ -498,7 +498,7 @@ void WingController::loadAlgorithms()
step
.
timestamp
=
Microsecond
{
PROGRESSIVE_ROTATION_TIMEOUT
}.
value
();
step
.
timestamp
=
Microsecond
{
PROGRESSIVE_ROTATION_TIMEOUT
}.
value
();
for
(
auto
angle
=
15
0
_deg
;
angle
>=
0
_deg
;
angle
-=
WING_DECREMENT
)
for
(
auto
angle
=
8
0
_deg
;
angle
>=
0
_deg
;
angle
-=
WING_DECREMENT
)
{
{
step
.
servo1Angle
=
angle
;
step
.
servo1Angle
=
angle
;
step
.
servo2Angle
=
0
_deg
;
step
.
servo2Angle
=
0
_deg
;
...
...
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