Commit 902ba12b authored by Reda El Azzouzi's avatar Reda El Azzouzi
Browse files

Modified paths.

parent 2f62469d
......@@ -8,13 +8,13 @@ find_package(catkin REQUIRED COMPONENTS
catkin_package()
set(ARDUINO_LIBRARIES_PATH /home/pi/Arduino/libraries)
set(ARDUINO_LIBRARIES_PATH /home/$ENV{USER}/Arduino/libraries)
set(ARDUINO_EXECUTABLE /opt/arduino-1.8.19/arduino)
set(BOARD /dev/electra/encoder)
add_custom_target(${PROJECT_NAME}_generate_ros_lib ALL
COMMAND rm -rf ${ARDUINO_LIBRARIES_PATH}/ros_lib
COMMAND ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/../../rosbase/rosserial/rosserial_arduino/src/rosserial_arduino/make_libraries.py
COMMAND ${PYTHON_EXECUTABLE} /opt/ros/melodic/share/rosserial_arduino/make_libraries.py
${ARDUINO_LIBRARIES_PATH}
)
......
......@@ -8,13 +8,13 @@ find_package(catkin REQUIRED COMPONENTS
catkin_package()
set(ARDUINO_LIBRARIES_PATH /home/pi/Arduino/libraries)
set(ARDUINO_LIBRARIES_PATH /home/$ENV{USER}/Arduino/libraries)
set(ARDUINO_EXECUTABLE /opt/arduino-1.8.19/arduino)
set(BOARD /dev/electra/loadcell)
add_custom_target(${PROJECT_NAME}_generate_ros_lib ALL
COMMAND rm -rf ${ARDUINO_LIBRARIES_PATH}/ros_lib
COMMAND ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/../../rosbase/rosserial/rosserial_arduino/src/rosserial_arduino/make_libraries.py
COMMAND ${PYTHON_EXECUTABLE} /opt/ros/melodic/share/rosserial_arduino/make_libraries.py
${ARDUINO_LIBRARIES_PATH}
)
......
......@@ -8,13 +8,13 @@ find_package(catkin REQUIRED COMPONENTS
catkin_package()
set(ARDUINO_LIBRARIES_PATH /home/pi/Arduino/libraries)
set(ARDUINO_LIBRARIES_PATH /home/$ENV{USER}/Arduino/libraries)
set(ARDUINO_EXECUTABLE /opt/arduino-1.8.19/arduino)
set(BOARD /dev/electra/motor)
add_custom_target(${PROJECT_NAME}_generate_ros_lib ALL
COMMAND rm -rf ${ARDUINO_LIBRARIES_PATH}/ros_lib
COMMAND ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/../../rosbase/rosserial/rosserial_arduino/src/rosserial_arduino/make_libraries.py
COMMAND ${PYTHON_EXECUTABLE} /opt/ros/melodic/share/rosserial_arduino/make_libraries.py
${ARDUINO_LIBRARIES_PATH}
)
......
Supports Markdown
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