-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #84 from DLR-TS/feature/signals_implementation
Feature: add signal mesh creation
- Loading branch information
Showing
12 changed files
with
217 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
#pragma once | ||
#include "LaneValidityRecord.h" | ||
#include "Mesh.h" | ||
#include "XmlNode.h" | ||
|
||
#include <string> | ||
#include <vector> | ||
|
||
namespace odr | ||
{ | ||
|
||
struct RoadSignal : public XmlNode | ||
{ | ||
RoadSignal(std::string road_id, | ||
std::string id, | ||
std::string name, | ||
double s0, | ||
double t0, | ||
bool is_dynamic, | ||
double zOffset, | ||
double value, | ||
double height, | ||
double width, | ||
double hOffset, | ||
double pitch, | ||
double roll, | ||
std::string orientation, | ||
std::string country, | ||
std::string type, | ||
std::string subtype, | ||
std::string unit, | ||
std::string text); | ||
|
||
static Mesh3D get_box(const double width, const double length, const double height); | ||
|
||
std::string road_id = ""; | ||
std::string id = ""; | ||
std::string name = ""; | ||
double s0 = 0; | ||
double t0 = 0; | ||
bool is_dynamic = false; | ||
double zOffset = 0; | ||
double value = 0; | ||
double height = 0; | ||
double width = 0; | ||
double hOffset = 0; | ||
double pitch = 0; | ||
double roll = 0; | ||
std::string orientation = ""; | ||
std::string country = ""; | ||
std::string type = ""; | ||
std::string subtype = ""; | ||
std::string unit = ""; | ||
std::string text = ""; | ||
|
||
std::vector<LaneValidityRecord> lane_validities; | ||
}; | ||
|
||
} // namespace odr |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.