Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Firmware
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
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alberto Ruiz Garcia
Firmware
Commits
353f637e
Commit
353f637e
authored
7 years ago
by
Daniel Agar
Committed by
Lorenz Meier
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
move SYS_FMU_TASK to px4fmu
parent
928fdf34
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
src/drivers/px4fmu/px4fmu_params.c
+16
-0
16 additions, 0 deletions
src/drivers/px4fmu/px4fmu_params.c
src/modules/systemlib/system_params.c
+0
-16
0 additions, 16 deletions
src/modules/systemlib/system_params.c
with
16 additions
and
16 deletions
src/drivers/px4fmu/px4fmu_params.c
+
16
−
0
View file @
353f637e
...
...
@@ -195,3 +195,19 @@ PARAM_DEFINE_FLOAT(THR_MDL_FAC, 0.0f);
* @group PWM Outputs
*/
PARAM_DEFINE_FLOAT
(
MOT_SLEW_MAX
,
0
.
0
f
);
/**
* Run the FMU as a task to reduce latency
*
* If true, the FMU will run in a separate task instead of on the work queue.
* Set this if low latency is required, for example for racing.
*
* This is a trade-off between RAM usage and latency: running as a task, it
* requires a separate stack and directly polls on the control topics, whereas
* running on the work queue, it runs at a fixed update rate.
*
* @boolean
* @reboot_required true
* @group System
*/
PARAM_DEFINE_INT32
(
SYS_FMU_TASK
,
0
);
This diff is collapsed.
Click to expand it.
src/modules/systemlib/system_params.c
+
0
−
16
View file @
353f637e
...
...
@@ -90,22 +90,6 @@ PARAM_DEFINE_INT32(SYS_HITL, 0);
*/
PARAM_DEFINE_INT32
(
SYS_USE_IO
,
1
);
/**
* Run the FMU as a task to reduce latency
*
* If true, the FMU will run in a separate task instead of on the work queue.
* Set this if low latency is required, for example for racing.
*
* This is a trade-off between RAM usage and latency: running as a task, it
* requires a separate stack and directly polls on the control topics, whereas
* running on the work queue, it runs at a fixed update rate.
*
* @boolean
* @reboot_required true
* @group System
*/
PARAM_DEFINE_INT32
(
SYS_FMU_TASK
,
0
);
/**
* Set restart type
*
...
...
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