Skip to content
This repository has been archived by the owner on Jul 6, 2021. It is now read-only.

NTU MA4830 Real-time Software Mini Project AY20/21

Notifications You must be signed in to change notification settings

leonardoedgar/ma4830_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ma4830_project

Actions Status

NTU MA4830 Realtime Software Project AY20/21

  • Print a formatted table of mortar's launch configurations vs projectile's range and projectile's maximum height.
  • Obtain all collision-free mortar's launch configurations given a target and an obstacle.

Owner: Leonardo Edgar ([email protected])

Table of Contents

  1. Getting started
  2. Prerequisites
  3. Installing
  4. Run
  5. Acknowledgments

1. Getting started

Welcome to MA4830 Realtime Software project! There are just a few steps to get you started with developing!

2. Prerequisites

  1. Compute
    • Any computer
  2. Software package (for non-docker user)
    • gcc >= 7.5.0
    • cmake >= 3.18.1
    • make >= 4.1

3. Installing

  • To build the development docker image
cd dockerfiles
./update-sourcecode.sh
docker-compose -f docker-compose-dev.yaml build

4. Run

  • To run the executable (using docker image)
cd dockerfiles
docker-compose run main
docker-compose down
  • To run the executable (without docker image)
mkdir build
cd build && cmake ..
make all
./src/main
  • To run all tests (using docker image)
cd dockerfiles
docker-compose up tests
docker-compose down
  • To run all tests (without docker image)
mkdir build
cd build && cmake ..
make all
./src/run_unit_tests

5. Acknowledgments

Great thanks to people who have worked or helped on this project