mirror of
https://github.com/micro-ROS/micro-ROS-Agent.git
synced 2026-09-06 09:55:15 +02:00
micro_ros_msgs has its own repository now (#40)
* micro_ros_msgs has its own repository now * Update CI * Update CI * Fix CI order * Error in YAML file * Source ROS2 * Add rosdep update * Fix
This commit is contained in:
@@ -9,18 +9,24 @@ jobs:
|
||||
|
||||
microros_agent_ci:
|
||||
runs-on: ubuntu-20.04
|
||||
container: ros:foxy
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
path: src/micro_ros_agent
|
||||
container: microros/base:foxy
|
||||
|
||||
steps:
|
||||
- name: Download dependencies
|
||||
run: |
|
||||
git clone -b foxy https://github.com/eProsima/Micro-XRCE-DDS-Agent src/microxrcedds_agent
|
||||
|
||||
cd /uros_ws
|
||||
. /opt/ros/foxy/setup.sh
|
||||
. install/local_setup.sh
|
||||
rosdep update
|
||||
ros2 run micro_ros_setup create_agent_ws.sh
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
path: src/uros/micro-ROS-Agent
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
cd /uros_ws
|
||||
. /opt/ros/foxy/setup.sh
|
||||
colcon build
|
||||
. install/local_setup.sh
|
||||
ros2 run micro_ros_setup build_agent.sh
|
||||
@@ -1,43 +0,0 @@
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
project(micro_ros_msgs)
|
||||
|
||||
# Default to C99
|
||||
if(NOT CMAKE_C_STANDARD)
|
||||
set(CMAKE_C_STANDARD 99)
|
||||
endif()
|
||||
|
||||
# Default to C++14
|
||||
if(NOT CMAKE_CXX_STANDARD)
|
||||
set(CMAKE_CXX_STANDARD 14)
|
||||
endif()
|
||||
|
||||
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
add_compile_options(-Wall -Wextra -Wpedantic)
|
||||
endif()
|
||||
|
||||
# find dependencies
|
||||
find_package(ament_cmake REQUIRED)
|
||||
find_package(rosidl_default_generators REQUIRED)
|
||||
# uncomment the following section in order to fill in
|
||||
# further dependencies manually.
|
||||
# find_package(<dependency> REQUIRED)
|
||||
|
||||
if(BUILD_TESTING)
|
||||
find_package(ament_lint_auto REQUIRED)
|
||||
# the following line skips the linter which checks for copyrights
|
||||
# uncomment the line when a copyright and license is not present in all source files
|
||||
#set(ament_cmake_copyright_FOUND TRUE)
|
||||
# the following line skips cpplint (only works in a git repo)
|
||||
# uncomment the line when this package is not in a git repo
|
||||
#set(ament_cmake_cpplint_FOUND TRUE)
|
||||
ament_lint_auto_find_test_dependencies()
|
||||
endif()
|
||||
|
||||
rosidl_generate_interfaces(
|
||||
${PROJECT_NAME}
|
||||
"msg/Graph.msg"
|
||||
"msg/Node.msg"
|
||||
"msg/Entity.msg"
|
||||
)
|
||||
|
||||
ament_package()
|
||||
@@ -1,8 +0,0 @@
|
||||
byte PUBLISHER=0
|
||||
byte SUBSCRIBER=1
|
||||
byte SERVICE_SERVER=2
|
||||
byte SERVICE_CLIENT=3
|
||||
|
||||
byte entity_type
|
||||
string<=256 name
|
||||
string<=256[] types
|
||||
@@ -1 +0,0 @@
|
||||
Node[] nodes
|
||||
@@ -1,3 +0,0 @@
|
||||
string<=256 node_namespace
|
||||
string<=256 node_name
|
||||
Entity[] entities
|
||||
@@ -1,22 +0,0 @@
|
||||
<?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>micro_ros_msgs</name>
|
||||
<version>0.0.1</version>
|
||||
<description>TODO: Package description</description>
|
||||
<maintainer email="pablogarrido@eprosima.com">Pablo Garrido</maintainer>
|
||||
<license>Apache License 2.0</license>
|
||||
|
||||
<buildtool_depend>ament_cmake</buildtool_depend>
|
||||
|
||||
<test_depend>ament_lint_auto</test_depend>
|
||||
<test_depend>ament_lint_common</test_depend>
|
||||
|
||||
<build_depend>rosidl_default_generators</build_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>
|
||||
Reference in New Issue
Block a user