Skip to content
Snippets Groups Projects

Opendrive lib

Merged Fernando Herrero requested to merge opendrive_lib into master
5 files
+ 45
10
Compare changes
  • Side-by-side
  • Inline
Files
5
+ 9
1
@@ -13,7 +13,6 @@
#define SIGNS_LAUNCH_FILE "spawn_signs.launch"
#define OBJECTS_LAUNCH_FILE "spawn_objects.launch"
#define ROAD_SCALE 10
/**
* \class CAdcCircuit
@@ -27,6 +26,7 @@ class CAdcCircuit
{
private:
std::vector<CAdcRoad*> roads;///< Variable to store an access each road data.
double road_scale;///< The scale of the road to divide by the objects and signals poses.
/**
* \brief Function to add a road.
@@ -108,6 +108,14 @@ class CAdcCircuit
*
*/
void load(std::unique_ptr<OpenDRIVE> &open_drive);
/**
* \brief Function to set road_Scale.
*
* \param road_scale The scale of the road to divide by the objects and signals poses.
*
*/
void set_road_scale(double road_scale=1.0);
};
#endif
Loading