Skip to content

Commit 5780038

Browse files
Add used missing includes (#116) (#124)
* Signed-off-by: Pablo Garrido <[email protected]> * Update CI Signed-off-by: Pablo Garrido <[email protected]> (cherry picked from commit 2326a20) Co-authored-by: Pablo Garrido <[email protected]>
1 parent 57bdfc5 commit 5780038

File tree

7 files changed

+25
-5
lines changed

7 files changed

+25
-5
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: CI micro-ROS Agent
22

33
on:
44
pull_request:
5-
branches:
5+
branches:
66
- '**'
77

88
jobs:
@@ -22,9 +22,9 @@ jobs:
2222
cd /uros_ws
2323
. /opt/ros/$ROS_DISTRO/setup.sh
2424
. install/local_setup.sh
25-
rosdep update
26-
ros2 run micro_ros_setup create_agent_ws.sh
27-
25+
rosdep update --rosdistro=$ROS_DISTRO
26+
ros2 run micro_ros_setup create_agent_ws.sh
27+
2828
- name: Patch branch
2929
run: |
3030
rm -rf /uros_ws/src/uros/micro-ROS-Agent/*
@@ -35,4 +35,4 @@ jobs:
3535
cd /uros_ws
3636
. /opt/ros/$ROS_DISTRO/setup.sh
3737
. install/local_setup.sh
38-
ros2 run micro_ros_setup build_agent.sh
38+
ros2 run micro_ros_setup build_agent.sh

micro_ros_agent/include/agent/Agent.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020
#include <uxr/agent/middleware/utils/Callbacks.hpp>
2121

2222
#include <agent/graph_manager/graph_manager.hpp>
23+
24+
#include <map>
25+
#include <memory>
26+
2327
// TODO(jamoralp): class Documentation
2428
namespace uros {
2529
namespace agent {

micro_ros_agent/include/agent/graph_manager/graph_manager.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@
6262
#include <agent/utils/demangle.hpp>
6363

6464
#include <condition_variable>
65+
#include <string>
66+
#include <memory>
67+
#include <map>
6568

6669
namespace uros {
6770
namespace agent {

micro_ros_agent/src/agent/Agent.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717

1818
#include <agent/Agent.hpp>
1919

20+
#include <utility>
21+
#include <memory>
22+
2023
namespace uros {
2124
namespace agent {
2225

micro_ros_agent/src/agent/graph_manager/graph_manager.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@
1717

1818
#include <agent/graph_manager/graph_manager.hpp>
1919

20+
#include <memory>
21+
#include <string>
22+
#include <utility>
23+
#include <vector>
24+
2025
namespace uros {
2126
namespace agent {
2227
namespace graph_manager {

micro_ros_agent/src/agent/graph_manager/graph_typesupport.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717

1818
#include <agent/graph_manager/graph_typesupport.hpp>
1919

20+
#include <string>
21+
2022
namespace uros {
2123
namespace agent {
2224
namespace graph_manager {

micro_ros_agent/src/main.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414

1515
#include <agent/Agent.hpp>
1616

17+
#include <string>
18+
#include <vector>
19+
1720
int main(int argc, char** argv)
1821
{
1922
uros::agent::Agent micro_ros_agent;

0 commit comments

Comments
 (0)