- The
SampleGroundStation
class is is an example of making the user defined ground station with theGroundStation
class.
src/simulation_sample_/ground_station/sample_ground_station.cpp, .hpp
- The
SampleGroundStation
class is defined here.
- The
src/simulation/ground_station/ground_station.cpp, .hpp
- The
GroundStation
class is defined here.
- The
src/simulation_sample/case/sample_case.cpp, .hpp
- The instance of the
SampleGroundStation
class is made in this class.
- The instance of the
-
sample_ground_station.hpp
- Define user defined ground station class. We use
SampleGroundStation
class here.- Users can name freely like
UtGroundStation
,DsnGroundStation
, and others.
- Users can name freely like
- Inherit the
GroundStation
class.- You need to define override functions for all pure virtual functions of the
GroundStation
class.
- You need to define override functions for all pure virtual functions of the
- Add components for ground station if need.
- Define user defined ground station class. We use
-
sample_ground_station.cpp
- Write detailed process of the override functions
- Constructor
- Initialize
GroundStation
and call theSampleGroundStation::Initialize
function.
- Initialize
- Destructor
- Delete components.
LogSetup
function- Set log you need.
Update
function- Call the
GroundStation::Update
function. - Call the ground station component's
Update
functions.
- Call the
NA
NA