#include <cstdio>
#include <iostream>
#include <fstream>
#include <string>
#include <cstdlib>
#include <art/conversions.h>
#include <art_msgs/ArtVehicle.h>
#include <art/epsilon.h>
#include <art_map/RNDF.h>
Go to the source code of this file.
Defines |
#define | DEFAULT_LANE_SPEED mph2mps(30) |
#define | DEFAULT_LANE_WIDTH (art_msgs::ArtVehicle::width+1) |
#define | DEFAULT_SPOT_WIDTH (art_msgs::ArtVehicle::width+1) |
Enumerations |
enum | MDF_PARSE_STATE {
MDF_COMMENT,
MDF_GENERAL,
MDF_CHECKPOINTS,
MDF_SPEEDLIMITS,
MDF_UNKNOWN
} |
enum | RNDF_PARSE_STATE {
COMMENT,
GENERAL,
SEGMENTS,
LANES,
ZONES,
PERIMETER,
PARKING_SPOT,
UNKNOWN
} |
Functions |
template<class T > |
void | change_state (T &previous_state, T ¤t_state, const T new_state) |
void | checkpoint_error (int seg, int lane, int way) |
void | exit_error (Exit &ex) |
int | parse_integer (std::string line, std::string token, int line_number, bool &valid, bool verbose) |
int | parse_integer (std::string line, int line_number, bool &valid, bool verbose) |
std::string | parse_string (std::string line, std::string token, int line_number, bool &valid, bool verbose) |
void | print_error_message (int line_number, std::string token) |
template<class T > |
void | print_vector (std::vector< T > vec) |
void | stop_error (int seg, int lane, int way) |
Define Documentation
Enumeration Type Documentation
- Enumerator:
MDF_COMMENT |
|
MDF_GENERAL |
|
MDF_CHECKPOINTS |
|
MDF_SPEEDLIMITS |
|
MDF_UNKNOWN |
|
Definition at line 24 of file RNDF.cc.
- Enumerator:
COMMENT |
|
GENERAL |
|
SEGMENTS |
|
LANES |
|
ZONES |
|
PERIMETER |
|
PARKING_SPOT |
|
UNKNOWN |
|
Definition at line 21 of file RNDF.cc.
Function Documentation
template<class T >
void change_state |
( |
T & |
previous_state, |
|
|
T & |
current_state, |
|
|
const T |
new_state |
|
) |
| |
std::string parse_string |
( |
std::string |
line, |
|
|
std::string |
token, |
|
|
int |
line_number, |
|
|
bool & |
valid, |
|
|
bool |
verbose |
|
) |
| |
art_map
Author(s): David Li, Patrick Beeson, Bartley Gillen, Tarun Nimmagadda,
Mickey Ristroph, Michael Quinlan, Jack O'Quin
autogenerated on Fri Jan 3 2014 11:08:34