hide static typesupport headers
This commit is contained in:
parent
17ef4a3de2
commit
a0757ed0b4
7 changed files with 46 additions and 14 deletions
|
@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 2.8.3)
|
|||
|
||||
project(userland)
|
||||
|
||||
set(CMAKE_CXX_FLAGS "-std=c++0x")
|
||||
set(CMAKE_CXX_FLAGS "-std=c++0x -Wall")
|
||||
|
||||
find_package(ros_middleware_interface REQUIRED)
|
||||
find_package(ros_dds_connext_dynamic REQUIRED)
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#include "std_msgs/Int32.h"
|
||||
|
||||
|
||||
main(int argc, char** argv)
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
rclcpp::Node* n = create_node();
|
||||
rclcpp::Publisher<std_msgs::Int32>* p = n->create_publisher<std_msgs::Int32>("topic_name");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue