From 9523338c1e6b180d4540cf7a7d501fd9652a0459 Mon Sep 17 00:00:00 2001 From: David Wehr <dawehr@iastate.edu> Date: Fri, 27 Jan 2017 20:26:22 -0600 Subject: [PATCH] Changed protection loops so quad doesn't send "The quad is ready to receive VRPN data" --- quad/sw/modular_quad_pid/src/initialize_components.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/quad/sw/modular_quad_pid/src/initialize_components.c b/quad/sw/modular_quad_pid/src/initialize_components.c index 913141be7..c548d26d2 100644 --- a/quad/sw/modular_quad_pid/src/initialize_components.c +++ b/quad/sw/modular_quad_pid/src/initialize_components.c @@ -28,12 +28,7 @@ int protection_loops(modular_structs_t *structs) read_rec_all(rc_commands); // wait until the ground station has connected to the quad and acknowledged that its ready to start - char buf[255] = {}; - int length = snprintf(buf, sizeof(buf), "The quad is ready to receive VRPN data.\r\n"); - length = length >= sizeof(buf) ? 255 : length; - while (!structs->user_input_struct.receivedBeginUpdate) { - send_data(MessageTypes[4].ID, MessageTypes[4].subtypes[1].ID, 0, buf, length); process_received(structs); usleep(10000); } -- GitLab