void carmen_laser_subscribe_laser1_message(carmen_laser_laser_message *laser, carmen_handler_t handler, carmen_subscribe_t subscribe_how) { carmen_laser_subscribe_frontlaser_message(laser, handler, subscribe_how); }
void Carmen_Thread::register_handlers() { carmen_map_t map; carmen_map_get_gridmap(&map); set_map(&map); emit_map_changed_signal(map); carmen_map_subscribe_gridmap_update_message( NULL, (carmen_handler_t)map_handler, CARMEN_SUBSCRIBE_LATEST); carmen_grid_mapping_subscribe_message(NULL, (carmen_handler_t)grid_map_handler, CARMEN_SUBSCRIBE_LATEST); carmen_localize_ackerman_subscribe_globalpos_message( NULL, (carmen_handler_t)globalpos_handler, CARMEN_SUBSCRIBE_LATEST); carmen_simulator_ackerman_subscribe_truepos_message( NULL, (carmen_handler_t)truepos_handler, CARMEN_SUBSCRIBE_LATEST); carmen_simulator_subscribe_truepos_message( NULL, (carmen_handler_t)truepos_handler_diff, CARMEN_SUBSCRIBE_LATEST); carmen_localize_ackerman_subscribe_particle_message( NULL, (carmen_handler_t)particle_handler, CARMEN_SUBSCRIBE_LATEST); carmen_localize_subscribe_globalpos_message( NULL, (carmen_handler_t)globalpos_handler_diff, CARMEN_SUBSCRIBE_LATEST); carmen_laser_subscribe_frontlaser_message( NULL, (carmen_handler_t)laser_handler, CARMEN_SUBSCRIBE_LATEST); carmen_localize_ackerman_subscribe_sensor_message( NULL, (carmen_handler_t)localize_laser_handler, CARMEN_SUBSCRIBE_LATEST); carmen_navigator_ackerman_subscribe_plan_message( NULL, (carmen_handler_t)plan_handler, CARMEN_SUBSCRIBE_LATEST); carmen_navigator_subscribe_plan_message( NULL, (carmen_handler_t)plan_handler, CARMEN_SUBSCRIBE_LATEST); carmen_navigator_ackerman_subscribe_status_message( NULL, (carmen_handler_t) navigator_status_handler, CARMEN_SUBSCRIBE_LATEST); IPC_setMsgQueueLength(CARMEN_GRID_MAPPING_MESSAGE_NAME, 1); carmen_rrt_planner_subscribe_robot_tree_message( NULL, (carmen_handler_t)rrt_planner_robot_tree_handler, CARMEN_SUBSCRIBE_LATEST); carmen_rrt_planner_subscribe_goal_tree_message( NULL, (carmen_handler_t)rrt_planner_goal_tree_handler, CARMEN_SUBSCRIBE_LATEST); carmen_rrt_planner_subscribe_status_message( NULL, (carmen_handler_t)rrt_status_handler, CARMEN_SUBSCRIBE_LATEST); }