Spacecraft Control Bundle 1
fsw_image_processing.h
1/*
2 * Header file for object of class fsw_image_processing.
3 * Copyright 2010, Princeton Satellite Systems, Inc.
4 * All Rights Reserved.
5 */
6
7#include <ControlDeck2/ControlDeck2.h>
8#include "sc_events.h"
9#include "sc_data_names.h"
10
11#ifndef FSW_IMAGE_PROCESSING
12#define FSW_IMAGE_PROCESSING
13
14
16
21
23class fsw_image_processing : public cd_control_module
24{
25 public:
26 fsw_image_processing (const char * mod_name);
27 void initialize_data();
28 void initialize_data_requests();
29 void handle_event(int code);
30
31 protected:
32
39 CD_REQUEST_REF frame_camera_sim_ref;
41
48 CD_CREATE_REF star_data_ref;
50 CD_CREATE_REF planet_data_ref;
52 CD_CREATE_REF star_image_ref;
54
55};
56
57extern "C"
58{
59 cd_control_module *fsw_image_processing_builder(const char *name);
60}
61
62#endif
This module processes images to produce centroids.
Definition: fsw_image_processing.h:24
void initialize_data()
Create data and request the FSW_IMAGE_PROCESSING_TRIGGER.
Definition: fsw_image_processing.cc:17
CD_CREATE_REF star_data_ref
Star centroid data from the image [x;y;intensity;ID].
Definition: fsw_image_processing.h:48
CD_REQUEST_REF centroid_camera_sim_ref
Centroid data from the simulation camera.
Definition: fsw_image_processing.h:37
CD_CREATE_REF planet_data_ref
Planet data from the image [x;y;intensity;chord;ID].
Definition: fsw_image_processing.h:50
CD_CREATE_REF star_image_ref
Processed star camera frame [mxn].
Definition: fsw_image_processing.h:52
CD_REQUEST_REF frame_camera_sim_ref
Camera frame.
Definition: fsw_image_processing.h:39
Define the data names used throughout the control system.
Define the trigger and variables names for the software system.