utility to print RNDF lane information. More...
#include <stdio.h>#include <stdlib.h>#include <unistd.h>#include <getopt.h>#include <signal.h>#include <string.h>#include <iostream>#include <fstream>#include <iomanip>#include <ros/ros.h>#include <art_msgs/ArtLanes.h>#include <art_map/euclidean_distance.h>#include <art_map/MapLanes.h>#include <art_map/zones.h>#include <art_map/ZoneOps.h>
Go to the source code of this file.
| Defines | |
| #define | CMD "rndf_lanes: " | 
| Functions | |
| bool | build_RNDF () | 
| int | main (int argc, char *argv[]) | 
| void | OutputPolygons (const art_msgs::ArtLanes &ldata) | 
| void | parse_args (int argc, char *argv[]) | 
| void | PrintPolygons (const art_msgs::ArtLanes &ldata) | 
| Variables | |
| static int32_t | bottom_left = art_msgs::ArtQuadrilateral::bottom_left | 
| static int32_t | bottom_right = art_msgs::ArtQuadrilateral::bottom_right | 
| float | centerx | 
| float | centery | 
| double | gps_latitude = 0.0 | 
| double | gps_longitude = 0.0 | 
| Graph * | graph = NULL | 
| bool | make_image = false | 
| bool | output_polys = false | 
| char * | pname | 
| float | poly_size = -1 | 
| bool | print_polys = false | 
| RNDF * | rndf = NULL | 
| char * | rndf_name | 
| static int32_t | top_left = art_msgs::ArtQuadrilateral::top_left | 
| static int32_t | top_right = art_msgs::ArtQuadrilateral::top_right | 
| int | verbose = 0 | 
| bool | with_trans = false | 
utility to print RNDF lane information.
Definition in file test_lanes.cc.
| #define CMD "rndf_lanes: " | 
Definition at line 62 of file test_lanes.cc.
| bool build_RNDF | ( | ) | 
build road map graph from Road Network Definition File
Definition at line 65 of file test_lanes.cc.
| int main | ( | int | argc, | 
| char * | argv[] | ||
| ) | 
main program
Definition at line 332 of file test_lanes.cc.
| void OutputPolygons | ( | const art_msgs::ArtLanes & | ldata | ) | 
write polygon data to space-delimited file
Definition at line 312 of file test_lanes.cc.
| void parse_args | ( | int | argc, | 
| char * | argv[] | ||
| ) | 
parse command line arguments
Definition at line 171 of file test_lanes.cc.
| void PrintPolygons | ( | const art_msgs::ArtLanes & | ldata | ) | 
Print polygon data in human-readable format
Definition at line 266 of file test_lanes.cc.
| int32_t bottom_left = art_msgs::ArtQuadrilateral::bottom_left  [static] | 
Definition at line 39 of file test_lanes.cc.
| int32_t bottom_right = art_msgs::ArtQuadrilateral::bottom_right  [static] | 
Definition at line 42 of file test_lanes.cc.
| float centerx | 
Definition at line 61 of file test_lanes.cc.
| float centery | 
Definition at line 61 of file test_lanes.cc.
| double gps_latitude = 0.0 | 
Definition at line 55 of file test_lanes.cc.
| double gps_longitude = 0.0 | 
Definition at line 56 of file test_lanes.cc.
Definition at line 59 of file test_lanes.cc.
| bool make_image = false | 
Definition at line 49 of file test_lanes.cc.
| bool output_polys = false | 
Definition at line 48 of file test_lanes.cc.
| char* pname | 
Definition at line 46 of file test_lanes.cc.
| float poly_size = -1 | 
Definition at line 53 of file test_lanes.cc.
| bool print_polys = false | 
Definition at line 47 of file test_lanes.cc.
Definition at line 58 of file test_lanes.cc.
| char* rndf_name | 
Definition at line 52 of file test_lanes.cc.
| int32_t top_left = art_msgs::ArtQuadrilateral::top_left  [static] | 
Definition at line 40 of file test_lanes.cc.
| int32_t top_right = art_msgs::ArtQuadrilateral::top_right  [static] | 
Definition at line 41 of file test_lanes.cc.
| int verbose = 0 | 
Definition at line 51 of file test_lanes.cc.
| bool with_trans = false | 
Definition at line 50 of file test_lanes.cc.