cmake_minimum_required(VERSION 2.8.3)
project(sensor_interface)

find_package(catkin REQUIRED COMPONENTS
    rosserial_arduino
    rosserial_client
    # message_generation
    # geometry_msgs
    std_msgs
    vortex_msgs
    sensor_msgs
)

catkin_package(
    CATKIN_DEPENDS message_runtime
)

rosserial_generate_ros_lib(
    PACKAGE rosserial_arduino
    SCRIPT make_libraries.py
)

add_dependencies(sensor_interface_ros_lib
    maelstrom_msgs_generate_messages
)

rosserial_configure_client(
    DIRECTORY firmware
    TOOLCHAIN_FILE ${ROSSERIAL_ARDUINO_TOOLCHAIN}
)

rosserial_add_client_target(firmware sensor_interface ALL)
rosserial_add_client_target(firmware sensor_interface-upload)

cmake_minimum_required(VERSION 2.8.3)
project(sensor_interface)

find_package(catkin REQUIRED COMPONENTS
    rosserial_arduino
    rosserial_client
    # message_generation
    # geometry_msgs
    std_msgs
    vortex_msgs
    sensor_msgs
)

catkin_package(
    CATKIN_DEPENDS message_runtime
)

rosserial_generate_ros_lib(
    PACKAGE rosserial_arduino
    SCRIPT make_libraries.py
)

# add_dependencies(sensor_interface_ros_lib
#     maelstrom_msgs_generate_messages
# )

rosserial_configure_client(
    DIRECTORY firmware
    TOOLCHAIN_FILE ${ROSSERIAL_ARDUINO_TOOLCHAIN}
)

rosserial_add_client_target(firmware sensor_interface ALL)
rosserial_add_client_target(firmware sensor_interface-upload)

Remove unused part of cmakelists
Remove unused part of cmakelists
