Skip to content

Class Orion::CameraManager

ClassList > Orion > CameraManager

  • #include <CameraManager.hpp>

Inherits the following classes: CameraManagerComponentBase

Public Functions

Type Name
CameraManager (const char * compName)
~CameraManager ()

Private Attributes

Type Name
bool m_autoCaptureEnabled
True when autonomous capture is active.
U32 m_autoCaptureInterval
Seconds between auto-captures.
U32 m_capturesFailed
MissionMode m_currentMode
Current mission mode from EventAction .
U32 m_imagesCaptured
U32 m_schedCounter
Counts schedIn ticks for auto-capture timing.

Private Functions

Type Name
void DISABLE_AUTO_CAPTURE_cmdHandler (FwOpcodeType opCode, U32 cmdSeq) override
Disables autonomous periodic capture.
void ENABLE_AUTO_CAPTURE_cmdHandler (FwOpcodeType opCode, U32 cmdSeq, U32 interval) override
Enables autonomous periodic capture at the given interval.
void TRIGGER_CAPTURE_cmdHandler (FwOpcodeType opCode, U32 cmdSeq) override
Executes the full capture-fuse-dispatch pipeline on the component thread.
bool captureIntoBuffer (Fw::Buffer & buf)
Fills the buffer with raw pixel data from SimSat's Mapbox API.
void doCapture ()
void modeChangeIn_handler (FwIndexType portNum, const Orion::MissionMode & mode) override
Mode change handler: stores the current mission mode.
void schedIn_handler (FwIndexType portNum, U32 context) override
Rate group schedule handler: drives auto-capture timing.

Public Functions Documentation

function CameraManager

explicit Orion::CameraManager::CameraManager (
    const char * compName
) 

function ~CameraManager

Orion::CameraManager::~CameraManager () 

Private Attributes Documentation

variable m_autoCaptureEnabled

True when autonomous capture is active.

bool Orion::CameraManager::m_autoCaptureEnabled;


variable m_autoCaptureInterval

Seconds between auto-captures.

U32 Orion::CameraManager::m_autoCaptureInterval;


variable m_capturesFailed

U32 Orion::CameraManager::m_capturesFailed;

variable m_currentMode

Current mission mode from EventAction .

MissionMode Orion::CameraManager::m_currentMode;


variable m_imagesCaptured

U32 Orion::CameraManager::m_imagesCaptured;

variable m_schedCounter

Counts schedIn ticks for auto-capture timing.

U32 Orion::CameraManager::m_schedCounter;


Private Functions Documentation

function DISABLE_AUTO_CAPTURE_cmdHandler

Disables autonomous periodic capture.

void Orion::CameraManager::DISABLE_AUTO_CAPTURE_cmdHandler (
    FwOpcodeType opCode,
    U32 cmdSeq
) override


function ENABLE_AUTO_CAPTURE_cmdHandler

Enables autonomous periodic capture at the given interval.

void Orion::CameraManager::ENABLE_AUTO_CAPTURE_cmdHandler (
    FwOpcodeType opCode,
    U32 cmdSeq,
    U32 interval
) override


function TRIGGER_CAPTURE_cmdHandler

Executes the full capture-fuse-dispatch pipeline on the component thread.

void Orion::CameraManager::TRIGGER_CAPTURE_cmdHandler (
    FwOpcodeType opCode,
    U32 cmdSeq
) override


function captureIntoBuffer

Fills the buffer with raw pixel data from SimSat's Mapbox API.

bool Orion::CameraManager::captureIntoBuffer (
    Fw::Buffer & buf
) 


function doCapture

void Orion::CameraManager::doCapture () 

Performs the full capture-fuse-dispatch pipeline (shared by TRIGGER_CAPTURE command and auto-capture timer).


function modeChangeIn_handler

Mode change handler: stores the current mission mode.

void Orion::CameraManager::modeChangeIn_handler (
    FwIndexType portNum,
    const Orion::MissionMode & mode
) override


function schedIn_handler

Rate group schedule handler: drives auto-capture timing.

void Orion::CameraManager::schedIn_handler (
    FwIndexType portNum,
    U32 context
) override



The documentation for this class was generated from the following file flight_segment/orion/Orion/Components/CameraManager/CameraManager.hpp