| Line | |
|---|
| 1 | // gyrohandler.h
|
|---|
| 2 | // Eric Aubourg CEA/DAPNIA/SPP septembre 1999
|
|---|
| 3 |
|
|---|
| 4 | #ifndef GYROHANDLER_H
|
|---|
| 5 | #define GYROHANDLER_H
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 | #ifndef nb_max_bolo
|
|---|
| 9 | #define _archeops // Acquisition Archeops (avec transputer)
|
|---|
| 10 | #define programme
|
|---|
| 11 | extern "C" {
|
|---|
| 12 | #include "archeops.h"
|
|---|
| 13 | }
|
|---|
| 14 | #endif
|
|---|
| 15 |
|
|---|
| 16 | class GyroHandler {
|
|---|
| 17 | public:
|
|---|
| 18 | GyroHandler();
|
|---|
| 19 | GyroHandler(GyroHandler const&);
|
|---|
| 20 | GyroHandler& operator = (GyroHandler const&);
|
|---|
| 21 | virtual ~GyroHandler();
|
|---|
| 22 |
|
|---|
| 23 | void ProcessBlock(block_type_gyro*);
|
|---|
| 24 | int4 getRawSignal(int imesure, int igyro); // for last block
|
|---|
| 25 | double getSignal(int imesure, int igyro); // for last block, mV
|
|---|
| 26 | double getSpeed(int imesure, int igyro); // for last block, deg/s
|
|---|
| 27 |
|
|---|
| 28 | protected:
|
|---|
| 29 | int4 gyro[3][nb_per_block*2];
|
|---|
| 30 | };
|
|---|
| 31 |
|
|---|
| 32 |
|
|---|
| 33 | // To be done : handle calibration, through stellar sensor, temperature, etc.
|
|---|
| 34 |
|
|---|
| 35 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.