typetable.c File Reference
#include "stage_internal.h"
Functions | |
int | audio_init (stg_model_t *mod) |
int | blobfinder_init (stg_model_t *mod) |
int | bumper_init (stg_model_t *mod) |
int | fiducial_init (stg_model_t *mod) |
int | gripper_init (stg_model_t *mod) |
int | indicator_init (stg_model_t *mod) |
int | laser_init (stg_model_t *mod) |
int | position_init (stg_model_t *mod) |
int | ptz_init (stg_model_t *mod) |
int | ranger_init (stg_model_t *mod) |
int | speech_init (stg_model_t *mod) |
int | wifi_init (stg_model_t *mod) |
Variables | |
stg_type_record_t | typetable [] |
Function Documentation
int audio_init | ( | stg_model_t * | mod | ) |
References stg_pose_t::a, AUDIO_DEBUG2, audio_load(), stg_audio_data_t::audio_paths, audio_render_cfg(), audio_render_data(), audio_shutdown(), audio_startup(), audio_unrender_cfg(), audio_unrender_data(), audio_update(), stg_audio_cmd_t::cmd, FALSE, LaserTransparent, stg_geom_t::pose, stg_audio_config_t::say_period, stg_audio_config_t::say_string, stg_geom_t::size, STG_AUDIO_CMD_NOP, STG_AUDIO_MAX_STRING_LEN, stg_model_add_property_toggles(), stg_model_set_audio_return(), stg_model_set_blob_return(), stg_model_set_cfg(), stg_model_set_cmd(), stg_model_set_color(), stg_model_set_data(), stg_model_set_geom(), stg_model_set_laser_return(), stg_model_set_obstacle_return(), stg_audio_cmd_t::string, TRUE, wf_property_exists(), wf_read_int(), wf_read_string(), stg_size_t::x, stg_pose_t::x, stg_size_t::y, and stg_pose_t::y.
int blobfinder_init | ( | stg_model_t * | mod | ) |
int bumper_init | ( | stg_model_t * | mod | ) |
int fiducial_init | ( | stg_model_t * | mod | ) |
References FALSE, fiducial_load(), fiducial_render_cfg(), fiducial_render_data(), fiducial_shutdown(), fiducial_startup(), fiducial_unrender_cfg(), fiducial_unrender_data(), stg_fiducial_config_t::fov, stg_fiducial_config_t::max_range_anon, stg_fiducial_config_t::max_range_id, stg_fiducial_config_t::min_range, STG_DEFAULT_FIDUCIAL_FOV, STG_DEFAULT_FIDUCIAL_RANGEMAXANON, STG_DEFAULT_FIDUCIAL_RANGEMAXID, STG_DEFAULT_FIDUCIAL_RANGEMIN, stg_model_add_property_toggles(), stg_model_set_cfg(), stg_model_set_data(), stg_model_set_geom(), stg_model_set_polygons(), and TRUE.
int gripper_init | ( | stg_model_t * | mod | ) |
References stg_pose_t::a, stg_gripper_cmd_t::arg, stg_gripper_config_t::close_limit, stg_gripper_cmd_t::cmd, FALSE, gripper_generate_paddles(), gripper_load(), gripper_render_data(), gripper_shutdown(), gripper_startup(), gripper_unrender_data(), gripper_update(), stg_gripper_config_t::inner_break_beam_inset, stg_gripper_config_t::lift, stg_gripper_config_t::outer_break_beam_inset, stg_gripper_config_t::paddle_size, stg_gripper_config_t::paddles, stg_gripper_config_t::paddles_stalled, stg_geom_t::pose, stg_geom_t::size, STG_DEFAULT_GRIPPER_SIZEX, STG_DEFAULT_GRIPPER_SIZEY, STG_GRIPPER_CMD_NOP, STG_GRIPPER_COLOR, STG_GRIPPER_LIFT_DOWN, STG_GRIPPER_PADDLE_OPEN, stg_lookup_color(), stg_model_add_property_toggles(), stg_model_set_cfg(), stg_model_set_cmd(), stg_model_set_data(), stg_model_set_geom(), stg_model_set_gripper_return(), stg_model_set_polygons(), stg_polygons_create(), TRUE, stg_size_t::x, stg_pose_t::x, stg_size_t::y, and stg_pose_t::y.
int indicator_init | ( | stg_model_t * | mod | ) |
References stg_pose_t::a, stg_dio_cmd_t::count, stg_dio_cmd_t::digout, indicator_load(), indicator_shutdown(), indicator_startup(), stg_geom_t::pose, stg_geom_t::size, STG_DEFAULT_INDICATOR_SIZEX, STG_DEFAULT_INDICATOR_SIZEY, stg_model_set_cfg(), stg_model_set_cmd(), stg_model_set_color(), stg_model_set_data(), stg_model_set_geom(), stg_model_set_polygons(), stg_unit_polygon_create(), stg_size_t::x, stg_pose_t::x, stg_size_t::y, and stg_pose_t::y.
int laser_init | ( | stg_model_t * | mod | ) |
References stg_pose_t::a, FALSE, stg_laser_config_t::fov, gc_laser_init(), laser_load(), laser_render_cfg(), laser_render_data(), laser_shutdown(), laser_startup(), laser_unrender_cfg(), laser_unrender_data(), stg_geom_t::pose, stg_laser_config_t::range_max, stg_laser_config_t::range_min, stg_laser_config_t::resolution, stg_laser_config_t::samples, stg_geom_t::size, STG_DEFAULT_LASER_FOV, STG_DEFAULT_LASER_MAXRANGE, STG_DEFAULT_LASER_MINRANGE, STG_DEFAULT_LASER_SAMPLES, STG_DEFAULT_LASER_SIZEX, STG_DEFAULT_LASER_SIZEY, STG_LASER_BRIGHT_COLOR, STG_LASER_CFG_COLOR, STG_LASER_COLOR, STG_LASER_GEOM_COLOR, stg_lookup_color(), stg_model_add_property_toggles(), stg_model_set_cfg(), stg_model_set_color(), stg_model_set_data(), stg_model_set_geom(), stg_model_set_polygons(), stg_unit_polygon_create(), TRUE, stg_size_t::x, stg_pose_t::x, stg_size_t::y, and stg_pose_t::y.
int position_init | ( | stg_model_t * | mod | ) |
References stg_pose_t::a, drand48(), stg_position_cfg_t::drive_mode, FALSE, stg_position_data_t::integration_bias, stg_position_data_t::integration_error, stg_position_data_t::localization, stg_position_cmd_t::mode, position_load(), position_render_data(), position_render_text(), position_shutdown(), position_startup(), position_unrender_data(), position_unrender_text(), position_update(), stg_model_add_property_toggles(), stg_model_set_blob_return(), stg_model_set_cfg(), stg_model_set_cmd(), stg_model_set_data(), stg_model_set_velocity(), STG_POSITION_CONTROL_DEFAULT, STG_POSITION_DRIVE_DEFAULT, STG_POSITION_INTEGRATION_BIAS_MAX_A, STG_POSITION_INTEGRATION_BIAS_MAX_X, STG_POSITION_INTEGRATION_BIAS_MAX_Y, STG_POSITION_INTEGRATION_ERROR_A, STG_POSITION_INTEGRATION_ERROR_X, STG_POSITION_INTEGRATION_ERROR_Y, STG_POSITION_LOCALIZATION_DEFAULT, TRUE, stg_position_data_t::watchdog_timeout, stg_position_data_t::wheelbase, stg_pose_t::x, and stg_pose_t::y.
int ptz_init | ( | stg_model_t * | mod | ) |
int ranger_init | ( | stg_model_t * | mod | ) |
References stg_pose_t::a, stg_ranger_config_t::bounds_range, FALSE, stg_ranger_config_t::fov, gc_ranger_init(), M_PI, stg_bounds_t::max, stg_bounds_t::min, stg_ranger_config_t::pose, ranger_load(), ranger_render_cfg(), ranger_render_data(), ranger_shutdown(), ranger_startup(), ranger_unrender_cfg(), ranger_unrender_data(), stg_ranger_config_t::ray_count, stg_ranger_config_t::size, stg_geom_t::size, stg_lookup_color(), stg_model_add_property_toggles(), stg_model_set_cfg(), stg_model_set_color(), stg_model_set_data(), stg_model_set_geom(), stg_model_set_polygons(), STG_RANGER_CONFIG_COLOR, TRUE, stg_pose_t::x, stg_size_t::x, stg_pose_t::y, and stg_size_t::y.
int speech_init | ( | stg_model_t * | mod | ) |
References stg_pose_t::a, stg_speech_cmd_t::cmd, LaserTransparent, stg_geom_t::pose, stg_geom_t::size, speech_load(), speech_render_data(), speech_shutdown(), speech_startup(), speech_unrender_data(), speech_update(), stg_model_add_property_toggles(), stg_model_set_blob_return(), stg_model_set_cfg(), stg_model_set_cmd(), stg_model_set_color(), stg_model_set_data(), stg_model_set_geom(), stg_model_set_laser_return(), stg_model_set_obstacle_return(), STG_SPEECH_CMD_NOP, stg_speech_cmd_t::string, TRUE, stg_size_t::x, stg_pose_t::x, stg_size_t::y, and stg_pose_t::y.
int wifi_init | ( | stg_model_t * | mod | ) |
References stg_pose_t::a, stg_wifi_config_t::essid, FALSE, stg_wifi_config_t::freq, stg_wifi_config_t::ip, LaserTransparent, stg_wifi_config_t::mac, stg_wifi_data_t::neighbours, stg_wifi_config_t::plc, stg_wifi_config_t::ple, stg_geom_t::pose, stg_wifi_config_t::power, stg_wifi_config_t::range, stg_wifi_config_t::range_db, stg_wifi_config_t::sensitivity, stg_wifi_config_t::sigma, stg_geom_t::size, STG_DEFAULT_WIFI_ESSID, STG_DEFAULT_WIFI_FREQ, STG_DEFAULT_WIFI_IP, STG_DEFAULT_WIFI_MAC, STG_DEFAULT_WIFI_PATH_LOSS_EXPONENT, STG_DEFAULT_WIFI_PLC, STG_DEFAULT_WIFI_POWER, STG_DEFAULT_WIFI_RANGE, STG_DEFAULT_WIFI_RANGE_DB, STG_DEFAULT_WIFI_SENSITIVITY, STG_DEFAULT_WIFI_SIGMA, STG_DEFAULT_WIFI_WALL_FACTOR, stg_lookup_color(), stg_model_add_property_toggles(), stg_model_set_blob_return(), stg_model_set_cfg(), stg_model_set_color(), stg_model_set_data(), stg_model_set_geom(), stg_model_set_laser_return(), stg_model_set_obstacle_return(), STG_WIFI_CFG_COLOR, STG_WIFI_CFG_COLOR_GREEN, TRUE, stg_wifi_config_t::wall_factor, stg_size_t::x, stg_pose_t::x, stg_size_t::y, and stg_pose_t::y.
Variable Documentation
Initial value:
{ { "model", NULL }, { "position", position_init }, { "ranger", ranger_init }, { "laser", laser_init }, { "blobfinder", blobfinder_init }, { "fiducialfinder", fiducial_init }, { "gripper", gripper_init }, { "ptz", ptz_init }, { "wifi", wifi_init }, { "speech", speech_init }, { "audio", audio_init }, { "indicator", indicator_init }, { "bumper", bumper_init }, { NULL, NULL } }
Generated on Wed Jun 3 23:12:29 2009 for Stage by
