2012-12-11 21:30:12 -04:00
|
|
|
|
|
|
|
#ifndef __AP_HAL_AVR_SITL_CLASS_H__
|
|
|
|
#define __AP_HAL_AVR_SITL_CLASS_H__
|
|
|
|
|
|
|
|
#include <AP_HAL.h>
|
|
|
|
|
|
|
|
#if CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL
|
|
|
|
|
2012-12-12 18:04:27 -04:00
|
|
|
#include <AP_HAL_AVR_SITL.h>
|
|
|
|
#include "AP_HAL_AVR_SITL_Namespace.h"
|
2012-12-13 18:57:01 -04:00
|
|
|
#include "SITL_State.h"
|
2012-12-12 18:04:27 -04:00
|
|
|
|
|
|
|
class HAL_AVR_SITL : public AP_HAL::HAL {
|
|
|
|
public:
|
2012-12-11 21:30:12 -04:00
|
|
|
HAL_AVR_SITL();
|
2012-12-13 18:57:01 -04:00
|
|
|
void init(int argc, char * const argv[]) const;
|
|
|
|
|
|
|
|
private:
|
|
|
|
AVR_SITL::SITL_State *_sitl_state;
|
2012-12-11 21:30:12 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
extern const HAL_AVR_SITL AP_HAL_AVR_SITL;
|
|
|
|
|
|
|
|
#endif // CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL
|
|
|
|
#endif // __AP_HAL_AVR_SITL_CLASS_H__
|
|
|
|
|