#include <map.h>
#include <movehelper.h>
#include <pthread.h>
#include <robomath.h>
#include <robot.h>
#include <robot_orte.h>
#include <signal.h>
#include <sys/time.h>
#include <time.h>
#include <unistd.h>
#include "map_handling.h"
#include <string.h>
#include "actuators.h"
#include <robodim.h>
#include <ul_log.h>
#include "motion-control.h"
Defines | |
#define | _XOPEN_SOURCE 500 |
#define | MOTION_CONTROL_INIT_ONLY |
Functions | |
UL_LOG_CUST (ulogd_robot) | |
void | fill_in_known_areas_in_map () |
int | robot_init () |
Initializes the robot. | |
int | robot_start () |
Starts the robot FSMs and threads. | |
void | robot_exit () |
Signals all the robot threads to finish. | |
void | robot_destroy () |
Stops the robot. | |
void | robot_get_est_pos_trans (double *x, double *y, double *phi) |
void | robot_get_est_pos (double *x, double *y, double *phi) |
Variables | |
struct robot | robot |
#define _XOPEN_SOURCE 500 |
#define MOTION_CONTROL_INIT_ONLY |
void fill_in_known_areas_in_map | ( | ) |
void robot_destroy | ( | ) |
Stops the robot.
All resources alocated by robot_init() or robot_start() are dealocated here.
void robot_exit | ( | ) |
Signals all the robot threads to finish.
void robot_get_est_pos | ( | double * | x, | |
double * | y, | |||
double * | phi | |||
) |
void robot_get_est_pos_trans | ( | double * | x, | |
double * | y, | |||
double * | phi | |||
) |
int robot_init | ( | ) |
Initializes the robot.
Setup fields in robot structure, initializes FSMs and ORTE.
int robot_start | ( | ) |
Starts the robot FSMs and threads.
UL_LOG_CUST | ( | ulogd_robot | ) |