-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(tier4_planning_msgs): add new msgs to analyze ego behavior (#155)
* feat: add ControlPoint.msg Signed-off-by: satoshi-ota <[email protected]> * feat: add SafetyFactor.msg Signed-off-by: satoshi-ota <[email protected]> * feat: add SafetyFactorArray.msg Signed-off-by: satoshi-ota <[email protected]> * feat: add PlanningFactor.msg Signed-off-by: satoshi-ota <[email protected]> * feat: add PlanningFactorArray.msg Signed-off-by: satoshi-ota <[email protected]> * feat: build new msgs Signed-off-by: satoshi-ota <[email protected]> * fix: integrate lat/lon Signed-off-by: satoshi-ota <[email protected]> * fix: remove redundancy Signed-off-by: satoshi-ota <[email protected]> * Apply suggestions from code review --------- Signed-off-by: satoshi-ota <[email protected]> Co-authored-by: Mamoru Sobue <[email protected]>
- Loading branch information
1 parent
08da64e
commit be1e368
Showing
7 changed files
with
64 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
geometry_msgs/Pose pose | ||
float32 velocity | ||
float32 shift_length | ||
float32 distance |
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,20 @@ | ||
# constants for behavior | ||
uint16 UNKNOWN = 0 | ||
uint16 NONE = 1 | ||
uint16 SLOW_DOWN = 2 | ||
uint16 STOP = 3 | ||
uint16 LEFT_SHIFT = 4 | ||
uint16 RIGHT_SHIFT = 5 | ||
|
||
# variables | ||
string module | ||
|
||
bool is_driving_forward | ||
|
||
tier4_planning_msgs/ControlPoint[] control_points | ||
|
||
uint16 behavior | ||
|
||
string detail | ||
|
||
tier4_planning_msgs/SafetyFactorArray safety_factors |
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,2 @@ | ||
std_msgs/Header header | ||
tier4_planning_msgs/PlanningFactor[] factors |
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,27 @@ | ||
# constants for common use | ||
uint16 UNKNOWN = 0 | ||
|
||
# constants for factor type | ||
uint16 POINTCLOUD = 1 | ||
uint16 OBJECT = 2 | ||
|
||
# variables | ||
uint16 type | ||
|
||
# use only for predicted objects | ||
unique_identifier_msgs/UUID object_id | ||
|
||
# use only for predicted objects | ||
autoware_perception_msgs/PredictedPath predicted_path | ||
|
||
# time to collision in relative to the header time | ||
float32 ttc_begin | ||
|
||
float32 ttc_end | ||
|
||
# type == POINTCLOUD: the position of the each points | ||
# type == OBJECT: the object position | ||
geometry_msgs/Point[] points | ||
|
||
# module's primitive judgement of the safety for its decision | ||
bool is_safe |
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,4 @@ | ||
std_msgs/Header header | ||
tier4_planning_msgs/SafetyFactor[] factors | ||
bool is_safe | ||
string detail |
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