diff --git a/pps_ws/src/d_fall_pps/CMakeLists.txt b/pps_ws/src/d_fall_pps/CMakeLists.txt index c0476bb523969ace594ff165b4260d240217c0ee..e96f900fd56d6a4ad8e5fcb5d7d42dfb0de59299 100644 --- a/pps_ws/src/d_fall_pps/CMakeLists.txt +++ b/pps_ws/src/d_fall_pps/CMakeLists.txt @@ -134,6 +134,7 @@ include_directories( ## With catkin_make all packages are built within a single CMake context ## The recommended prefix ensures that target names across packages don't collide # add_executable(${PROJECT_NAME}_node src/d_fall_pps_node.cpp) +add_executable(ViconDataNode src/ViconDataNode.cpp) ## Rename C++ executable without prefix ## The above recommended prefix causes long target names, the following renames the @@ -150,6 +151,8 @@ include_directories( # ${catkin_LIBRARIES} # ) +target_link_libraries(ViconDataNode ${catkin_LIBRARIES}) + ############# ## Install ## ############# diff --git a/pps_ws/src/d_fall_pps/src/ViconDataNode.cpp b/pps_ws/src/d_fall_pps/src/ViconDataNode.cpp new file mode 100644 index 0000000000000000000000000000000000000000..2a8f7df91eede84f7de027fffe9dcf8a08aeb912 --- /dev/null +++ b/pps_ws/src/d_fall_pps/src/ViconDataNode.cpp @@ -0,0 +1,18 @@ +/////////////////////////////////////////////////////////////////////////////// +// +// Copyright (C) OMG Plc 2009. +// All rights reserved. This software is protected by copyright +// law and international treaties. No part of this software / document +// may be reproduced or distributed in any form or by any means, +// whether transiently or incidentally to some other use of this software, +// without the written permission of the copyright owner. +// +/////////////////////////////////////////////////////////////////////////////// + +#include "ros/ros.h" + +int main( int argc, char* argv[] ) +{ + ros::init(argc, argv, "ViconDataStreamSDK"); + ROS_INFO_STREAM("Okili dokili"); +}