From 3a0239b2ae16e034656b65b8e17224e6edd1e58c Mon Sep 17 00:00:00 2001 From: david Date: Thu, 18 Oct 2018 18:16:35 -0400 Subject: [PATCH] io.fwrite function in buzz was crashing the node, commented out for now. Crash reason undertermined. --- buzz_scripts/include/bidding/bidding.bzz | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/buzz_scripts/include/bidding/bidding.bzz b/buzz_scripts/include/bidding/bidding.bzz index 521eb29..3e27d46 100644 --- a/buzz_scripts/include/bidding/bidding.bzz +++ b/buzz_scripts/include/bidding/bidding.bzz @@ -230,13 +230,13 @@ function sc_cover_assigned_area() { var pursuing_wp = current_area_wp_order[current_area_wp_index] sc_move_wp(pursuing_wp) if (distance_from_gps(wp_lat(pursuing_wp), wp_lon(pursuing_wp))<0.1) { - io.fwrite(output_file, string.concat( string.tostring(wp_area(pursuing_wp)), ",", - string.tostring(wp_type(pursuing_wp)), ",", - string.tostring(wp_lat(pursuing_wp)), ",", - string.tostring(wp_lon(pursuing_wp)), ",", - string.tostring(wp_alt(pursuing_wp)), ",", - wp_filename(pursuing_wp), ",", - string.tostring(id) )) + # io.fwrite(output_file, string.concat( string.tostring(wp_area(pursuing_wp)), ",", + # string.tostring(wp_type(pursuing_wp)), ",", + # string.tostring(wp_lat(pursuing_wp)), ",", + # string.tostring(wp_lon(pursuing_wp)), ",", + # string.tostring(wp_alt(pursuing_wp)), ",", + # wp_filename(pursuing_wp), ",", + # string.tostring(id) )) if (current_area_wp_index < (current_area_wp_number - 1)) { current_area_wp_index = current_area_wp_index + 1 } else {