Browse Source

SITL: Remove unused includes

master
Rajat Singhal 6 years ago committed by Peter Barker
parent
commit
ad9093251e
  1. 8
      libraries/SITL/SIM_Scrimmage.cpp
  2. 1
      libraries/SITL/SIM_Scrimmage.h

8
libraries/SITL/SIM_Scrimmage.cpp

@ -18,16 +18,10 @@
#include "SIM_Scrimmage.h" #include "SIM_Scrimmage.h"
#include <fcntl.h>
#include <stdio.h> #include <stdio.h>
#include <inttypes.h> #include <inttypes.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/types.h> #include <sys/types.h>
#include <cstdlib>
#include <fstream>
#include <sstream>
#include <iostream>
#include <algorithm>
#include <AP_HAL/AP_HAL.h> #include <AP_HAL/AP_HAL.h>
@ -128,7 +122,7 @@ void Scrimmage::start_scrimmage(void)
int ret = system(full_exec_str); int ret = system(full_exec_str);
if (ret != 0) { if (ret != 0) {
std::cerr << "scrimmage didn't open.\n"; ::fprintf(stderr, "scrimmage didn't open.\n");
perror("scrimmage"); perror("scrimmage");
} }

1
libraries/SITL/SIM_Scrimmage.h

@ -19,7 +19,6 @@
#pragma once #pragma once
#include <string> #include <string>
#include <map>
#include <AP_HAL/utility/Socket.h> #include <AP_HAL/utility/Socket.h>

Loading…
Cancel
Save