Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

GPS.h File Reference

#include "facilities/Scheduler.h"
#include "facilities/Observer.h"
#include "geometry/Point.h"
#include "geometry/Vector.h"
#include "geometry/CoordTransform.h"
#include "astro/SkyDir.h"
#include "astro/EarthOrbit.h"
#include <iostream>

Go to the source code of this file.

Compounds

class  GPS::Coords
class  GPS
 Models the Global Positoning System for a spacecraft. Handles time, position, and orientation for the instrument as a whole. More...


Defines

#define _H_GPS_CLASS

Functions

std::istream & operator>> (std::istream &i, GPS::Coords &c)
std::ostream & operator<< (std::ostream &o, const GPS::Coords &c)


Define Documentation

#define _H_GPS_CLASS
 

Definition at line 4 of file GPS.h.


Function Documentation

std::ostream& operator<< std::ostream &    o,
const GPS::Coords   c
[inline]
 

Definition at line 209 of file GPS.h.

References GPS::Coords::lat(), GPS::Coords::lon(), GPS::Coords::phase(), GPS::Coords::pitch(), GPS::Coords::roll(), GPS::Coords::time(), and GPS::Coords::yaw().

00209                                                                     {
00210     o << ' ' << c.lat() << ' ' << c.lon() << ' ' 
00211         << c.pitch() << ' ' << c.yaw() << ' ' 
00212         << c.roll() << ' ' << c.time() <<' ' << c.phase();
00213     return o;
00214 }

std::istream& operator>> std::istream &    i,
GPS::Coords   c
[inline]
 

Definition at line 202 of file GPS.h.

00202                                                               {
00203     double  p, y, r, lt, ln, tm, ph;
00204     i >> lt; i >> ln; i >> p; i >> y; i >> r; i >> tm; i >> ph;
00205     c = GPS::Coords( lt, ln, p, y, r, tm, ph );
00206     return i;
00207 }


Generated on Wed Oct 16 14:01:31 2002 by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001