From 86d4b47584b8d774e4a232eb4ab083d3340d007a Mon Sep 17 00:00:00 2001 From: vivek-shankar Date: Sat, 1 Apr 2017 00:18:30 -0400 Subject: [PATCH] id from xbee fix --- src/buzz_utility.cpp | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/src/buzz_utility.cpp b/src/buzz_utility.cpp index 995e33a..245bf8e 100644 --- a/src/buzz_utility.cpp +++ b/src/buzz_utility.cpp @@ -19,7 +19,7 @@ namespace buzz_utility{ static buzzdebug_t DBG_INFO = 0; static uint8_t MSG_SIZE = 50; // Only 100 bytes of Buzz messages every step static int MAX_MSG_SIZE = 10000; // Maximum Msg size for sending update packets - + static int Robot_id = 0; /****************************************/ /*adds neighbours position*/ @@ -254,16 +254,17 @@ namespace buzz_utility{ const char* bdbg_filename, int robot_id) { //cout<<"bo file name"<