Removed Absolute Path in graphform.bzz

This commit is contained in:
pyhs 2017-07-06 13:54:51 -04:00
parent d48ddaa272
commit 69729d926b
2 changed files with 4 additions and 2 deletions

View File

@ -5,6 +5,8 @@ if(UNIX)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=gnu++11")
endif()
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/buzz_scripts/graphform.bzz.in ${CMAKE_CURRENT_SOURCE_DIR}/buzz_scripts/graphform.bzz)
## Find catkin macros and libraries
find_package(catkin REQUIRED COMPONENTS
roscpp

View File

@ -793,9 +793,9 @@ function step(){
#
function Reset(){
m_vecNodes={}
m_vecNodes = parse_graph("/home/ubuntu/ROS_WS/src/rosbuzz/buzz_scripts/include/Graph_drone.graph")#change the .graph file when necessary
m_vecNodes = parse_graph("${CMAKE_CURRENT_SOURCE_DIR}/buzz_scripts/include/Graph_drone.graph")#change the .graph file when necessary
m_vecNodes_fixed={}
m_vecNodes_fixed=parse_graph_fixed("/home/ubuntu/ROS_WS/src/rosbuzz/buzz_scripts/include/Graph_fixed.graph")
m_vecNodes_fixed=parse_graph_fixed("${CMAKE_CURRENT_SOURCE_DIR}/buzz_scripts/include/Graph_fixed.graph")
m_nLabel=-1
#start listening