From 63b60108f0cdfce6c2b6808af7c1aabccbc1dd2e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sergi=20Hern=C3=A1ndez?= <shernand@iri.upc.edu>
Date: Tue, 14 Jun 2016 00:12:22 +0200
Subject: [PATCH] Changed the CMakelist.txt file to build the strair example.

---
 bioloid_controller_cm510/CMakeLists.txt | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/bioloid_controller_cm510/CMakeLists.txt b/bioloid_controller_cm510/CMakeLists.txt
index 9770355..f9c3647 100644
--- a/bioloid_controller_cm510/CMakeLists.txt
+++ b/bioloid_controller_cm510/CMakeLists.txt
@@ -91,7 +91,7 @@ catkin_package(
 ###########
 
 SET(BIOLOID_FW_PATH ~/humanoids/cm510_controller_fw)
-SET(ProjectPath ~/Desktop/new_fw/sensors)
+SET(ProjectPath ~/humanoids/cm510_controller_fw/examples/stairs)
 
 ## Specify additional locations of header files
 ## Your package locations should be listed before other locations
@@ -105,6 +105,7 @@ include_directories(${iriutils_INCLUDE_DIR})
 INCLUDE_DIRECTORIES(${robotis_bin_parser_INCLUDE_DIR})
 INCLUDE_DIRECTORIES(${robotis_mtn_parser_INCLUDE_DIR})
 INCLUDE_DIRECTORIES(${robotis_mtn_INCLUDE_DIR})
+INCLUDE_DIRECTORIES(${ProjectPath}/../movements/)
 
 ## Declare a cpp library
 # add_library(bioloid_controller
@@ -126,8 +127,8 @@ add_library(${PROJECT_NAME} src/bioloid_controller_cm510.cpp
                             ${BIOLOID_FW_PATH}/communications/src/dynamixel.c
                             ${BIOLOID_FW_PATH}/communications/src/serial_console.c
                             # main application module
-                           
-		            ${ProjectPath}/main.c
+		            ${ProjectPath}/stairs.c
+		            ${ProjectPath}/../movements/mtn_library.c
                             # AVR simulation modules
                             src/sim/avr_delay.c
                             src/sim/avr_registers.c
-- 
GitLab