Fawkes API
Fawkes Development Version
|
Typedefs | |
typedef void(* | InterfaceDestroyFunc) (Interface *interface) |
Interface destructor function for the shared library. More... | |
typedef Interface *(* | InterfaceFactoryFunc) (void) |
Interface generator function for the shared library Do not use directly. More... | |
typedef std::map< int, std::string > | interface_enum_map_t |
Map of enum integer to string values. More... | |
typedef std::vector< Eigen::Vector2f, Eigen::aligned_allocator< Eigen::Vector2f > > | Polygon2D |
Polygon as a vector of 2D points. More... | |
typedef struct fawkes::point_struct | point_t |
Point with cartesian coordinates as signed integers. More... | |
typedef struct fawkes::cart_coord_2d_struct | cart_coord_2d_t |
Cartesian coordinates (2D). More... | |
typedef struct fawkes::field_line_struct | field_line_t |
Describes a field line. More... | |
typedef struct fawkes::arc_struct | arc_t |
Defines an arc (or circle) More... | |
typedef struct fawkes::ellipse_struct | ellipse_t |
Defines an ellipse. More... | |
typedef struct fawkes::point_6D_struct | point_6D_t |
Defines a point with 6-degrees of freedom. More... | |
typedef float | Probability |
A probability type. More... | |
typedef struct jaco_arm_struct | jaco_arm_t |
Jaco struct containing all components required for one arm. More... | |
typedef struct jaco_dual_arm_struct | jaco_dual_arm_t |
Jaco struct containing all components required for a dual-arm setup. More... | |
typedef std::vector< float > | jaco_trajec_point_t |
A trajectory point. More... | |
typedef std::vector< jaco_trajec_point_t > | jaco_trajec_t |
A trajectory. More... | |
typedef enum fawkes::jaco_arm_config_enum | jaco_arm_config_t |
The setup-configuration of the arm. More... | |
typedef enum fawkes::jaco_target_type_enum | jaco_target_type_t |
The type of a target. More... | |
typedef enum fawkes::jaco_trajec_state_enum | jaco_trajec_state_t |
The state of a trajectory. More... | |
typedef struct fawkes::jaco_target_struct_t | jaco_target_t |
Jaco target struct, holding information on a target. More... | |
typedef std::list< RefPtr< jaco_target_t > > | jaco_target_queue_t |
FIFO target queue, holding RefPtr to targets. More... | |
typedef RefPtr< OpenRaveEnvironment > | OpenRaveEnvironmentPtr |
RefPtr to OpenRaveEnvironment. More... | |
typedef RefPtr< OpenRaveRobot > | OpenRaveRobotPtr |
RefPtr to OpenRaveRobot. More... | |
typedef RefPtr< OpenRaveManipulator > | OpenRaveManipulatorPtr |
RefPtr to OpenRaveManipulator. More... | |
Functions | |
BlackBoard::ListenerRegisterFlag | operator| (const BlackBoard::ListenerRegisterFlag &a, const BlackBoard::ListenerRegisterFlag &b) |
Concatenation of register flags. More... | |
BlackBoard::ListenerRegisterFlag | operator& (const BlackBoard::ListenerRegisterFlag &a, const BlackBoard::ListenerRegisterFlag &b) |
Testing of register flags. More... | |
template<typename T > | |
static T | get_value_as (std::shared_ptr< YamlConfigurationNode > root, const char *path) |
Retrieve value casted to given type T. More... | |
template<typename T > | |
static std::vector< T > | get_list (std::shared_ptr< YamlConfigurationNode > root, const char *path) |
Retrieve value casted to given type T. More... | |
template<typename T > | |
static bool | is_type (std::shared_ptr< YamlConfigurationNode > root, const char *path) |
Check if value is of given type T. More... | |
static void | dump_table (FILE *f, ::sqlite3 *tdb, const char *table_name) |
Dump table. More... | |
static std::string | sql_escape_noop (const char *line) |
SQL escaping stub. More... | |
static std::string | abs_cfg_path (const std::string &path) |
Create absolute config path. More... | |
static std::string | insert_hostname (std::string prelim) |
Replace $host in string with hostname. More... | |
template<typename T > | |
static T | get_value_as (std::shared_ptr< YamlConfigurationNode > root, const char *path) |
Retrieve value casted to given type T. More... | |
template<typename T > | |
static std::vector< T > | get_list (std::shared_ptr< YamlConfigurationNode > root, const char *path) |
Retrieve value casted to given type T. More... | |
template<typename T > | |
static bool | is_type (std::shared_ptr< YamlConfigurationNode > root, const char *path) |
Check if value is of given type T. More... | |
static bool | contains (Point_map points, Point_2 point, std::string &name, float near_threshold) |
Check if a point is already contained in a map. More... | |
static void | operator>> (const YAML::Node &n, NavGraphNode &node) |
Read topological map node from YAML iterator. More... | |
static void | operator>> (const YAML::Node &n, NavGraphEdge &edge) |
Read topological map edge from YAML iterator. More... | |
void | read_default_properties (NavGraph *graph, YAML::Node &doc) |
Read default properties for graph from YAML node. More... | |
NavGraph * | load_yaml_navgraph (std::string filename, bool allow_multi_graph) |
Load topological map graph stored in RCSoft format. More... | |
void | save_yaml_navgraph (std::string filename, NavGraph *graph) |
Save navgraph to YAML file. More... | |
static int | sock_addr_cmp_addr (const struct sockaddr *a, const struct sockaddr *b) |
Compare two sockaddr structures. More... | |
size_t | sock_addr_size (const struct sockaddr *a) |
Get canonical size of sockaddr structure. More... | |
float | deg2rad (float deg) |
Convert an angle given in degrees to radians. More... | |
float | rad2deg (float rad) |
Convert an angle given in radians to degrees. More... | |
float | distance (float x1, float y1, float x2, float y2) |
Get distance between two 2D cartesian coordinates. More... | |
float | normalize_mirror_rad (float angle_rad) |
Normalize angle in radian between -PI (inclusive) and PI (exclusive). More... | |
float | normalize_rad (float angle_rad) |
Normalize angle in radian between 0 (inclusive) and 2*PI (exclusive). More... | |
float | normalize_bigmirror_rad (float angle_rad) |
Normalizes angle in radian between -3*PI and 3*PI. More... | |
float | angle_distance (float angle_rad1, float angle_rad2) |
Determines the distance between two angle provided as radians. More... | |
float | angle_distance_signed (float angle_from, float angle_to) |
Determines the signed distance between from "angle_from" to "angle_to" provided as radians. More... | |
double | sqr (double x) |
Fast square multiplication. More... | |
float | sqr (float x) |
Fast square multiplication. More... | |
int | sqr (int x) |
Fast square multiplication. More... | |
unsigned long | sqr (unsigned long x) |
Fast square multiplication. More... | |
float | point_dist (float x1, float y1, float x2, float y2) |
Get distance of two points. More... | |
bool | points_different (float x1, float y1, float x2, float y2, float threshold=1e-4) |
Check if two points are different with regard to a given threshold. More... | |
void | cart2polar2d (float cart_x, float cart_y, float *polar_phi, float *polar_dist) |
Convert a 2D cartesian coordinate to a 2D polar coordinate. More... | |
void | cart2polar3d (float cart_x, float cart_y, float cart_z, float &polar_phi, float &polar_theta, float &polar_r) |
Convert a 3D cartesian coordinate (x, y, z) to a 3D polar coordinate. More... | |
void | polar2cart2d (float polar_phi, float polar_dist, float *cart_x, float *cart_y) |
Convert a 2D polar coordinate to a 2D cartesian coordinate. More... | |
template<typename Scalar > | |
Scalar | quat_yaw (const Eigen::Quaternion< Scalar > &q) |
Calculate Yaw angle from quaternion. More... | |
template<typename Scalar > | |
void | quat_to_euler (const Eigen::Quaternion< Scalar > &q, float &roll, float &pitch, float &yaw) |
Get euler angles for quaternion. More... | |
bool | line_segm_intersect (const Eigen::Vector2f l1_from, const Eigen::Vector2f l1_to, const Eigen::Vector2f l2_from, const Eigen::Vector2f l2_to) |
Check if two line segments intersect. More... | |
Eigen::Vector2f | line_segm_intersection (const Eigen::Vector2f l1_from, const Eigen::Vector2f l1_to, const Eigen::Vector2f l2_from, const Eigen::Vector2f l2_to) |
Get line segment intersection point. More... | |
float | polygon_area (const Polygon2D &p) |
Calculate area of a polygon. More... | |
bool | polygon_contains (const Polygon2D &polygon, const Eigen::Vector2f &point) |
Check if given point lies inside the polygon. More... | |
Eigen::Vector2f | polygon_centroid (const Polygon2D &p) |
Calculate centroid of polygon. More... | |
float | gauss (const float diff, const float sigma=1.0) |
The normal distribution. More... | |
float | intersection_integral_oftwo_gaussians (float mu1, float sigma1, float mu2, float sigma2, float step) |
Computes the intersection integral of two gaussians given. More... | |
double | triangle_area (const Eigen::Vector2f &p0, const Eigen::Vector2f &p1, const Eigen::Vector2f &p2) |
Calculate triangle area. More... | |
bool | triangle_contains (const Eigen::Vector2f &p0, const Eigen::Vector2f &p1, const Eigen::Vector2f &p2, const Eigen::Vector2f &p) |
Check if a triangle contains a point. More... | |
std::string | command_args_tostring (const char *argv[]) |
Convert command args to string. More... | |
std::string | envp_tostring (char *envp[]) |
Convert environment to string. More... | |
std::vector< std::string > | envp_copy_expand (char *environ[], const char *path_ext[]) |
Copy an environment and extend certain paths. More... | |
static std::vector< std::string > | str_split (const std::string &s, char delim='/') |
Split string by delimiter. More... | |
static std::vector< std::string > | str_split (const std::string &s, std::string delim) |
Split string by delimiter string. More... | |
static std::list< std::string > | str_split_list (const std::string &s, char delim='/') |
Split string by delimiter. More... | |
static std::string | str_join (const std::vector< std::string > &v, char delim='/') |
Join vector of strings string using given delimiter. More... | |
static std::string | str_join (const std::list< std::string > &l, char delim='/') |
Join list of strings string using given delimiter. More... | |
template<typename InputIterator > | |
std::string | str_join (const InputIterator &first, const InputIterator &last, char delim='/') |
Join list of strings string using given delimiter. More... | |
static std::string | str_join (const std::list< std::string > &l, std::string delim) |
Join list of strings string using given delimiter. More... | |
template<typename InputIterator > | |
std::string | str_join (const InputIterator &first, const InputIterator &last, std::string delim) |
Join list of strings string using given delimiter. More... | |
static std::queue< std::string > | str_split_to_queue (const std::string &s, char delim='/') |
Split string by delimiter. More... | |
int | unhex (char c) |
Transform hex to value. More... | |
void | hex_unescape (char *s) |
Remove URL hex escapes from s in place. More... | |
Module::ModuleFlags | operator| (const Module::ModuleFlags &flags_a, const Module::ModuleFlags &flags_b) |
Concatenation of flags. More... | |
std::string | filetype_file (const char *filename) |
Get filetype of file. More... | |
std::string | filetype_file (int fd) |
Get filetype of file given by file descriptor. More... | |
std::string | mimetype_file (const char *filename) |
Get mime-type of file. More... | |
std::string | mimetype_file (int fd) |
Get mime-type of file given by file descriptor. More... | |
static void | set_nonblock_flag () |
Set non-blocking flag on STDIN. More... | |
static void | clear_nonblock_flag () |
Clear non-blocking flag on STDIN. More... | |
char | getkey (int timeout_decisecs) |
Get value of a single key-press non-blocking. More... | |
double | time_diff_sec (const timeval &a, const timeval &b) |
Calculate time difference of two time structs. More... | |
double | time_diff_sec (const long int a_sec, const long int a_usec, const long int b_sec, const long int b_usec) |
Calculate time difference of two time structs. More... | |
long int | time_sec_to_usec (double sec) |
Convert seconds to micro seconds. More... | |
long int | time_diff_usec (const timeval &a, const timeval &b) |
Get difference between two time structs in microseconds. More... | |
WebReply * | no_caching (WebReply *reply) |
Disable caching on a reply. More... | |
static ssize_t | dynamic_reply_data_cb (void *reply, uint64_t pos, char *buf, size_t max) |
Callback based chunk-wise data. More... | |
static void | dynamic_reply_free_cb (void *reply) |
Callback to free dynamic web reply. More... | |
bool | isProb (Probability p) |
Check if the probability value is valid. More... | |
void | radToEnc (std::vector< float > &rad, std::vector< int > &enc) |
Convert radian vaulues of katana arm to encoder values. More... | |
void | encToRad (std::vector< int > &enc, std::vector< float > &rad) |
Convert encoder vaulues of katana arm to radian angles. More... | |
void | run_viewer (OpenRAVE::EnvironmentBasePtr env, const std::string &viewername, bool *running) |
Sets and loads a viewer for OpenRAVE. More... | |
const char * | worldinfo_msl_gamestate_tostring (worldinfo_msl_gamestate_t gamestate) |
Convert MSL gamestate to a string. More... | |
const char * | worldinfo_spl_gamestate_tostring (worldinfo_spl_gamestate_t gamestate) |
Convert MSL gamestate to a string. More... | |
const char * | worldinfo_gamestate_team_tostring (worldinfo_gamestate_team_t team) |
Convert gamestate team to a string. More... | |
const char * | worldinfo_gamestate_goalcolor_tostring (worldinfo_gamestate_goalcolor_t goal_color) |
Convert goal color to a string. More... | |
const char * | worldinfo_gamestate_half_tostring (worldinfo_gamestate_half_t half) |
Convert half time to a string. More... | |
const char * | worldinfo_penalty_tostring (worldinfo_penalty_t penalty) |
Convert penalty to a string. More... | |
Variables | |
const typedef char *(* | PluginDescriptionFunc )() |
Plugin description function for the shared library. More... | |
const typedef char *(* | PluginDependenciesFunc )() |
Plugin depdendency function for the shared library. More... | |
static const char * | c_black = "\033[0;30m" |
Print black on console. More... | |
static std::string | cblack = c_black |
Print black on console. More... | |
static const char * | c_darkgray = "\033[1;30m" |
Print dark gray on console. More... | |
static std::string | cdarkgray = c_darkgray |
Print dark gray on console. More... | |
static const char * | c_red = "\033[0;31m" |
Print red on console. More... | |
static std::string | cred = c_red |
Print red on console. More... | |
static const char * | c_lightred = "\033[1;31m" |
Print light red on console. More... | |
static std::string | clightred = c_lightred |
Print light red on console. More... | |
static const char * | c_green = "\033[0;32m" |
Print green on console. More... | |
static std::string | cgreen = c_green |
Print green on console. More... | |
static const char * | c_lightgreen = "\033[1;32m" |
Print light green on console. More... | |
static std::string | clightgreen = c_lightgreen |
Print light green on console. More... | |
static const char * | c_brown = "\033[0;33m" |
Print brown on console. More... | |
static std::string | cbrown = c_brown |
Print brown on console. More... | |
static const char * | c_yellow = "\033[1;33m" |
Print yellow on console. More... | |
static std::string | cyellow = c_yellow |
Print yellow on console. More... | |
static const char * | c_blue = "\033[0;34m" |
Print blue on console. More... | |
static std::string | cblue = c_blue |
Print blue on console. More... | |
static const char * | c_lightblue = "\033[1;34m" |
Print light blue on console. More... | |
static std::string | clightblue = c_lightblue |
Print light blue on console. More... | |
static const char * | c_purple = "\033[0;35m" |
Print purple on console. More... | |
static std::string | cpurple = c_purple |
Print purple on console. More... | |
static const char * | c_lightpurple = "\033[1;35m" |
Print light purple on console. More... | |
static std::string | clightpurple = c_lightpurple |
Print light purple on console. More... | |
static const char * | c_cyan = "\033[0;36m" |
Print cyan on console. More... | |
static std::string | ccyan = c_cyan |
Print cyan on console. More... | |
static const char * | c_lightcyan = "\033[1;36m" |
Print light cyan on console. More... | |
static std::string | clightcyan = c_lightcyan |
Print light cyan on console. More... | |
static const char * | c_lightgray = "\033[2;37m" |
Print light gray on console. More... | |
static std::string | clightgray = c_lightgray |
Print light gray on console. More... | |
static const char * | c_white = "\033[1;37m" |
Print white on console. More... | |
static std::string | cwhite = c_white |
Print white on console. More... | |
static const char * | c_normal = "\033[0;39m" |
Print normal on console, without colors, depends on console settings. More... | |
static std::string | cnormal = c_normal |
Print normal on console, without colors, depends on console settings. More... | |
const Time | TIME_MAX = Time(std::numeric_limits<time_t>::max(), 999999) |
Instance of Time denoting the maximum value possible. More... | |
const Time | TIME_MIN = Time(0, 1) |
Instance of Time denoting the minimum value possible. More... | |
const float | OCCUPANCY_THRESHOLD = 0.45f |
Occupancy threshold. More... | |
Fawkes library namespace. This namespace is used for the Fawkes base libraries. As a rule of thumb everything that is in src/libs belongs to this namespace.
typedef struct fawkes::arc_struct fawkes::arc_t |
Defines an arc (or circle)
typedef struct fawkes::cart_coord_2d_struct fawkes::cart_coord_2d_t |
Cartesian coordinates (2D).
typedef struct fawkes::ellipse_struct fawkes::ellipse_t |
Defines an ellipse.
typedef struct fawkes::field_line_struct fawkes::field_line_t |
Describes a field line.
typedef std::map<int, std::string> fawkes::interface_enum_map_t |
typedef void(* fawkes::InterfaceDestroyFunc) (Interface *interface) |
Interface destructor function for the shared library.
Do not use directly. Use EXPORT_INTERFACE macro.
interface | Interface to destroy |
Definition at line 323 of file interface.h.
typedef Interface*(* fawkes::InterfaceFactoryFunc) (void) |
Interface generator function for the shared library Do not use directly.
Use EXPORT_INTERFACE macro.
Definition at line 328 of file interface.h.
typedef enum fawkes::jaco_arm_config_enum fawkes::jaco_arm_config_t |
The setup-configuration of the arm.
typedef struct fawkes::jaco_arm_struct fawkes::jaco_arm_t |
Jaco struct containing all components required for one arm.
Definition at line 39 of file act_thread.h.
typedef struct fawkes::jaco_dual_arm_struct fawkes::jaco_dual_arm_t |
Jaco struct containing all components required for a dual-arm setup.
Definition at line 39 of file bimanual_act_thread.h.
typedef std::list<RefPtr<jaco_target_t> > fawkes::jaco_target_queue_t |
typedef struct fawkes::jaco_target_struct_t fawkes::jaco_target_t |
Jaco target struct, holding information on a target.
typedef enum fawkes::jaco_target_type_enum fawkes::jaco_target_type_t |
The type of a target.
typedef std::vector<float> fawkes::jaco_trajec_point_t |
The state of a trajectory.
typedef std::vector<jaco_trajec_point_t> fawkes::jaco_trajec_t |
RefPtr to OpenRaveEnvironment.
Definition at line 41 of file openrave_connector.h.
RefPtr to OpenRaveManipulator.
Definition at line 48 of file openrave_connector.h.
typedef RefPtr< OpenRaveRobot > fawkes::OpenRaveRobotPtr |
RefPtr to OpenRaveRobot.
Definition at line 46 of file openrave_connector.h.
typedef struct fawkes::point_6D_struct fawkes::point_6D_t |
Defines a point with 6-degrees of freedom.
typedef struct point_struct fawkes::point_t |
typedef std::vector<Eigen::Vector2f, Eigen::aligned_allocator<Eigen::Vector2f> > fawkes::Polygon2D |
typedef float fawkes::Probability |
A probability type.
Definition at line 35 of file probability.h.
BlackBoard network message types.
Definition at line 43 of file messages.h.
Error codes.
Definition at line 64 of file messages.h.
Interface field type.
The state of a trajectory.
Plugin message type.
Enumerator | |
---|---|
MSG_PLUGIN_LOAD | request plugin load (plugin_load_msg_t) |
MSG_PLUGIN_LOADED | plugin loaded (plugin_loaded_msg_t) |
MSG_PLUGIN_LOAD_FAILED | plugin load failed (plugin_load_failed_msg_t) |
MSG_PLUGIN_UNLOAD | request plugin unload (plugin_unload_msg_t) |
MSG_PLUGIN_UNLOADED | plugin unloaded (plugin_unloaded_msg_t) |
MSG_PLUGIN_UNLOAD_FAILED | plugin unload failed (plugin_unload_failed_msg_t) |
MSG_PLUGIN_LIST_AVAIL | request list of available plugins |
MSG_PLUGIN_AVAIL_LIST | list of available plugins (plugin_list_msg_t) |
MSG_PLUGIN_AVAIL_LIST_FAILED | listing available plugins failed |
MSG_PLUGIN_LIST_LOADED | request lif of loaded plugins |
MSG_PLUGIN_LOADED_LIST | list of loaded plugins (plugin_list_msg_t) |
MSG_PLUGIN_LOADED_LIST_FAILED | listing loaded plugins failed |
MSG_PLUGIN_SUBSCRIBE_WATCH | Subscribe for watching load/unload events. |
MSG_PLUGIN_UNSUBSCRIBE_WATCH | Unsubscribe from watching load/unload events. |
Definition at line 38 of file messages.h.
Target types.
Game states for RoboCup MSL.
Enumerator | |
---|---|
GS_FROZEN | Frozen, nothing moves. |
GS_PLAY | Play, normal play. |
GS_KICK_OFF | Kick off. |
GS_DROP_BALL | Referee drops ball, both teams can wrestle for the ball. |
GS_PENALTY | Penalty kick. |
GS_CORNER_KICK | Corner kick. |
GS_THROW_IN | Throw in. |
GS_FREE_KICK | Free kick. |
GS_GOAL_KICK | Goal kick. |
GS_HALF_TIME | Half time. |
Robot penalty code.
|
static |
|
inline |
Determines the distance between two angle provided as radians.
angle_rad1 | first angle in radian |
angle_rad2 | second angle in radian |
Definition at line 129 of file angle.h.
References normalize_mirror_rad().
|
inline |
Determines the signed distance between from "angle_from" to "angle_to" provided as radians.
angle_to | angle to which the signed value is calculated |
angle_from | angle from which the signed value is calculated |
Definition at line 140 of file angle.h.
Referenced by fawkes::LaserOccupancyGrid::reset_old().
|
inline |
Convert a 2D cartesian coordinate to a 2D polar coordinate.
polar_phi | Phi of the polar coordinate |
polar_dist | distnace of the polar coordinate |
cart_x | upon return contains X of the cartesian coordinate |
cart_y | upon return contains Y of the cartesian coordinate |
Definition at line 44 of file coord.h.
Referenced by JoystickTeleOpThread::loop().
|
inline |
|
static |
Clear non-blocking flag on STDIN.
Definition at line 56 of file getkey.cpp.
std::string fawkes::command_args_tostring | ( | const char * | argv[] | ) |
Convert command args to string.
argv | arguments, assumed to be standard args as passed to programs, i.e. the first element is the executable, the following are the parameters. |
Definition at line 45 of file string_commands.cpp.
|
static |
Check if a point is already contained in a map.
points | map of points to check for point |
point | point to check whether it already exists |
name | if the point was found in the map will be assigned the name of the point in the map upon return |
near_threshold | distance threshold for which to consider nodes to be the same if the distance is smaller than this threshold. |
Definition at line 84 of file voronoi.cpp.
Referenced by firevision::MirrorCalibTool::CartesianImage::bright_fraction(), fawkes::NavGraphGeneratorVoronoi::compute(), firevision::MirrorCalibTool::CartesianImage::contains(), firevision::MirrorCalibTool::CartesianImage::draw_line(), firevision::MirrorCalibTool::CartesianImage::get(), firevision::MirrorCalibTool::CartesianImage::highlight_pixel(), firevision::MirrorCalibTool::CartesianImage::highlight_point(), and firevision::MirrorCalibTool::CartesianImage::set_color().
|
inline |
Convert an angle given in degrees to radians.
deg | original value in degrees |
Definition at line 42 of file angle.h.
Referenced by firevision::BallTrigoRelativePos::BallTrigoRelativePos(), RosLaserScanThread::bb_interface_created(), RosLaserScanThread::bb_interface_data_changed(), firevision::BoxRelative::BoxRelative(), firevision::LineShape::calcPoints(), firevision::CornerHorizon::CornerHorizon(), LaserDrawingArea::draw_beams(), firevision::MirrorCalibTool::draw_crosshair(), firevision::MirrorCalibTool::draw_line(), LaserDrawingArea::draw_segments(), encToRad(), DynamixelDriverThread::exec_sensor(), LaserProjectionDataFilter::filter(), firevision::FrontBallRelativePos::FrontBallRelativePos(), RobotisRX28::get_max_supported_speed(), DynamixelChain::get_max_supported_speed(), OpenRobotinoComThread::get_odometry(), firevision::TriclopsStereoProcessor::get_world_xyz(), firevision::TriclopsStereoProcessor::getall_world_xyz(), firevision::MirrorCalibTool::CartesianImage::highlight_line(), CruizCoreXG1010AcquisitionThread::init(), TabletopVisualizationThread::init(), LaserPointCloudThread::init(), PanTiltRX28Thread::init(), RosLaserScanThread::init(), OpenRobotinoComThread::init(), AmclThread::init(), TabletopObjectsThread::init(), firevision::MirrorCalibTool::CartesianImage::is_line(), fawkes::RoboShape::is_robot_reading_for_rad(), LaserCalibration::laser_to_pointcloud(), fawkes::LaserOccupancyGrid::LaserOccupancyGrid(), LaserProjectionDataFilter::LaserProjectionDataFilter(), MapLaserGenThread::loop(), RosLaserScanThread::loop(), radToEnc(), NaoQiMotionKickTask::run(), firevision::ScanlineStar::ScanlineStar(), firevision::BoxRelative::set_horizontal_angle(), firevision::FrontBallRelativePos::set_horizontal_angle(), firevision::BoxRelative::set_vertical_angle(), firevision::FrontBallRelativePos::set_vertical_angle(), and JacoOpenraveThread::update_openrave().
|
inline |
Get distance between two 2D cartesian coordinates.
x1 | X coordinate of first point |
y1 | Y coordinate of first point |
x2 | X coordinate of second point |
y2 | Y coordinate of second point |
Definition at line 65 of file angle.h.
Referenced by NavGraphClustersThread::blocked_edges_centroids(), NavGraphClustersDistanceCostConstraint::cost_factor(), fawkes::AbstractDriveMode::lin_interpol(), and JoystickTeleOpThread::loop().
|
static |
Dump table.
Dumps a table to the given file.
f | file to write to |
tdb | SQLite3 database to read from |
table_name | Name of the table to dump |
Definition at line 307 of file sqlite.cpp.
|
static |
Callback based chunk-wise data.
Supplies data chunk based.
reply | instance of DynamicWebReply |
pos | position in stream |
buf | buffer to put data in |
max | maximum number of bytes that can be put in buf |
Definition at line 207 of file request_dispatcher.cpp.
References fawkes::WebReply::get_request(), fawkes::WebRequest::increment_reply_size(), and fawkes::DynamicWebReply::next_chunk().
|
static |
Callback to free dynamic web reply.
reply | Instance of DynamicWebReply to free. |
Definition at line 221 of file request_dispatcher.cpp.
|
inline |
Convert encoder vaulues of katana arm to radian angles.
enc | vector with encoder values, received from CKatana::getRobotEncoders |
rad | vector to be filled with angle values |
Definition at line 56 of file conversion.h.
References deg2rad(), and encToRad().
Referenced by encToRad().
std::vector< std::string > fawkes::envp_copy_expand | ( | char * | environ[], |
const char * | path_ext[] | ||
) |
Copy an environment and extend certain paths.
This will create a vector which comprises the environment in environ
. The path_ext are assumed to be pairwise entries of environment variable name followed by an entry for the path extensions. Paths are here colon-separated strings of paths, e.g. like the PATH environment variable. If the variable had already been set, the given paths are appended to the variable (a closing colon will be maintained if it exists). If they were not set before, the entry is added.
environ | environment to copy |
path_ext | path extension, an array of an odd number of elements, always pairwise an entry for the variable name followed by the path extension. The last element must always be NULL. |
Definition at line 89 of file string_commands.cpp.
std::string fawkes::envp_tostring | ( | char * | envp[] | ) |
Convert environment to string.
This simply creates a string with semi-colon separated environment elements. This is mostly useful for debug output of the environment.
envp | environment string array |
Definition at line 63 of file string_commands.cpp.
std::string fawkes::filetype_file | ( | const char * | filename | ) |
Get filetype of file.
Returns a long decriptive string of the filetype, similar to the file console utility.
filename | path to the file whose type should be determined |
Definition at line 51 of file filetype.cpp.
std::string fawkes::filetype_file | ( | int | fd | ) |
Get filetype of file given by file descriptor.
Returns a long decriptive string of the filetype, similar to the file console utility.
fd | file descriptor of open file, make sure the file descriptor is rewinded Warning, the file descriptor is closed by the underlying libmagic. Use dup() to duplicate it and pass this as file descriptor if you need the file afterwards. |
Definition at line 86 of file filetype.cpp.
|
inline |
The normal distribution.
diff | the differance: (x - mu) for the mean mu and the randomvariable x |
sigma | the variance |
Definition at line 43 of file probdist.h.
|
inlinestatic |
Retrieve value casted to given type T.
root | root node of the tree to search |
path | path to query |
YAML::ScalarInvalid | thrown if value does not exist or is of a different type. |
Definition at line 125 of file memory.cpp.
|
inlinestatic |
|
inlinestatic |
Retrieve value casted to given type T.
root | root node of the tree to search |
path | path to query |
YAML::ScalarInvalid | thrown if value does not exist or is of a different type. |
Definition at line 107 of file memory.cpp.
|
inlinestatic |
char fawkes::getkey | ( | int | timeout_decisecs | ) |
Get value of a single key-press non-blocking.
This method checks if a new keypress has happened and returns the value in this case. Otherwise it returns 0. The method does not block.
timeout_decisecs | If less than 0 wait forever, if 0 non-blocking (returns 0 if no key pressed immediately, if greater than 0 it is the timeout in deciseconds. |
Definition at line 74 of file getkey.cpp.
void fawkes::hex_unescape | ( | char * | s | ) |
Remove URL hex escapes from s in place.
s | string to manipulate |
Definition at line 48 of file string_urlescape.h.
References unhex().
|
static |
|
inline |
Computes the intersection integral of two gaussians given.
mu1 | mean of first gaussian |
sigma1 | variance of first gaussian |
mu2 | mean of second gaussian |
sigma2 | variance of second gaussian |
step | discretization steps for the integral computation |
Definition at line 59 of file probdist.h.
|
inlinestatic |
Check if value is of given type T.
root | root node of the tree to search |
path | path to query |
Definition at line 201 of file memory.cpp.
|
inlinestatic |
|
inline |
Check if the probability value is valid.
p | The probablity |
Definition at line 42 of file probability.h.
Referenced by fawkes::OccupancyGrid::set_height(), and fawkes::OccupancyGrid::set_prob().
bool fawkes::line_segm_intersect | ( | const Eigen::Vector2f | l1_from, |
const Eigen::Vector2f | l1_to, | ||
const Eigen::Vector2f | l2_from, | ||
const Eigen::Vector2f | l2_to | ||
) |
Check if two line segments intersect.
Line segments only intersect if the intersection point of the lines lies within both segment boundaries.
l1_from | line segment 1 first point |
l1_to | line segment 1 second point |
l2_from | line segment 2 first point |
l2_to | line segment 2 second point |
Eigen::Vector2f fawkes::line_segm_intersection | ( | const Eigen::Vector2f | l1_from, |
const Eigen::Vector2f | l1_to, | ||
const Eigen::Vector2f | l2_from, | ||
const Eigen::Vector2f | l2_to | ||
) |
Get line segment intersection point.
Line segments only intersect if the intersection point of the lines lies within both segment boundaries.
l1_from | line segment 1 first point |
l1_to | line segment 1 second point |
l2_from | line segment 2 first point |
l2_to | line segment 2 second point |
NavGraph * fawkes::load_yaml_navgraph | ( | std::string | filename, |
bool | allow_multi_graph | ||
) |
Load topological map graph stored in RCSoft format.
filename | path to the file to read |
allow_multi_graph | if true, allows multiple disconnected graph segments |
Exception | thrown on any error to read the graph file |
Definition at line 297 of file yaml_navgraph.cpp.
Referenced by FawkesRemotePlexilAdapter::fam_event(), FawkesRemotePlexilAdapter::initialize(), and fawkes::EclExternalRCSoftMapGraph::load().
std::string fawkes::mimetype_file | ( | const char * | filename | ) |
Get mime-type of file.
This function gives a brief mime-type for the given file.
filename | path to the file whose type should be determined |
Definition at line 117 of file filetype.cpp.
std::string fawkes::mimetype_file | ( | int | fd | ) |
Get mime-type of file given by file descriptor.
This function gives a brief mime-type for the given file.
fd | file descriptor of open file, make sure the file descriptor is rewinded. Warning, the file descriptor is closed by the underlying libmagic. Use dup() to duplicate it and pass this as file descriptor if you need the file afterwards. |
Definition at line 157 of file filetype.cpp.
Disable caching on a reply.
This is a convenience wrapper to reply->set_caching(false). It enables the following call styles:
This works on any reply without always patching a boolean flag into the ctor and without first storing the pointer, calling the function, and then returning.
reply | reply to disable caching for |
Definition at line 53 of file reply.cpp.
References fawkes::WebReply::code().
|
inline |
Normalizes angle in radian between -3*PI and 3*PI.
If the angle is above 2*PI or below 2*PI the angle will be clipped. The largest full amount of (-)2*PI is subtracted, such that only the amount within the range [-2*PI, 2*PI] remains. Then (-)2*PI is added again.
angle_rad | original value |
|
inline |
Normalize angle in radian between -PI (inclusive) and PI (exclusive).
The given angle in radians is taken as an angle on the unit circle. It is then normalized into the range -PI and PI, such that it is the exact same angle on the unit circle but in the usual angle range.
angle_rad | original value |
Definition at line 78 of file angle.h.
Referenced by angle_distance(), firevision::CornerHorizon::calculate(), and fawkes::RoboShape::get_angle_back().
|
inline |
Normalize angle in radian between 0 (inclusive) and 2*PI (exclusive).
The given angle in radians is taken as an angle on the unit circle. It is then normalized into the range 0 and 2*PI, such that it is the exact same angle on the unit circle but in the usual angle range.
angle_rad | original value |
Definition at line 96 of file angle.h.
Referenced by firevision::MirrorCalibTool::Point::atan(), LaserDrawingArea::draw_beams(), firevision::MirrorCalibTool::draw_crosshair(), firevision::MirrorCalibTool::draw_line(), MapLaserGenThread::loop(), and fawkes::EscapeDriveModule::set_laser_data().
|
inline |
Testing of register flags.
a | flags to test |
b | flags to test for |
Definition at line 266 of file blackboard.h.
|
static |
Read topological map edge from YAML iterator.
n | iterator to node representing a topological map graph edge |
edge | edge to fill |
Definition at line 160 of file yaml_navgraph.cpp.
|
static |
Read topological map node from YAML iterator.
n | iterator to node representing a topological map graph node |
node | node to fill |
Definition at line 42 of file yaml_navgraph.cpp.
|
inline |
Concatenation of register flags.
a | flags to concatenate |
b | other flags to concatenate |
Definition at line 256 of file blackboard.h.
|
inline |
|
inline |
Get distance of two points.
This is particularly useful if not using a more powerful representation like Eigen.
x1 | x coordinate of first point |
y1 | y coordinate of first point |
x2 | x coordinate of second point |
y2 | y coordinate of second point |
|
inline |
Check if two points are different with regard to a given threshold.
This is particularly useful if not using a more powerful representation like Eigen.
x1 | x coordinate of first point |
y1 | y coordinate of first point |
x2 | x coordinate of second point |
y2 | y coordinate of second point |
threshold | the threshold to compare the distance between the points to. |
|
inline |
Convert a 2D polar coordinate to a 2D cartesian coordinate.
polar_phi | Phi of the polar coordinate |
polar_dist | distnace of the polar coordinate |
cart_x | upon return contains X of the cartesian coordinate |
cart_y | upon return contains Y of the cartesian coordinate |
Definition at line 78 of file coord.h.
Referenced by LaserMapFilterDataFilter::filter(), LaserBoxFilterDataFilter::filter(), ColliActThread::loop(), and fawkes::LaserOccupancyGrid::reset_old().
|
inline |
Calculate area of a polygon.
p | polygon |
Definition at line 46 of file polygon.h.
Referenced by fawkes::NavGraphGeneratorVoronoi::compute().
|
inline |
|
inline |
Check if given point lies inside the polygon.
The point and polygon are assumed to be in the same X-Y plane. Code based on http://www.visibone.com/inpoly/inpoly.c.txt Copyright (c) 1995-1996 Galacticomm, Inc. Freeware source code. Bob Stein and Craig Yap Adapted from PCL pcl::isXYPointIn2DXYPolygon()
polygon | polygon to check against |
point | point to check if it lies within the given polygon |
Definition at line 73 of file polygon.h.
Referenced by fawkes::NavGraphGeneratorVoronoi::compute().
void fawkes::quat_to_euler | ( | const Eigen::Quaternion< Scalar > & | q, |
float & | roll, | ||
float & | pitch, | ||
float & | yaw | ||
) |
Get euler angles for quaternion.
Calculates the roll, pitch, and yaw angles for a given quaternion. Code based on OpenSLAM.
q | quaternion to convert |
roll | upon return contains roll angle (around X axis) |
pitch | upon return contains pitch angle (around Y axis) |
yaw | upon return contains yaw angle (around Z axis) |
Scalar fawkes::quat_yaw | ( | const Eigen::Quaternion< Scalar > & | q | ) |
|
inline |
Convert an angle given in radians to degrees.
rad | original value in radians |
Definition at line 52 of file angle.h.
Referenced by fawkes::OpenRaveManipulatorKinovaJaco::copy(), JoystickTeleOpThread::loop(), firevision::MirrorCalibTool::next_step(), SickTiM55xCommonAcquisitionThread::parse_datagram(), firevision::HtLinesModel::parseImage(), firevision::RhtLinesModel::parseImage(), PlayerLaserMapper::sync_player_to_fawkes(), and fawkes::RoboShapeColli::~RoboShapeColli().
|
inline |
Convert radian vaulues of katana arm to encoder values.
rad | vector with radian angle values |
enc | vector to be filled with encoder values |
Definition at line 40 of file conversion.h.
References deg2rad(), and radToEnc().
Referenced by radToEnc().
void fawkes::read_default_properties | ( | NavGraph * | graph, |
YAML::Node & | doc | ||
) |
Read default properties for graph from YAML node.
graph | the graph to assign the properties to |
doc | the root document of the YAML graph definition |
Definition at line 219 of file yaml_navgraph.cpp.
void fawkes::run_viewer | ( | OpenRAVE::EnvironmentBasePtr | env, |
const std::string & | viewername, | ||
bool * | running | ||
) |
Sets and loads a viewer for OpenRAVE.
env | OpenRAVE environment to be attached |
viewername | name of the viewr, usually "qtcoin" |
running | pointer to a local variable, which will be set to "true" as long as the viewer thread runs, and "false" when the GUI closes. |
Definition at line 50 of file environment.cpp.
References run_viewer().
Referenced by run_viewer(), and fawkes::OpenRaveEnvironment::start_viewer().
void fawkes::save_yaml_navgraph | ( | std::string | filename, |
NavGraph * | graph | ||
) |
Save navgraph to YAML file.
filename | name of file to save to |
graph | graph to save to |
Definition at line 391 of file yaml_navgraph.cpp.
Referenced by NavGraphGeneratorThread::loop().
|
static |
Set non-blocking flag on STDIN.
Sets the 0_NONBLOCK Flag to 1, so that the read command in the getkey()-method wont block the programm till a input is made (see also libc manual, pages 105 and 117).
Definition at line 45 of file getkey.cpp.
|
inlinestatic |
Compare two sockaddr structures.
The comparison is based on address family first, and if the same based on the IP address. Works for AF_INET and AF_INET6.
a | first compare argument |
b | second compare argument |
Definition at line 45 of file addr_comp.h.
|
inline |
Get canonical size of sockaddr structure.
a | sockaddr_in or sockaddr_in6 structure with properly set address family field. |
Definition at line 44 of file addr_size.h.
Referenced by fawkes::NetworkNameResolverThread::loop().
|
static |
SQL escaping stub.
This could be extended to perform actual escaping on the provided SQL line.
line | line to check |
Definition at line 399 of file sqlite.cpp.
|
inline |
Fast square multiplication.
x |
Definition at line 43 of file common.h.
Referenced by fawkes::QuadraticMotorInstruct::~QuadraticMotorInstruct().
|
inline |
|
inline |
|
inline |
std::string fawkes::str_join | ( | const InputIterator & | first, |
const InputIterator & | last, | ||
char | delim = '/' |
||
) |
Join list of strings string using given delimiter.
The iterator must be produce a std::string for operator*().
first | input iterator to beginning of range |
last | input iterator to end of range |
delim | delimiter |
Definition at line 145 of file string_split.h.
Referenced by DynamixelDriverThread::init().
std::string fawkes::str_join | ( | const InputIterator & | first, |
const InputIterator & | last, | ||
std::string | delim | ||
) |
Join list of strings string using given delimiter.
The iterator must be produce a std::string for operator*().
first | input iterator to beginning of range |
last | input iterator to end of range |
delim | delimiter |
Definition at line 188 of file string_split.h.
|
inlinestatic |
Join list of strings string using given delimiter.
l | list with strings to join |
delim | delimiter |
Definition at line 122 of file string_split.h.
|
inlinestatic |
Join list of strings string using given delimiter.
l | list with strings to join |
delim | delimiter |
Definition at line 165 of file string_split.h.
|
inlinestatic |
Join vector of strings string using given delimiter.
v | vector with strings to join |
delim | delimiter |
Definition at line 105 of file string_split.h.
Referenced by fawkes::PluginManager::load().
|
inlinestatic |
Split string by delimiter.
s | string to split |
delim | delimiter |
Definition at line 47 of file string_split.h.
Referenced by RobotMemory::dump_collection().
|
inlinestatic |
Split string by delimiter string.
s | string to split |
delim | delimiter |
Definition at line 65 of file string_split.h.
|
inlinestatic |
Split string by delimiter.
s | string to split |
delim | delimiter |
Definition at line 87 of file string_split.h.
|
inlinestatic |
Split string by delimiter.
s | string to split |
delim | delimiter |
Definition at line 208 of file string_split.h.
|
inline |
Calculate time difference of two time structs.
The calculated time is t = a - b, where t is a represented as the number of seconds in a single precision float.
a_sec | seconds of time to subtract from |
a_usec | microseconds of time to subtract from |
b_sec | seconds of time to subtract |
b_usec | microseconds of time to subtract |
|
inline |
Calculate time difference of two time structs.
The calculated time is t = a - b, where t is a represented as the number of seconds in a single precision float.
a | time to subtract from |
b | time to subtract |
Definition at line 47 of file time.h.
Referenced by firevision::VelocityFromRelative::calc(), fawkes::Socket::connect(), fawkes::Clock::elapsed(), NaoQiButtonThread::loop(), RosPointCloudThread::loop(), fawkes::Socket::read(), fawkes::Socket::send(), firevision::VelocityGlobalFromRelative::setRobotPosition(), and fawkes::Socket::write().
|
inline |
Get difference between two time structs in microseconds.
The calculated time is t = a - b
a | time to subtract from |
b | time to subtract |
Definition at line 91 of file time.h.
References fawkes::Time::Time().
|
inline |
Convert seconds to micro seconds.
sec | seconds to convert |
Definition at line 79 of file time.h.
Referenced by RRDThread::init().
double fawkes::triangle_area | ( | const Eigen::Vector2f & | p0, |
const Eigen::Vector2f & | p1, | ||
const Eigen::Vector2f & | p2 | ||
) |
Calculate triangle area.
p0 | first point of triangle |
p1 | second point of triangle |
p2 | third point of triangle |
Definition at line 42 of file triangle.h.
bool fawkes::triangle_contains | ( | const Eigen::Vector2f & | p0, |
const Eigen::Vector2f & | p1, | ||
const Eigen::Vector2f & | p2, | ||
const Eigen::Vector2f & | p | ||
) |
Check if a triangle contains a point.
A point is also considered to be contained if it is on the boundary of the triangle.
p0 | first point of triangle |
p1 | second point of triangle |
p2 | third point of triangle |
p | point to check with respect to the given triangle |
Definition at line 58 of file triangle.h.
int fawkes::unhex | ( | char | c | ) |
Transform hex to value.
c | character |
Definition at line 39 of file string_urlescape.h.
Referenced by hex_unescape().
const char * fawkes::worldinfo_gamestate_goalcolor_tostring | ( | worldinfo_gamestate_goalcolor_t | goal_color | ) |
Convert goal color to a string.
goal_color | goal color |
Definition at line 91 of file enums.cpp.
References GOAL_BLUE, and GOAL_YELLOW.
Referenced by RefBoxCommThread::set_team_goal().
const char * fawkes::worldinfo_gamestate_half_tostring | ( | worldinfo_gamestate_half_t | half | ) |
Convert half time to a string.
half | half time |
Definition at line 105 of file enums.cpp.
References HALF_FIRST, and HALF_SECOND.
Referenced by RefBoxCommThread::set_half().
const char * fawkes::worldinfo_gamestate_team_tostring | ( | worldinfo_gamestate_team_t | team | ) |
Convert gamestate team to a string.
team | game state team to translate into a string |
Definition at line 75 of file enums.cpp.
References TEAM_BOTH, TEAM_CYAN, TEAM_MAGENTA, and TEAM_NONE.
Referenced by RefBoxCommThread::set_gamestate(), and RefBoxCommThread::set_team_goal().
const char * fawkes::worldinfo_msl_gamestate_tostring | ( | worldinfo_msl_gamestate_t | gamestate | ) |
Convert MSL gamestate to a string.
gamestate | game state to translate into a string |
Definition at line 36 of file enums.cpp.
References GS_CORNER_KICK, GS_DROP_BALL, GS_FREE_KICK, GS_FROZEN, GS_GOAL_KICK, GS_HALF_TIME, GS_KICK_OFF, GS_PENALTY, GS_PLAY, and GS_THROW_IN.
const char * fawkes::worldinfo_penalty_tostring | ( | worldinfo_penalty_t | penalty | ) |
Convert penalty to a string.
penalty | penalty to translate into a string |
Definition at line 119 of file enums.cpp.
References PENALTY_BALL_HOLDING, PENALTY_DAMAGE, PENALTY_GOALIE_PUSHING, PENALTY_ILLEGAL_DEFENDER, PENALTY_ILLEGAL_DEFENSE, PENALTY_LEAVING, PENALTY_MANUAL, PENALTY_NONE, PENALTY_OBSTRUCTION, PENALTY_PLAYER_PUSHING, and PENALTY_REQ_FOR_PICKUP.
const char * fawkes::worldinfo_spl_gamestate_tostring | ( | worldinfo_spl_gamestate_t | gamestate | ) |
Convert MSL gamestate to a string.
gamestate | game state to translate into a string |
Definition at line 58 of file enums.cpp.
References GS_SPL_FINISHED, GS_SPL_INITIAL, GS_SPL_PLAY, GS_SPL_READY, and GS_SPL_SET.
|
static |
Print black on console.
Definition at line 40 of file console_colors.h.
|
static |
Print blue on console.
Definition at line 80 of file console_colors.h.
Referenced by FireVisionNetworkTool::service_added().
|
static |
Print brown on console.
Definition at line 70 of file console_colors.h.
|
static |
Print cyan on console.
Definition at line 100 of file console_colors.h.
|
static |
Print dark gray on console.
Definition at line 45 of file console_colors.h.
|
static |
Print green on console.
Definition at line 60 of file console_colors.h.
|
static |
Print light blue on console.
Definition at line 85 of file console_colors.h.
|
static |
Print light cyan on console.
Definition at line 105 of file console_colors.h.
|
static |
Print light gray on console.
Definition at line 110 of file console_colors.h.
|
static |
Print light green on console.
Definition at line 65 of file console_colors.h.
|
static |
Print light purple on console.
Definition at line 95 of file console_colors.h.
|
static |
Print light red on console.
Definition at line 55 of file console_colors.h.
|
static |
Print normal on console, without colors, depends on console settings.
Definition at line 120 of file console_colors.h.
Referenced by FireVisionNetworkTool::service_added().
|
static |
Print purple on console.
Definition at line 90 of file console_colors.h.
|
static |
Print red on console.
Definition at line 50 of file console_colors.h.
|
static |
Print white on console.
Definition at line 115 of file console_colors.h.
|
static |
Print yellow on console.
Definition at line 75 of file console_colors.h.
|
static |
Print black on console.
Definition at line 42 of file console_colors.h.
|
static |
Print blue on console.
Definition at line 82 of file console_colors.h.
Referenced by firevision::SurfClassifier::classify().
|
static |
Print brown on console.
Definition at line 72 of file console_colors.h.
|
static |
Print cyan on console.
Definition at line 102 of file console_colors.h.
|
static |
Print dark gray on console.
Definition at line 47 of file console_colors.h.
|
static |
Print green on console.
Definition at line 62 of file console_colors.h.
Referenced by firevision::SurfClassifier::classify().
|
static |
Print light blue on console.
Definition at line 87 of file console_colors.h.
|
static |
Print light cyan on console.
Definition at line 107 of file console_colors.h.
|
static |
Print light gray on console.
Definition at line 112 of file console_colors.h.
|
static |
Print light green on console.
Definition at line 67 of file console_colors.h.
|
static |
Print light purple on console.
Definition at line 97 of file console_colors.h.
|
static |
Print light red on console.
Definition at line 57 of file console_colors.h.
|
static |
Print normal on console, without colors, depends on console settings.
Definition at line 122 of file console_colors.h.
Referenced by firevision::SurfClassifier::classify().
|
static |
Print purple on console.
Definition at line 92 of file console_colors.h.
|
static |
Print red on console.
Definition at line 52 of file console_colors.h.
|
static |
Print white on console.
Definition at line 117 of file console_colors.h.
|
static |
Print yellow on console.
Definition at line 77 of file console_colors.h.
const float fawkes::OCCUPANCY_THRESHOLD = 0.45f |
Occupancy threshold.
Definition at line 39 of file occupancygrid.h.
const typedef char*(* fawkes::PluginDependenciesFunc) () |
const typedef char*(* fawkes::PluginDescriptionFunc) () |