Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Preliminaries

Administrative stuff

Get all administrative things out of the way. Read the Introduction and the Technical Information chapters and set up your working environment. Do this carefully! You do not want to waste time with this kind of stuff later on.

To get yourself running create an stash account and checkout the git repository of the railway project (summer term 2014). Remember that you need a valid ssh key to work with stash. Add your public key to your stash account.

If you have trouble using git ask a supervisor for help!

Railway layout

Get familiar with the railway. Read the technical documentation and understand the track layout scheme. 

 

Tasks

T1A1: Important Thoughts

Write down in own words why the railway installation is a) a real-time system and b) an embedded system.

 

T1A2: C Interface

Since you have checked out the project's repository already, you also downloaded the c interface of the railway installation. Look inside the railway folder inside your local repository clone and find the railway.h. There should be two interfaces, one for the simulation and another for the real railway hardway. Examine the structure of the header and try to find API functions describe in the technical documentation and try to find out where the two versions differ.

Write a .c program that implements a simple railway controler. Use the interface for the simulation and start your control with the modelGUI. The controler should work as follows:

  • a
  • b
  • c

 

  • No labels