pull/17/head
Dingzijian 1 year ago
parent 8607d0c53d
commit 9268bec37c

@ -1,86 +0,0 @@
cmake_minimum_required(VERSION 2.8.3)
project(myproject)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
find_package(catkin REQUIRED COMPONENTS
roscpp
std_msgs
geometry_msgs
nav_msgs
message_generation
)
include_directories(
include
include/json
include/transform
${catkin_INCLUDE_DIRS}
)
#add_library(send_transform include/transform/send_transform.h)
#add_dependencies(send_transform ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
#target_link_libraries(send_transform
# ${catkin_LIBRARIES}
#)
#add_library(receive_transform include/transform/receive_transform.h)
#add_dependencies(receive_transform ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
#target_link_libraries(receive_transform
# ${catkin_LIBRARIES}
#)
catkin_package(
CATKIN_DEPENDS roscpp std_msgs message_generation message_runtime
)
add_executable(udp_port_send_node src/udp_port_send_node.cpp)
target_link_libraries(udp_port_send_node
${catkin_LIBRARIES}
)
add_executable(udp_port_receive_node src/udp_port_receive_node.cpp)
target_link_libraries(udp_port_receive_node
${catkin_LIBRARIES}
)
add_executable(tcp_port_send_node src/tcp_port_send_node.cpp)
target_link_libraries(tcp_port_send_node
${catkin_LIBRARIES}
)
add_executable(tcp_port_receive_node src/tcp_port_receive_node.cpp)
target_link_libraries(tcp_port_receive_node
${catkin_LIBRARIES}
)
add_executable(coordinate_send_node src/coordinate_send.cpp)
target_link_libraries(coordinate_send_node
${catkin_LIBRARIES}
)
add_executable(map_send_node src/map_send.cpp)
target_link_libraries(map_send_node
${catkin_LIBRARIES}
)
add_executable(direct_control_send_node src/direct_control_send.cpp)
target_link_libraries(direct_control_send_node
${catkin_LIBRARIES}
)
add_executable(test_node test/test.cpp)
target_link_libraries(test_node
${catkin_LIBRARIES}
)
add_executable(look_node test/look.cpp)
target_link_libraries(look_node
${catkin_LIBRARIES}
)
add_executable(mappublish test/mappublish.cpp)
target_link_libraries(mappublish
${catkin_LIBRARIES}
)

@ -1,5 +0,0 @@
# udp port
rosrun udp_port udp_port_send_node
rosrun udp_port udp_port_receive_node
rosrun udp_port coordinate_send_node
scp catkin_ws/src/slamware_ros_sample/src/pub_nav_goal.cpp unitree@192.168.123.12:/tmp

File diff suppressed because it is too large Load Diff

@ -1,19 +0,0 @@
<package format="2">
<name>myproject</name>
<version>0.0.1</version>
<description>
udp subscribe test
</description>
<license>MIT</license>
<author email="randoms@bwbot.org">Randoms</author>
<maintainer email="randoms@bwbot.org">Randoms</maintainer>
<url type="website">http://github.com/bluewhalerobot/udp_test</url>
<url type="bugtracker">https://github.com/bluewhalerobot/udp_test/issues</url>
<url type="repository">https://github.com/bluewhalerobot/udp_test</url>
<buildtool_depend>catkin</buildtool_depend>
<exec_depend>message_runtime</exec_depend>
<depend>message_generation</depend>
<depend>roscpp</depend>
<depend>std_msgs</depend>
</package>
Loading…
Cancel
Save