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
6a53a398
Commit
6a53a398
authored
6 years ago
by
Matthias Grob
Browse files
Options
Downloads
Patches
Plain Diff
FlightTask: decline unimplemented callbacks, improve comments
parent
115c3145
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/lib/FlightTasks/tasks/FlightTask/FlightTask.hpp
+4
-1
4 additions, 1 deletion
src/lib/FlightTasks/tasks/FlightTask/FlightTask.hpp
with
4 additions
and
1 deletion
src/lib/FlightTasks/tasks/FlightTask/FlightTask.hpp
+
4
−
1
View file @
6a53a398
...
...
@@ -69,6 +69,7 @@ public:
/**
* Initialize the uORB subscriptions using an array
* @param subscription_array handling uORB subscribtions externally across task switches
* @return true on success, false on error
*/
virtual
bool
initializeSubscriptions
(
SubscriptionArray
&
subscription_array
);
...
...
@@ -86,9 +87,10 @@ public:
/**
* To be called to adopt parameters from an arrived vehicle command
* @param command received command message containing the parameters
* @return true if accepted, false if declined
*/
virtual
bool
applyCommandParameters
(
const
vehicle_command_s
&
command
)
{
return
tru
e
;
}
virtual
bool
applyCommandParameters
(
const
vehicle_command_s
&
command
)
{
return
fals
e
;
}
/**
* Call before activate() or update()
...
...
@@ -105,6 +107,7 @@ public:
/**
* Get the output data
* @return task output setpoints that get executed by the positon controller
*/
const
vehicle_local_position_setpoint_s
getPositionSetpoint
();
...
...
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