APM:Libraries
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
SchedTest Class Reference
Collaboration diagram for SchedTest:
[legend]

Public Member Functions

void setup ()
 
void loop ()
 

Private Member Functions

void ins_update (void)
 
void one_hz_print (void)
 
void five_second_call (void)
 

Private Attributes

AP_InertialSensor ins
 
AP_Scheduler scheduler {nullptr}
 
uint32_t ins_counter
 

Static Private Attributes

static const AP_Scheduler::Task scheduler_tasks []
 

Detailed Description

Definition at line 16 of file Scheduler_test.cpp.

Member Function Documentation

◆ five_second_call()

void SchedTest::five_second_call ( void  )
private

Definition at line 88 of file Scheduler_test.cpp.

Here is the call graph for this function:

◆ ins_update()

void SchedTest::ins_update ( void  )
private

Definition at line 71 of file Scheduler_test.cpp.

Here is the call graph for this function:

◆ loop()

void SchedTest::loop ( void  )

Definition at line 62 of file Scheduler_test.cpp.

Referenced by five_second_call(), and loop().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ one_hz_print()

void SchedTest::one_hz_print ( void  )
private

Definition at line 80 of file Scheduler_test.cpp.

Here is the call graph for this function:

◆ setup()

void SchedTest::setup ( void  )

Definition at line 51 of file Scheduler_test.cpp.

Referenced by five_second_call(), and setup().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ ins

AP_InertialSensor SchedTest::ins
private

Definition at line 23 of file Scheduler_test.cpp.

Referenced by ins_update(), and setup().

◆ ins_counter

uint32_t SchedTest::ins_counter
private

Definition at line 26 of file Scheduler_test.cpp.

Referenced by five_second_call(), and ins_update().

◆ scheduler

AP_Scheduler SchedTest::scheduler {nullptr}
private

Definition at line 24 of file Scheduler_test.cpp.

Referenced by loop(), and setup().

◆ scheduler_tasks

const AP_Scheduler::Task SchedTest::scheduler_tasks
staticprivate
Initial value:
= {
SCHED_TASK(ins_update, 50, 1000),
}

Definition at line 27 of file Scheduler_test.cpp.

Referenced by setup().


The documentation for this class was generated from the following file: