|  | Paparazzi UAS v7.0_unstable
    Paparazzi is a free software Unmanned Aircraft System. | 
 Include dependency graph for cloud_sim.h:
 Include dependency graph for cloud_sim.h: This graph shows which files directly or indirectly include this file:
 This graph shows which files directly or indirectly include this file:Go to the source code of this file.
| Data Structures | |
| struct | CloudSim | 
| Macros | |
| #define | CLOUD_SIM_WP 0 | 
| #define | CLOUD_SIM_POLYGON 1 | 
| Functions | |
| void | cloud_sim_init (void) | 
| void | cloud_sim_detect (void) | 
| periodic call for border detection | |
| void | cloud_sim_move (void) | 
| periodic call for moving waypoints | |
| void | cloud_sim_reset (bool reset) | 
| reset handler | |
| Variables | |
| struct CloudSim | cloud_sim | 
Definition in file cloud_sim.h.
| struct CloudSim | 
Definition at line 35 of file cloud_sim.h.
 Collaboration diagram for CloudSim:
 Collaboration diagram for CloudSim:| Data Fields | ||
|---|---|---|
| uint8_t | mode | |
| float | radius | radius in WP mode | 
| bool | reset | |
| struct FloatVect2 | speed | |
| #define CLOUD_SIM_POLYGON 1 | 
Definition at line 33 of file cloud_sim.h.
| #define CLOUD_SIM_WP 0 | 
Definition at line 32 of file cloud_sim.h.
periodic call for border detection
Definition at line 102 of file cloud_sim.c.
References CLOUD_SENSOR_ID, cloud_sim, cloud_sim_circle_id, CLOUD_SIM_POLYGON, CLOUD_SIM_WP, distance_to_wp(), foo, get_sys_time_usec(), CloudSim::mode, CloudSim::radius, stateGetPositionEnu_f(), EnuCoor_f::x, and EnuCoor_f::y.
 Here is the call graph for this function:
 Here is the call graph for this function:Definition at line 92 of file cloud_sim.c.
References cloud_sim, CLOUD_SIM_MODE, CLOUD_SIM_RADIUS, CLOUD_SIM_SPEED_X, CLOUD_SIM_SPEED_Y, CloudSim::mode, CloudSim::radius, CloudSim::reset, CloudSim::speed, FloatVect2::x, and FloatVect2::y.
periodic call for moving waypoints
Definition at line 130 of file cloud_sim.c.
References cloud_sim, cloud_sim_circle_id, cloud_sim_polygon, CLOUD_SIM_POLYGON, CLOUD_SIM_WP, CLOUD_SIM_WPS_NB, foo, CloudSim::mode, nav_move_waypoint_point(), nav_send_waypoint(), CloudSim::speed, waypoints, FloatVect2::x, point::x, FloatVect2::y, and point::y.
 Here is the call graph for this function:
 Here is the call graph for this function:reset handler
Definition at line 154 of file cloud_sim.c.
References cloud_sim, cloud_sim_circle_id, cloud_sim_polygon, CLOUD_SIM_WPS_NB, foo, nav_move_waypoint_point(), nav_send_waypoint(), CloudSim::reset, and reset.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | extern | 
Definition at line 72 of file cloud_sim.c.
Referenced by cloud_sim_detect(), cloud_sim_init(), cloud_sim_move(), and cloud_sim_reset().