-
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(autoware_vehicle_msgs): add autoware_vehicle_msgs (#78)
* feat(autoware_vehicle_msgs): add autoware_vehicle_msgs Signed-off-by: beginningfan <[email protected]> * feat(autoware_vehicle_msgs): add ControlModeCommand.srv Signed-off-by: beginningfan <[email protected]> * style(pre-commit): autofix * fix(autoware_vehicle_msgs): remove msgs unused Signed-off-by: beginningfan <[email protected]> * style(pre-commit): autofix --------- Signed-off-by: beginningfan <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
11aa883
commit 2f4a0be
Showing
15 changed files
with
184 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# All rights reserved. | ||
cmake_minimum_required(VERSION 3.5) | ||
|
||
### Export headers | ||
project(autoware_vehicle_msgs) | ||
|
||
# Generate messages | ||
find_package(ament_cmake_auto REQUIRED) | ||
ament_auto_find_build_dependencies() | ||
|
||
rosidl_generate_interfaces(${PROJECT_NAME} | ||
"msg/ControlModeCommand.msg" | ||
"msg/ControlModeReport.msg" | ||
"msg/Engage.msg" | ||
"msg/GearCommand.msg" | ||
"msg/GearReport.msg" | ||
"msg/HazardLightsCommand.msg" | ||
"msg/HazardLightsReport.msg" | ||
"msg/SteeringReport.msg" | ||
"msg/TurnIndicatorsCommand.msg" | ||
"msg/TurnIndicatorsReport.msg" | ||
"msg/VehicleOdometry.msg" | ||
"msg/VelocityReport.msg" | ||
"srv/ControlModeCommand.srv" | ||
DEPENDENCIES | ||
"autoware_planning_msgs" | ||
"builtin_interfaces" | ||
"std_msgs" | ||
ADD_LINTER_TESTS | ||
) | ||
|
||
if(BUILD_TESTING) | ||
find_package(ament_lint_auto REQUIRED) | ||
ament_lint_auto_find_test_dependencies() | ||
endif() | ||
|
||
ament_auto_package() |
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,6 @@ | ||
uint8 NO_COMMAND = 0 | ||
uint8 AUTONOMOUS = 1 | ||
uint8 MANUAL = 2 | ||
|
||
builtin_interfaces/Time stamp | ||
uint8 mode |
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,10 @@ | ||
uint8 NO_COMMAND = 0 | ||
uint8 AUTONOMOUS = 1 | ||
uint8 AUTONOMOUS_STEER_ONLY = 2 | ||
uint8 AUTONOMOUS_VELOCITY_ONLY = 3 | ||
uint8 MANUAL = 4 | ||
uint8 DISENGAGED = 5 | ||
uint8 NOT_READY = 6 | ||
|
||
builtin_interfaces/Time stamp | ||
uint8 mode |
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 @@ | ||
builtin_interfaces/Time stamp | ||
bool engage |
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,28 @@ | ||
uint8 NONE = 0 | ||
uint8 NEUTRAL = 1 | ||
uint8 DRIVE = 2 | ||
uint8 DRIVE_2 = 3 | ||
uint8 DRIVE_3 = 4 | ||
uint8 DRIVE_4 = 5 | ||
uint8 DRIVE_5 = 6 | ||
uint8 DRIVE_6 = 7 | ||
uint8 DRIVE_7 = 8 | ||
uint8 DRIVE_8 = 9 | ||
uint8 DRIVE_9 = 10 | ||
uint8 DRIVE_10 = 11 | ||
uint8 DRIVE_11 = 12 | ||
uint8 DRIVE_12 = 13 | ||
uint8 DRIVE_13 = 14 | ||
uint8 DRIVE_14 = 15 | ||
uint8 DRIVE_15 = 16 | ||
uint8 DRIVE_16 = 17 | ||
uint8 DRIVE_17 = 18 | ||
uint8 DRIVE_18 = 19 | ||
uint8 REVERSE = 20 | ||
uint8 REVERSE_2 = 21 | ||
uint8 PARK = 22 | ||
uint8 LOW = 23 | ||
uint8 LOW_2 = 24 | ||
|
||
builtin_interfaces/Time stamp | ||
uint8 command |
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,28 @@ | ||
uint8 NONE = 0 | ||
uint8 NEUTRAL = 1 | ||
uint8 DRIVE = 2 | ||
uint8 DRIVE_2 = 3 | ||
uint8 DRIVE_3 = 4 | ||
uint8 DRIVE_4 = 5 | ||
uint8 DRIVE_5 = 6 | ||
uint8 DRIVE_6 = 7 | ||
uint8 DRIVE_7 = 8 | ||
uint8 DRIVE_8 = 9 | ||
uint8 DRIVE_9 = 10 | ||
uint8 DRIVE_10 = 11 | ||
uint8 DRIVE_11 = 12 | ||
uint8 DRIVE_12 = 13 | ||
uint8 DRIVE_13 = 14 | ||
uint8 DRIVE_14 = 15 | ||
uint8 DRIVE_15 = 16 | ||
uint8 DRIVE_16 = 17 | ||
uint8 DRIVE_17 = 18 | ||
uint8 DRIVE_18 = 19 | ||
uint8 REVERSE = 20 | ||
uint8 REVERSE_2 = 21 | ||
uint8 PARK = 22 | ||
uint8 LOW = 23 | ||
uint8 LOW_2 = 24 | ||
|
||
builtin_interfaces/Time stamp | ||
uint8 report |
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,6 @@ | ||
uint8 NO_COMMAND = 0 | ||
uint8 DISABLE = 1 | ||
uint8 ENABLE = 2 | ||
|
||
builtin_interfaces/Time stamp | ||
uint8 command |
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,5 @@ | ||
uint8 DISABLE = 1 | ||
uint8 ENABLE = 2 | ||
|
||
builtin_interfaces/Time stamp | ||
uint8 report |
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 @@ | ||
builtin_interfaces/Time stamp | ||
float32 steering_tire_angle |
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,7 @@ | ||
uint8 NO_COMMAND = 0 | ||
uint8 DISABLE = 1 | ||
uint8 ENABLE_LEFT = 2 | ||
uint8 ENABLE_RIGHT = 3 | ||
|
||
builtin_interfaces/Time stamp | ||
uint8 command |
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,6 @@ | ||
uint8 DISABLE = 1 | ||
uint8 ENABLE_LEFT = 2 | ||
uint8 ENABLE_RIGHT = 3 | ||
|
||
builtin_interfaces/Time stamp | ||
uint8 report |
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 @@ | ||
builtin_interfaces/Time stamp | ||
float32 velocity_mps | ||
float32 front_wheel_angle_rad | ||
float32 rear_wheel_angle_rad |
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 | ||
float32 longitudinal_velocity | ||
float32 lateral_velocity | ||
float32 heading_rate |
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 @@ | ||
<?xml version="1.0"?> | ||
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?> | ||
<package format="3"> | ||
<name>autoware_vehicle_msgs</name> | ||
<version>1.0.0</version> | ||
<description>Interfaces between core Autoware.Auto vehicle components</description> | ||
<maintainer email="[email protected]">Apex.AI, Inc.</maintainer> | ||
<license>Apache 2</license> | ||
|
||
<buildtool_depend>ament_cmake_auto</buildtool_depend> | ||
<buildtool_depend>rosidl_default_generators</buildtool_depend> | ||
|
||
<depend>autoware_planning_msgs</depend> | ||
<depend>builtin_interfaces</depend> | ||
<depend>std_msgs</depend> | ||
|
||
<exec_depend>rosidl_default_runtime</exec_depend> | ||
|
||
<test_depend>ament_lint_auto</test_depend> | ||
<test_depend>ament_lint_common</test_depend> | ||
|
||
<member_of_group>rosidl_interface_packages</member_of_group> | ||
|
||
<export> | ||
<build_type>ament_cmake</build_type> | ||
</export> | ||
</package> |
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,12 @@ | ||
uint8 NO_COMMAND = 0 | ||
uint8 AUTONOMOUS = 1 | ||
uint8 AUTONOMOUS_STEER_ONLY = 2 | ||
uint8 AUTONOMOUS_VELOCITY_ONLY = 3 | ||
uint8 MANUAL = 4 | ||
|
||
builtin_interfaces/Time stamp | ||
uint8 mode | ||
|
||
--- | ||
|
||
bool success |