-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Port gnss_comm_msgs to ROS 2 in order to compile Vilens fro…
…m source
- Loading branch information
Showing
7 changed files
with
43 additions
and
37 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 |
---|---|---|
@@ -1,34 +1,32 @@ | ||
cmake_minimum_required(VERSION 3.0.2) | ||
cmake_minimum_required(VERSION 3.5) | ||
project(gnss_comm_msgs) | ||
|
||
# to make sure ccache produces colorized output. | ||
add_compile_options(-fdiagnostics-color=always) | ||
|
||
find_package(catkin REQUIRED COMPONENTS | ||
message_generation | ||
std_msgs | ||
) | ||
find_package(ament_cmake REQUIRED) | ||
find_package(builtin_interfaces REQUIRED) | ||
find_package(rosidl_default_generators REQUIRED) | ||
find_package(std_msgs REQUIRED) | ||
|
||
add_message_files( | ||
FILES | ||
GnssTimeMsg.msg | ||
GnssEphemMsg.msg | ||
GnssGloEphemMsg.msg | ||
GnssMeasMsg.msg | ||
GnssObsMsg.msg | ||
GnssBestXYZMsg.msg | ||
GnssPVTSolnMsg.msg | ||
GnssSvsMsg.msg | ||
GnssTimePulseInfoMsg.msg | ||
StampedFloat64Array.msg | ||
set(msg_files | ||
"msg/GnssTimeMsg.msg" | ||
"msg/GnssEphemMsg.msg" | ||
"msg/GnssGloEphemMsg.msg" | ||
"msg/GnssMeasMsg.msg" | ||
"msg/GnssObsMsg.msg" | ||
"msg/GnssBestXYZMsg.msg" | ||
"msg/GnssPVTSolnMsg.msg" | ||
"msg/GnssSvsMsg.msg" | ||
"msg/GnssTimePulseInfoMsg.msg" | ||
"msg/StampedFloat64Array.msg" | ||
) | ||
|
||
generate_messages( | ||
rosidl_generate_interfaces(${PROJECT_NAME} | ||
${msg_files} | ||
DEPENDENCIES | ||
std_msgs | ||
) | ||
|
||
catkin_package( | ||
CATKIN_DEPENDS message_runtime | ||
std_msgs | ||
) | ||
ament_export_dependencies(rosidl_default_runtime) | ||
ament_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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Header header | ||
std_msgs/Header header | ||
float64[] pos | ||
float64[] pos_sigma | ||
float64[] vel | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Header header | ||
std_msgs/Header header | ||
uint32[] sat | ||
uint32[] freqo | ||
bool[] health | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# A list of float values with timestamp | ||
|
||
Header header | ||
std_msgs/Header header | ||
float64[] data |
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 |
---|---|---|
@@ -1,15 +1,23 @@ | ||
<?xml version="1.0"?> | ||
<package format="2"> | ||
<package format="3"> | ||
<name>gnss_comm_msgs</name> | ||
<version>0.0.1</version> | ||
<description> | ||
Messages from GNSS receiver. | ||
</description> | ||
<maintainer email="beuchert@robots.ox.ac.uk">Jonas Beuchert</maintainer> | ||
<maintainer email="tobit@robots.ox.ac.uk">Tobit Flatscher</maintainer> | ||
<license>GPL-3.0</license> | ||
|
||
<buildtool_depend>catkin</buildtool_depend> | ||
<build_depend>message_generation</build_depend> | ||
<exec_depend>message_runtime</exec_depend> | ||
<buildtool_depend>ament_cmake</buildtool_depend> | ||
<buildtool_depend>rosidl_default_generators</buildtool_depend> | ||
|
||
<depend>builtin_interfaces</depend> | ||
<depend>std_msgs</depend> | ||
<exec_depend>rosidl_default_runtime</exec_depend> | ||
|
||
<member_of_group>rosidl_interface_packages</member_of_group> | ||
|
||
<export> | ||
<build_type>ament_cmake</build_type> | ||
</export> | ||
</package> |