Research
Courses
Schedule
Resume
Biography
T-Files
|
How To: Quickstart ADAPT
This is a very basic quickstart guide to building, configuring and running the ADAPT Video Server.
The Steps
- In this order do a make clean; make in the following directories:
libcp10/
rudp/
cprudp/
frame/src/
adapt/src
- Note that with the ADAPT make it will not stop if errors are found in subdirectories. Just watch them carefully.
- The machine(s) where you install / make ADAPT need libraw and libdc1394 installed.
- You'll need to modify the config files for ADAPT before running:
- The Client Coordinator (acco):
adapt/run/config/acco/allhost.conf
- Note / Change the ListenPort
- Change the ASCOHost (The Server Coordinator machine)
- The Server Coordinator (asco):
adapt/run/config/asco/allhost.conf
- Modify the asmmList according to the lower entries
- asmmX: modify the host names to be the hosts that have cameras and in the order that you want them connected to (e.g. if you only need 3 hosts the first 3 will be used and so on).
- The Server Daemon (asd):
adapt/run/config/asd/cameras.conf
- Using the existing entries enter your cameras. (I'm not 100% sure of all the values here)
adapt/run/XX/config/asd/cameras.conf
- Just a synlink to adapt/run/config/asd/cameras.conf
adapt/run/XX/config/asd/allhost.conf
- Needs to be there, no real need to change anything.
adapt/run/XX/config/asd/perhost.conf
- unique to each host
- CameraCount to the number of cameras
- CameraNames to the names of the cameras below
- Set the properties of the cameras as they are described in the file. Pretty straight forward.
- To run the system:
Bring up in any order the asd, asco, and acco.
- asd:
adapt/run/asd XX/config/asd
- asco:
adapt/run/asco adapt/run/config/asco NUMBER_OF_STREAMS
- acco:
adapt/run/acco adapt/run/config/acco NUMBER_OF_STREAMS
- capture:
adapt/run/capture
- Will print the usage message
- Note to get files into a subdirectory this needs to be part of the file_prefix and be a directory that exists.
- Some items that must be installed:
- STL
- libdc1394_control
- libraw1394
Feedback
Please send me some
feedback
on how this worked for you. I'd be happy to help you figure it out for yourself.
|