reenable mcatt ctl and other nodes for ros

This commit is contained in:
Thomas Gubler 2015-01-25 18:22:13 +01:00
parent f7dc81ded1
commit 5cb208c32f
1 changed files with 42 additions and 42 deletions

View File

@ -169,52 +169,52 @@ target_link_libraries(subscriber
px4
)
# ## MC Attitude Control
# add_executable(mc_att_control
# src/modules/mc_att_control_multiplatform/mc_att_control_main.cpp
# src/modules/mc_att_control_multiplatform/mc_att_control.cpp
# src/modules/mc_att_control_multiplatform/mc_att_control_base.cpp)
# add_dependencies(mc_att_control ${PROJECT_NAME}_generate_messages_cpp_cpp)
# target_link_libraries(mc_att_control
# ${catkin_LIBRARIES}
# px4
# )
## MC Attitude Control
add_executable(mc_att_control
src/modules/mc_att_control_multiplatform/mc_att_control_main.cpp
src/modules/mc_att_control_multiplatform/mc_att_control.cpp
src/modules/mc_att_control_multiplatform/mc_att_control_base.cpp)
add_dependencies(mc_att_control ${PROJECT_NAME}_generate_messages_cpp_cpp)
target_link_libraries(mc_att_control
${catkin_LIBRARIES}
px4
)
# ## Attitude Estimator dummy
# add_executable(attitude_estimator
# src/platforms/ros/nodes/attitude_estimator/attitude_estimator.cpp)
# add_dependencies(attitude_estimator ${PROJECT_NAME}_generate_messages_cpp_cpp)
# target_link_libraries(attitude_estimator
# ${catkin_LIBRARIES}
# px4
# )
## Attitude Estimator dummy
add_executable(attitude_estimator
src/platforms/ros/nodes/attitude_estimator/attitude_estimator.cpp)
add_dependencies(attitude_estimator ${PROJECT_NAME}_generate_messages_cpp_cpp)
target_link_libraries(attitude_estimator
${catkin_LIBRARIES}
px4
)
# ## Manual input
# add_executable(manual_input
# src/platforms/ros/nodes/manual_input/manual_input.cpp)
# add_dependencies(manual_input ${PROJECT_NAME}_generate_messages_cpp_cpp)
# target_link_libraries(manual_input
# ${catkin_LIBRARIES}
# px4
# )
## Manual input
add_executable(manual_input
src/platforms/ros/nodes/manual_input/manual_input.cpp)
add_dependencies(manual_input ${PROJECT_NAME}_generate_messages_cpp_cpp)
target_link_libraries(manual_input
${catkin_LIBRARIES}
px4
)
# ## Multicopter Mixer dummy
# add_executable(mc_mixer
# src/platforms/ros/nodes/mc_mixer/mc_mixer.cpp)
# add_dependencies(mc_mixer ${PROJECT_NAME}_generate_messages_cpp_cpp)
# target_link_libraries(mc_mixer
# ${catkin_LIBRARIES}
# px4
# )
## Multicopter Mixer dummy
add_executable(mc_mixer
src/platforms/ros/nodes/mc_mixer/mc_mixer.cpp)
add_dependencies(mc_mixer ${PROJECT_NAME}_generate_messages_cpp_cpp)
target_link_libraries(mc_mixer
${catkin_LIBRARIES}
px4
)
# ## Commander
# add_executable(commander
# src/platforms/ros/nodes/commander/commander.cpp)
# add_dependencies(manual_input ${PROJECT_NAME}_generate_messages_cpp_cpp)
# target_link_libraries(commander
# ${catkin_LIBRARIES}
# px4
# )
## Commander
add_executable(commander
src/platforms/ros/nodes/commander/commander.cpp)
add_dependencies(manual_input ${PROJECT_NAME}_generate_messages_cpp_cpp)
target_link_libraries(commander
${catkin_LIBRARIES}
px4
)
#############
## Install ##