Giter VIP home page Giter VIP logo

wellclear's Issues

What is the data file looks like for the drawgraphs.py

Hi, I've been interested in the detect and avoid function for UAS, when I ran the code, I tried the drawgraphs.py but it required a data file. I don't know where the file is and what it should looked like.

Could you please tell me how to create the data file?
Thank you.

Compile error issus

I am using Ubuntu 16.04 (kinetic), when I tried to compile the DAIDALUS,

the following error occurs.

''wkyoun@wkyoun-17Z990-VP70ML:~/WellClear/DAIDALUS/C++$ make

** Building DAIDALUS library
ar -cr lib/DAIDALUS.a  && ranlib lib/DAIDALUS.a #&& rm *.o


** Building example applications
g++ -o DaidalusExample -Iinclude  -Wall -O  src/DaidalusExample.cpp lib/DAIDALUS.a
g++ -o DaidalusAlerting -Iinclude  -Wall -O  src/DaidalusAlerting.cpp lib/DAIDALUS.a
src/DaidalusAlerting.cpp: In function ‘int main(int, char**)’:
src/DaidalusAlerting.cpp:122:31: error: no matching function for call to ‘std::basic_ifstream<char>::basic_ifstream(std::string&)’
  std::ifstream file(input_file);
                               ^
src/DaidalusAlerting.cpp:122:31: note: candidates are:
In file included from include/ParameterData.h:19:0,
                 from include/Detection3D.h:19,
                 from include/Daidalus.h:11,
                 from src/DaidalusAlerting.cpp:40:
/usr/include/c++/4.8/fstream:467:7: note: std::basic_ifstream<_CharT, _Traits>::basic_ifstream(const char*, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::ios_base::openmode = std::_Ios_Openmode]
       basic_ifstream(const char* __s, ios_base::openmode __mode = ios_base::in)
       ^
/usr/include/c++/4.8/fstream:467:7: note:   no known conversion for argument 1 from ‘std::string {aka std::basic_string<char>}’ to ‘const char*’
/usr/include/c++/4.8/fstream:453:7: note: std::basic_ifstream<_CharT, _Traits>::basic_ifstream() [with _CharT = char; _Traits = std::char_traits<char>]
       basic_ifstream() : __istream_type(), _M_filebuf()
       ^
/usr/include/c++/4.8/fstream:453:7: note:   candidate expects 0 arguments, 1 provided
/usr/include/c++/4.8/fstream:427:11: note: std::basic_ifstream<char>::basic_ifstream(const std::basic_ifstream<char>&)
     class basic_ifstream : public basic_istream<_CharT, _Traits>
           ^
/usr/include/c++/4.8/fstream:427:11: note:   no known conversion for argument 1 from ‘std::string {aka std::basic_string<char>}’ to ‘const std::basic_ifstream<char>&’
src/DaidalusAlerting.cpp:147:31: error: no matching function for call to ‘std::basic_ofstream<char>::basic_ofstream(std::string&)’
  std::ofstream out(output_file);
                               ^
src/DaidalusAlerting.cpp:147:31: note: candidates are:
In file included from include/ParameterData.h:19:0,
                 from include/Detection3D.h:19,
                 from include/Daidalus.h:11,
                 from src/DaidalusAlerting.cpp:40:
/usr/include/c++/4.8/fstream:640:7: note: std::basic_ofstream<_CharT, _Traits>::basic_ofstream(const char*, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::ios_base::openmode = std::_Ios_Openmode]
       basic_ofstream(const char* __s,
       ^
/usr/include/c++/4.8/fstream:640:7: note:   no known conversion for argument 1 from ‘std::string {aka std::basic_string<char>}’ to ‘const char*’
/usr/include/c++/4.8/fstream:625:7: note: std::basic_ofstream<_CharT, _Traits>::basic_ofstream() [with _CharT = char; _Traits = std::char_traits<char>]
       basic_ofstream(): __ostream_type(), _M_filebuf()
       ^
/usr/include/c++/4.8/fstream:625:7: note:   candidate expects 0 arguments, 1 provided
/usr/include/c++/4.8/fstream:599:11: note: std::basic_ofstream<char>::basic_ofstream(const std::basic_ofstream<char>&)
     class basic_ofstream : public basic_ostream<_CharT,_Traits>
           ^
/usr/include/c++/4.8/fstream:599:11: note:   no known conversion for argument 1 from ‘std::string {aka std::basic_string<char>}’ to ‘const std::basic_ofstream<char>&’
Makefile:20: recipe for target 'examples' failed
make: *** [examples] Error 1
''

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.