Defines | Enumerations | Functions

fsmmove.cc File Reference

FSM move. More...

#include <sys/time.h>
#include <time.h>
#include "trgen.h"
#include "balet.h"
#include "robodata.h"
#include <robot.h>
#include <pthread.h>
#include <path_planner.h>
#include <signal.h>
#include <movehelper.h>
#include <sharp.h>
#include <unistd.h>
#include <map.h>
#include "robot_config.h"
#include <robomath.h>
#include "motion-control.h"
#include <hokuyo.h>
#include <ul_log.h>
Include dependency graph for fsmmove.cc:

Defines

#define NEVER
#define DEBUG
#define FSM_MOTION
#define DBG(format,...)
#define MAX_WAIT_FOR_CLOSE_MS   2000
#define TRGEN_DELAY   0.3

Enumerations

enum  target_status { TARGET_OK, TARGET_INACC, TARGET_ERROR }

Functions

 UL_LOG_CUST (ulogd_fsmmove)
void invalidate (Point point)
enum target_status recalculate_trajectory (void)
 Recalculates trajectory to previous move target specified by new_target().
 FSM_STATE_DECL (movement)
 FSM_STATE_DECL (close_to_target)
 FSM_STATE_DECL (wait_for_command)
 FSM_STATE_DECL (lost)
 FSM_STATE_DECL (wait_and_try_again)
 FSM_STATE (init)
 FSM_STATE (wait_for_command)
 FSM_STATE (movement)
 FSM_STATE (close_to_target)
 FSM_STATE (lost)
 FSM_STATE (wait_and_try_again)

Detailed Description

FSM move.

Author:
Michal Sojka, Jose Maria Martin Laguna, Petr Beneš

Define Documentation

#define DBG (   format,
  ... 
)
#define DEBUG
#define FSM_MOTION
#define MAX_WAIT_FOR_CLOSE_MS   2000
#define NEVER
#define TRGEN_DELAY   0.3

Enumeration Type Documentation

Enumerator:
TARGET_OK 
TARGET_INACC 
TARGET_ERROR 

Function Documentation

FSM_STATE ( wait_and_try_again   ) 

Here is the call graph for this function:

FSM_STATE ( movement   ) 

Here is the call graph for this function:

FSM_STATE ( close_to_target   ) 

Here is the call graph for this function:

FSM_STATE ( lost   ) 

Here is the call graph for this function:

FSM_STATE ( init   ) 
FSM_STATE ( wait_for_command   ) 

Here is the call graph for this function:

FSM_STATE_DECL ( movement   ) 
FSM_STATE_DECL ( close_to_target   ) 
FSM_STATE_DECL ( wait_for_command   ) 
FSM_STATE_DECL ( wait_and_try_again   ) 
FSM_STATE_DECL ( lost   ) 
void invalidate ( Point  point  ) 
enum target_status recalculate_trajectory ( void   ) 

Recalculates trajectory to previous move target specified by new_target().

Returns:

Here is the caller graph for this function:

UL_LOG_CUST ( ulogd_fsmmove   )