Commit f1dea3f4 authored by CRS-User's avatar CRS-User

asd

parent 29cb11f5
......@@ -31,6 +31,7 @@ find_package(catkin REQUIRED COMPONENTS
add_message_files(
FILES
ER1ControlMsg.msg
ER1ControlMsgStudent.msg
)
generate_messages(
......@@ -115,6 +116,28 @@ add_dependencies(er1driver comon)
target_link_libraries(er1driver comon)
####################################### er1_driver_node_student #######################################
set(er1_driver_node_student_INCLUDE_DIR ${CMAKE_CURRENT_LIST_DIR}/include/er1_driver_node_student/)
file(GLOB er1_driver_node_student_HEADERS ${er1_driver_node_student_INCLUDE_DIR}/*.h*)
set(er1_driver_node_student_SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR}/src/er1_driver_node_student/)
file(GLOB er1_driver_node_student_SOURCES ${er1_driver_node_student_SOURCE_DIR}/*.c*)
add_executable(er1_driver_node_student ${er1_driver_node_student_SOURCES} ${er1_driver_node_student_HEADERS})
add_dependencies(er1_driver_node_student comon er1driver)
target_link_libraries(er1_driver_node_student comon er1driver ${catkin_LIBRARIES})
####################################### er1_control_node_student #######################################
set(er1_control_node_student_INCLUDE_DIR ${CMAKE_CURRENT_LIST_DIR}/include/er1_control_node_student/)
file(GLOB er1_control_node_student_HEADERS ${er1_control_node_student_INCLUDE_DIR}/*.h*)
set(er1_control_node_student_SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR}/src/er1_control_node_student/)
file(GLOB er1_control_node_student_SOURCES ${er1_control_node_student_SOURCE_DIR}/*.c*)
add_executable(er1_control_node_student ${er1_control_node_student_SOURCES} ${er1_control_node_student_HEADERS})
add_dependencies(er1_control_node_student er1driver)
target_link_libraries(er1_control_node_student er1driver ${SDL2_LIBRARY} ${catkin_LIBRARIES})
####################################### er1_driver_node #######################################
set(er1_driver_node_INCLUDE_DIR ${CMAKE_CURRENT_LIST_DIR}/include/er1_driver_node/)
file(GLOB er1_driver_node_HEADERS ${er1_driver_node_INCLUDE_DIR}/*.h*)
......@@ -138,7 +161,6 @@ add_dependencies(er1_control_node er1driver)
target_link_libraries(er1_control_node er1driver ${SDL2_LIBRARY} ${catkin_LIBRARIES})
if (0)
####################################### student_image_node #######################################
set(student_image_node_INCLUDE_DIR ${CMAKE_CURRENT_LIST_DIR}/include/student_image_node/)
......
#include "ros/ros.h"
#include <iostream>
#include <string>
#include <SDL2/SDL.h>
#include <crs/ER1ControlMsgStudent.h>
int main(int argc, char** argv) {
return 0;
}
#include <er1driver/er1driver.hpp>
#include "ros/ros.h"
#include <iostream>
#include <string>
#include <SDL2/SDL.h>
#include <crs/ER1ControlMsgStudent.h>
er1driver::SimpleER1Interface robot; // Todo: very bad idea
int main(int argc, char** argv) {
return 0;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment