most functionality to splashdwon, find neutral and start mission. short timeouts still in code for testing, will adjust to go directly to sit_idle after splashdown

Dependencies:   mbed MODSERIAL FATFileSystem

omegaPX209/omegaPX209.hpp

Committer:
mkelly10
Date:
2017-10-20
Revision:
9:d5fcdcb3c89d
Child:
10:085ab7328054

File content as of revision 9:d5fcdcb3c89d:

/*
Matthew Kelly
October 24th, 2013
The purpose of this class is to define a a data structure with all of the necessary information and member functions...
to fully describe a single ultrasonic transducer for use in a relative positioning system.
*/

#include "mbed.h"

class omegaPX209 {
public:
    omegaPX209();    
    void initialize();
    float calcP();              // Calculates pressure
        
private:
    AnalogIn depthP;
    float P;                    // Pressure [psi]
    float cal;                  // Volts per psi
    float multiplier;           // Maximum voltage in
        
};