Coder Social home page Coder Social logo

marsrover's Introduction

MarsRover

Navigating robotic rovers to explore a plateau on Mars using given data.

Sources Description

  • "Mission/" contains inputs of the misson, data handler and mission controller.
  • "NavigationLibrary/" contains rover navigation and position controllers.
  • "RoverTest/" contains tests of navigation handler, position handler, rover abilities and mission controller.

You can insert your Input data to Mission/Inputs.txt file ad your Output data to RoverTest/Outputs.txt

Requirments

  • Visual Studio 2022 (64 bit, Version 17.1.1)
  • .NET Desktop Application Development Tools
  • Target Framework .NET 6.0

Setup

  • Install Visual Studio 2022 (64 bit, Version 17.1.1) with .NET Desktop Application Development Tools
  • Clone or Download the repository from GitHub

Clone:

  git clone https://github.com/GITburakdeniz/MarsRover.git

Download:

   https://github.com/GITburakdeniz/MarsRover/archive/refs/heads/master.zip
  • If cloned, open "MarsRover" folder. If zip file downloaded, extract it and then open "MarsRover-master" folder.
  • Open MarsRover.sln with Visual Studio from "MarsRover" or "MarsRover-master" folder.

Build and Run Project

By default "Startup Project" is "Mission". In Visual Studio 2022;

  • Build "MarsRover Solution" (Ctrl + Shift + B)
  • Run "Mission" (F5)

After run, "Mission" writes the result of the program to the console.

Run All Unit Tests and Output Test (RoverTest MStest Project)

  • Run All Unit Tests:

    Test Menu -> Run All Tests (Ctrl+R, A)

    After run all tests, "Test Explorer" will appear and all unit test results can be seen.

  • Output Validation Test (RoverTest->MissionTest->TestMission)

    You can insert your Input data to Mission/Inputs.txt file and your output data to RoverTest/Outputs.txt.

    • Mission/Inputs.txt file contains mission input data.

    • RoverTest/Outputs.txt contains mission output data.

  • To run only "Mission Test" to validate project output data with expected data.

    Test Menu -> Test Explorer -> RoverTest-> MissionTest-> TestMission

    After run the test, test results can be seen in the explorer.

Sample Run and Test

Inputs.txt

Capture3

Outputs.txt

Capture4

Run "Mission"

Capture1

Run All Unit Test

Capture

marsrover's People

Contributors

bburakdeniz avatar gitburakdeniz avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.