Giter Site home page Giter Site logo

splendid-1020 / mazu-sim Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pakls/mazu-sim

0.0 1.0 0.0 9.18 MB

Aerospace 6-DoF Simulation Platform.

License: BSD 3-Clause "New" or "Revised" License

C++ 76.67% Makefile 3.41% C 15.72% Shell 1.93% CMake 1.14% Python 1.12%

mazu-sim's Introduction

Mazu Logo

mazu-sim

Mazu simulation(mazu-sim) is 6DoF Rocket Simulation Platform.

It base on Modeling INS/GPS/Star-Tracker in 6 DoF: Simulating NGC of a Three-Stage Rocket Booster in CADAC++

The aim is to provide to verify flight software, and delivery accuracy hardware-in-the-loop and flight testing.

Getting Started

0. Clone the Repo

$ git clone --recursive https://github.com/octoberskyTW/mazu-sim

1. Dependencies

  • GCC 5.4 up
  • Python 2.7
  • cpplint
$ sudo apt-get install htop cmake vim tree git-core libopenblas-dev libboost-dev libboost-all-dev bison curl flex python-pip clang-format cppcheck
$ pip install cpplint

2. Third-Party Installation

  • Armadillo Matrix Library-9.700.2
    third-party/armadillo $ tar xvf armadillo-9.700.2.tar.xz
    third-party/armadillo $ cd armadillo-9.700.2
    third-party/armadillo/armadillo-9.700.2 $ ./configure
    third-party/armadillo/armadillo-9.700.2 $ make
    third-party/armadillo/armadillo-9.700.2 $ sudo make install
    
  • Google Test
    $ sudo apt-get install libgtest-dev
    $ sudo apt-get install cmake # install cmake
    $ cd /usr/src/gtest
    $ sudo mkdir build && cd build
    $ sudo cmake .. && sudo make
    # copy or symlink libgtest.a and libgtest_main.a to your /usr/local/lib folder
    $ sudo cp *.a /usr/local/lib
  • NASA Trick 17.5 dev
    $ sudo apt-get install bison curl flex g++ libx11-dev libxml2-dev libxt-dev \
             libmotif-common libmotif-dev make openjdk-8-jdk python2.7-dev swig \
             zlib1g-dev llvm llvm-dev clang libclang-dev libudunits2-dev
    third-party/trick $ ./configure
    third-party/trick $ make
    third-party/trick $ sudo make install
    
  • Redis-Server
      third-party/redis $ tar xzf redis-5.0.5.tar.gz
      third-party/redis $ cd redis-5.0.5
      third-party/redis/redis-5.0.5 $ make
      third-party/redis/redis-5.0.5 $ sudo make install

3. Build and Run a sample code

$ make
$ make run-sample

Build and run the specific project

  • Tutorial project: sample
    $ make project=sample
    $ make run-sample
    
  • Rocket project: skyline
    $ make project=skyline
    $ make run-skyline
    

Doxygen

$ sudo apt-get install graphviz doxygen
$ doxygen Doxyfile

open the docs/build/index.html in browser

Software Stack

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.