model_energy.c File Reference
#include <sys/time.h>#include <math.h>#include <assert.h>#include "stage_internal.h"#include "gui.h"Defines | |
| #define | TIMING 0 |
| #define | ENERGY_FILLED 1 |
Functions | |
| void | energy_render_config (stg_model_t *mod) |
| void | energy_render_data (stg_model_t *mod) |
| int | energy_startup (stg_model_t *mod) |
| int | energy_shutdown (stg_model_t *mod) |
| int | energy_update (stg_model_t *mod) |
| void | energy_load (stg_model_t *mod) |
| stg_model_t * | stg_energy_create (stg_world_t *world, stg_model_t *parent, stg_id_t id, char *token) |
| void | energy_connect (stg_model_t *source, stg_model_t *sink) |
| void | energy_disconnect (stg_model_t *source, stg_model_t *sink) |
| int | energy_match (stg_model_t *mod, stg_model_t *hitmod) |
Variables | |
| stg_rtk_fig_t * | fig_debug |
| const double | STG_ENERGY_PROBE_RANGE_DEFAULT = 1.0 |
| const double | STG_ENERGY_GIVE_DEFAULT = 0.0 |
| const double | STG_ENERGY_TAKE_DEFAULT = 100.0 |
| const double | STG_ENERGY_CAPACITY_DEFAULT = 10000.0 |
| const double | STG_ENERGY_SIZEX_DEFAULT = 0.08 |
| const double | STG_ENERGY_SIZEY_DEFAULT = 0.18 |
| const double | STG_ENERGY_POSEX_DEFAULT = 0.0 |
| const double | STG_ENERGY_POSEY_DEFAULT = 0.0 |
| const double | STG_ENERGY_POSEA_DEFAULT = 0.0 |
| const int | STG_ENERGY_FIDUCIAL_DEFAULT = 255 |
Define Documentation
|
|
|
|
|
|
Function Documentation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
Variable Documentation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
