APM:Libraries
|
#include <AP_HAL/AP_HAL.h>
#include <AP_Math/edc.h>
#include <AP_AHRS/AP_AHRS.h>
#include <utility>
#include "OpticalFlow.h"
#include "AP_OpticalFlow_Pixart.h"
#include "AP_OpticalFlow_Pixart_SROM.h"
#include <stdio.h>
Go to the source code of this file.
Variables | |
const AP_HAL::HAL & | hal |
-*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- More... | |
Definition at line 32 of file AP_OpticalFlow_Pixart.cpp.
Referenced by AP_OpticalFlow_Pixart::setup_sensor(), and AP_OpticalFlow_Pixart::srom_download().
#define PIXART_REG_CONFIG1 0x0F |
Definition at line 49 of file AP_OpticalFlow_Pixart.cpp.
#define PIXART_REG_CONFIG2 0x10 |
Definition at line 50 of file AP_OpticalFlow_Pixart.cpp.
#define PIXART_REG_DELTA_X_H 0x04 |
Definition at line 40 of file AP_OpticalFlow_Pixart.cpp.
#define PIXART_REG_DELTA_X_L 0x03 |
Definition at line 39 of file AP_OpticalFlow_Pixart.cpp.
#define PIXART_REG_DELTA_Y_H 0x06 |
Definition at line 42 of file AP_OpticalFlow_Pixart.cpp.
#define PIXART_REG_DELTA_Y_L 0x05 |
Definition at line 41 of file AP_OpticalFlow_Pixart.cpp.
#define PIXART_REG_DOUT_H 0x26 |
Definition at line 61 of file AP_OpticalFlow_Pixart.cpp.
#define PIXART_REG_DOUT_L 0x25 |
Definition at line 60 of file AP_OpticalFlow_Pixart.cpp.
Referenced by AP_OpticalFlow_Pixart::setup_sensor().
#define PIXART_REG_FRAME_CAP 0x12 |
Definition at line 51 of file AP_OpticalFlow_Pixart.cpp.
#define PIXART_REG_INV_PROD_ID 0x3F |
Definition at line 66 of file AP_OpticalFlow_Pixart.cpp.
Referenced by AP_OpticalFlow_Pixart::setup_sensor().
#define PIXART_REG_INV_PROD_ID2 0x5F |
Definition at line 67 of file AP_OpticalFlow_Pixart.cpp.
Referenced by AP_OpticalFlow_Pixart::setup_sensor().
#define PIXART_REG_MOT_BURST 0x50 |
Definition at line 68 of file AP_OpticalFlow_Pixart.cpp.
Referenced by AP_OpticalFlow_Pixart::motion_burst().
#define PIXART_REG_MOT_BURST2 0x16 |
Definition at line 69 of file AP_OpticalFlow_Pixart.cpp.
Referenced by AP_OpticalFlow_Pixart::motion_burst().
#define PIXART_REG_MOTION 0x02 |
Definition at line 38 of file AP_OpticalFlow_Pixart.cpp.
#define PIXART_REG_OBS 0x24 |
Definition at line 59 of file AP_OpticalFlow_Pixart.cpp.
#define PIXART_REG_POWER_RST 0x3A |
Definition at line 64 of file AP_OpticalFlow_Pixart.cpp.
Referenced by AP_OpticalFlow_Pixart::setup_sensor().
#define PIXART_REG_PRODUCT_ID 0x00 |
Definition at line 36 of file AP_OpticalFlow_Pixart.cpp.
Referenced by AP_OpticalFlow_Pixart::setup_sensor().
#define PIXART_REG_RAW_BURST 0x64 |
Definition at line 71 of file AP_OpticalFlow_Pixart.cpp.
#define PIXART_REG_RAW_GRAB 0x29 |
Definition at line 62 of file AP_OpticalFlow_Pixart.cpp.
#define PIXART_REG_RAWDATA_MAX 0x09 |
Definition at line 45 of file AP_OpticalFlow_Pixart.cpp.
#define PIXART_REG_RAWDATA_MIN 0x0A |
Definition at line 46 of file AP_OpticalFlow_Pixart.cpp.
#define PIXART_REG_RAWDATA_SUM 0x08 |
Definition at line 44 of file AP_OpticalFlow_Pixart.cpp.
#define PIXART_REG_REST1_DS 0x16 |
Definition at line 55 of file AP_OpticalFlow_Pixart.cpp.
#define PIXART_REG_REST1_RATE 0x15 |
Definition at line 54 of file AP_OpticalFlow_Pixart.cpp.
#define PIXART_REG_REST2_DS 0x18 |
Definition at line 57 of file AP_OpticalFlow_Pixart.cpp.
#define PIXART_REG_REST2_RATE 0x17 |
Definition at line 56 of file AP_OpticalFlow_Pixart.cpp.
#define PIXART_REG_REST3_RATE 0x19 |
Definition at line 58 of file AP_OpticalFlow_Pixart.cpp.
#define PIXART_REG_REVISION_ID 0x01 |
Definition at line 37 of file AP_OpticalFlow_Pixart.cpp.
#define PIXART_REG_RUN_DS 0x14 |
Definition at line 53 of file AP_OpticalFlow_Pixart.cpp.
#define PIXART_REG_SHUTDOWN 0x3B |
Definition at line 65 of file AP_OpticalFlow_Pixart.cpp.
#define PIXART_REG_SHUTTER_HI 0x0C |
Definition at line 48 of file AP_OpticalFlow_Pixart.cpp.
#define PIXART_REG_SHUTTER_LOW 0x0B |
Definition at line 47 of file AP_OpticalFlow_Pixart.cpp.
#define PIXART_REG_SQUAL 0x07 |
Definition at line 43 of file AP_OpticalFlow_Pixart.cpp.
#define PIXART_REG_SROM_BURST 0x62 |
Definition at line 70 of file AP_OpticalFlow_Pixart.cpp.
Referenced by AP_OpticalFlow_Pixart::srom_download().
#define PIXART_REG_SROM_EN 0x13 |
Definition at line 52 of file AP_OpticalFlow_Pixart.cpp.
Referenced by AP_OpticalFlow_Pixart::setup_sensor(), and AP_OpticalFlow_Pixart::srom_download().
#define PIXART_REG_SROM_ID 0x2A |
Definition at line 63 of file AP_OpticalFlow_Pixart.cpp.
Referenced by AP_OpticalFlow_Pixart::setup_sensor().
#define PIXART_SROM_CRC_RESULT 0xBEEF |
Definition at line 80 of file AP_OpticalFlow_Pixart.cpp.
#define PIXART_Tsrad 300 |
Definition at line 77 of file AP_OpticalFlow_Pixart.cpp.
Referenced by AP_OpticalFlow_Pixart::reg_write().
#define PIXART_WRITE_FLAG 0x80 |
Definition at line 74 of file AP_OpticalFlow_Pixart.cpp.
Referenced by AP_OpticalFlow_Pixart::reg_write(), and AP_OpticalFlow_Pixart::srom_download().
const AP_HAL::HAL& hal |
-*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
Definition at line 14 of file AC_PID_test.cpp.