Drake
dragway_to_urdf.cc File Reference
#include <gflags/gflags.h>
#include <spruce.hh>
#include "drake/automotive/maliput/dragway/road_geometry.h"
#include "drake/automotive/maliput/utility/generate_urdf.h"
#include "drake/common/text_logging.h"
#include "drake/common/text_logging_gflags.h"
Include dependency graph for dragway_to_urdf.cc:

## Namespaces

drake

drake::maliput

drake::maliput::dragway

## Functions

DEFINE_int32 (num_lanes, 2,"The number of lanes.")

DEFINE_double (length, 10,"The length of the dragway in meters.")

DEFINE_double (lane_width, 3.7,"The width of each lane in meters.")

DEFINE_double (shoulder_width, 3.0,"The width of the shoulders in meters. Both shoulders have the same ""width.")

DEFINE_double (maximum_height, 5.2,"The maximum modelled height above the road surface (meters).")

DEFINE_string (dirpath,".","The path to where the URDF and OBJ files should be saved. If this path "" does not exist, it is created.")

DEFINE_string (file_name_root,"dragway","The root name of the files to create. For example, if the value of this ""parameter is \"foo\", the following files will be created: \"foo.urdf\", ""\"foo.obj\", and \"foo.mtl\". These files will be placed in the path ""specified by parameter 'dirpath'.")

int main (int argc, char *argv[])

## Function Documentation

 DEFINE_double ( length , 10 , "The length of the dragway in meters." )
 DEFINE_double ( lane_width , 3. 7, "The width of each lane in meters." )
 DEFINE_double ( shoulder_width , 3. 0, "The width of the shoulders in meters. Both shoulders have the same ""width." )
 DEFINE_double ( maximum_height , 5. 2, "The maximum modelled height above the road surface (meters)." )
 DEFINE_int32 ( num_lanes , 2 , "The number of lanes." )
 DEFINE_string ( dirpath , "." , "The path to where the URDF and OBJ files should be saved. If this path "" does not exist, it is created." )
 DEFINE_string ( file_name_root , "dragway" , "The root name of the files to create. For example, if the value of this""parameter is\"foo\" , the following files will be created:\"foo.urdf\" , ""\"foo.obj\" , and\"foo.mtl\". These files will be placed in the path ""specified by parameter 'dirpath'." )
 int main ( int argc, char * argv[] )