Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
act_fast.h
Go to the documentation of this file.
1 /*
2 Copyright (c) 2017, Guido de Croon, TU Delft
3 All rights reserved.
4 */
5 
25 #ifndef ACT_FAST_H
26 #define ACT_FAST_H
27 
28 struct agent_t {
29  float x;
30  float y;
31  int active;
34 };
35 
36 #include "std.h"
37 #include "lib/vision/image.h"
38 
39 void act_fast(struct image_t *img, uint8_t fast_threshold, uint16_t *num_corners, struct point_t **ret_corners,
40  uint16_t n_agents, uint16_t n_time_steps, float long_step, float short_step, int min_gradient,
41  int gradient_method, int camera_id);
42 
43 #endif
int active
Definition: act_fast.h:31
float preferred_dir_x
Definition: act_fast.h:32
void act_fast(struct image_t *img, uint8_t fast_threshold, uint16_t *num_corners, struct point_t **ret_corners, uint16_t n_agents, uint16_t n_time_steps, float long_step, float short_step, int min_gradient, int gradient_method, int camera_id)
Do an ACT-FAST corner detection.
Definition: act_fast.c:58
float y
Definition: act_fast.h:30
float x
Definition: act_fast.h:29
float preferred_dir_y
Definition: act_fast.h:33
Image helper functions like resizing, color filter, converters...
Definition: image.h:44
Definition: image.h:58
uint16_t n_agents[2]
uint16_t n_time_steps[2]
unsigned short uint16_t
Typedef defining 16 bit unsigned short type.
Definition: vl53l1_types.h:88
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.
Definition: vl53l1_types.h:98