Drake
dragway_to_urdf.cc File Reference
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 \oo\ the following files will be created: \oo.urdf\ " "\oo.obj\ and \oo.mtl\ These files will be placed in the path " "specified by parameter 'dirpath'.")
 
int main (int argc, char *argv[])
 

Function Documentation

◆ DEFINE_double() [1/4]

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

◆ DEFINE_double() [2/4]

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

◆ DEFINE_double() [3/4]

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

◆ DEFINE_double() [4/4]

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

◆ DEFINE_int32()

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

◆ DEFINE_string() [1/2]

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() [2/2]

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

◆ main()

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