mirror of http://dmlinking.net/~pe1rxq/dt_ctrl.git
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.
|
4 years ago | |
---|---|---|
.. | ||
am335x | 7 years ago | |
atsamx70 | 4 years ago | |
block | 4 years ago | |
controller | 4 years ago | |
ec | 4 years ago | |
lib | 8 years ago | |
packet | 4 years ago | |
shell | 4 years ago | |
test | 4 years ago | |
trigger | 4 years ago | |
vesp | 4 years ago | |
.gitignore | 7 years ago | |
Makefile | 7 years ago | |
README | 9 years ago | |
build.mk | 4 years ago | |
ctrl_embedded.ctrl | 4 years ago | |
dt_ctrl.c | 4 years ago | |
dt_ctrl.ctrl | 4 years ago | |
dt_ctrl.param | 6 years ago | |
dt_ctrl.param.dt | 8 years ago | |
dt_ctrl_az.ctrl | 8 years ago | |
dt_ctrl_az_sim.ctrl | 4 years ago | |
dt_ctrl_ec.ctrl | 8 years ago | |
dt_ctrl_ec_sim.ctrl | 7 years ago | |
dt_ctrl_el.ctrl | 6 years ago | |
dt_ctrl_el_sim.ctrl | 4 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