Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
opendrive_to_gazebo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mobile_robotics
ADC
libraries
opendrive_to_gazebo
Merge requests
!1
Opendrive lib
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Opendrive lib
opendrive_lib
into
master
Overview
0
Commits
8
Pipelines
0
Changes
5
Merged
Fernando Herrero
requested to merge
opendrive_lib
into
master
4 years ago
Overview
0
Commits
8
Pipelines
0
Changes
5
Expand
0
0
Merge request reports
Viewing commit
e40d31f2
Prev
Next
Show latest version
5 files
+
45
−
10
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
5
Search (e.g. *.vue) (Ctrl+P)
e40d31f2
Added road_sclae as argument
· e40d31f2
Alejandro Lopez Gestoso
authored
4 years ago
include/adc_circuit.h
+
9
−
1
Options
@@ -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