You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
656 B
31 lines
656 B
|
|
#ifndef __AP_HAL_VRBRAIN_UTIL_H__ |
|
#define __AP_HAL_VRBRAIN_UTIL_H__ |
|
|
|
#include <AP_HAL/AP_HAL.h> |
|
#include "AP_HAL_VRBRAIN_Namespace.h" |
|
|
|
class VRBRAIN::VRBRAINUtil : public AP_HAL::Util { |
|
public: |
|
VRBRAINUtil(void); |
|
bool run_debug_shell(AP_HAL::BetterStream *stream); |
|
|
|
enum safety_state safety_switch_state(void); |
|
|
|
/* |
|
set system clock in UTC microseconds |
|
*/ |
|
void set_system_clock(uint64_t time_utc_usec); |
|
|
|
/* |
|
get system identifier (STM32 serial number) |
|
*/ |
|
bool get_system_id(char buf[40]); |
|
|
|
uint32_t available_memory(void) override; |
|
|
|
private: |
|
int _safety_handle; |
|
}; |
|
|
|
#endif // __AP_HAL_VRBRAIN_UTIL_H__
|
|
|