From 1814c0976bc1a414748640ccb1ee729acc8c9de8 Mon Sep 17 00:00:00 2001 From: vivek-shankar Date: Tue, 5 Sep 2017 11:52:24 -0400 Subject: [PATCH] Logger change to adapt m_estate var removal in graphform.bzz --- src/roscontroller.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/roscontroller.cpp b/src/roscontroller.cpp index 2711a73..924a249 100644 --- a/src/roscontroller.cpp +++ b/src/roscontroller.cpp @@ -267,12 +267,12 @@ void roscontroller::RosControllerRun() /*Retrive the state of the graph and uav and log TODO WARNING :PLEASE REMOVE IF SCRIPT IS NOT graphform.bzz*/ static buzzvm_t VM = buzz_utility::get_vm(); - buzzvm_pushs(VM, buzzvm_string_register(VM, "m_eState",1)); - buzzvm_gload(VM); - buzzobj_t graph_state = buzzvm_stack_at(VM, 1); - buzzvm_pop(VM); - std::stringstream state_buff; - state_buff<< graph_state->s.value.str<<","; + std::stringstream state_buff; + //buzzvm_pushs(VM, buzzvm_string_register(VM, "m_eState",1)); + // buzzvm_gload(VM); + // buzzobj_t graph_state = buzzvm_stack_at(VM, 1); + // buzzvm_pop(VM); + // state_buff<< graph_state->s.value.str<<","; buzzvm_pushs(VM, buzzvm_string_register(VM, "UAVSTATE",1)); buzzvm_gload(VM); buzzobj_t uav_state = buzzvm_stack_at(VM, 1);