You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Jeroen Vreeken d9cc90d986 Add eeprom crc calculation and write functions. 3 years ago
..
am335x Don't build joystick code on BSD. 6 years ago
atsamx70 Check for 0-3. 3 years ago
block Add control loop for focusbox 3 years ago
controller Add control loop for focusbox 3 years ago
ec Add eeprom crc calculation and write functions. 3 years ago
lib make sure lib dirs are build 7 years ago
packet Fix testcases and hex values. 3 years ago
shell Builds for atsam 3 years ago
test Builds for atsam 3 years ago
trigger Fix non atsam build. 3 years ago
vesp Builds for atsam 3 years ago
.gitignore Make tests real targets. 7 years ago
Makefile Move the 'all' target below the generic redirect target. GNU make allows only 7 years ago
README Update README files 9 years ago
build.mk After test at corso 3 years ago
ctrl_embedded.ctrl Add quadratic sign block (quadratic function, but keeping sign) 3 years ago
dt_ctrl.c Working after test at corso 3 years ago
dt_ctrl.ctrl Add control loop for focusbox 3 years ago
dt_ctrl.param Sync with params on old controller 6 years ago
dt_ctrl.param.dt Display focusbox position in cm. ( value * 10, and no decimals) 8 years ago
dt_ctrl_az.ctrl Add multifrequency support 7 years ago
dt_ctrl_az_sim.ctrl Add control loop for focusbox 3 years ago
dt_ctrl_ec.ctrl Add multifrequency support 7 years ago
dt_ctrl_ec_sim.ctrl Remove elevation safety from network. 7 years ago
dt_ctrl_el.ctrl Changes needed to get new software running on an actual DT. 6 years ago
dt_ctrl_el_sim.ctrl Add control loop for focusbox 3 years ago

README

Directories
===========

controller Basic controller functions & blocks.

utils Helper functions (e.g. TCP and config file reading)

dt_azimuth DT Azimuth (real & model)

dt_elevation DT Elevation (real & model)

ec Ethercat implementation

shell Code for command shell

Building
========

A Debian 6.0 installation with make, libtool, gcc, bison, flex installed is
sufficient for building the controller. For running, root permissions are
required as it selects the realtime scheduler.


Programs
========

dt_ctrl Controller software for the complete DT
dt_ctrl_sim Controller software for the complete DT, including DT-simulator

trace_list Connects to controller and prints list of available
traces.

trace_view Live view of a trace using gnuplot.

Installing locally
==================

A webserver is needed to present the console gui to the web browser. Configure
/etc/apache2/sites-enabled/000-default (or the default-ssl file) as followss,
where htdocs is located in /var/console/console/htdocs:

DocumentRoot /var/console/console/htdocs
<Directory "/var/console/console/htdocs">
AllowOverride None
AddHandler cgi-script .cgi
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>

Running locally
===============

Start the controller:
cd controller; ./dt_ctrl dt_ctrl.ctrl

Start the console:
cd console/console/bin; ./start_console.sh

Make sure your webbrowser can handle sufficient tcp connections in parallel to
the webserver. For Firefox, set in about:config this:

network.http.max-connections-per-server=15