Getting Started with event-driven
August 2, 2021 ยท View on GitHub
You may have some hardware in front of you that you are unsure of how to use, if not, and you just need help with software, skip ahead. If you have any questions with the these instructions, please open a GitHub issue on the event-driven repository page.
Hardware
-
Hardware could include sensors (e.g. ATIS, event-driven skin, cochlea, or IMU), as well as acquisition boards based on zynq chips (e.g. ZCB or z-turn). We'll assume the hardware is correctly connected and powered. :warning: However, if you are truly starting from scratch, you may need to set-up an sd-card for a ZCB or z-turn. If you just need to connect to your hardware, skip this step.
-
If the system should be already ready-to-go, and you just need the board to start acquisition, you can follow these instructions to connect to the ZCB or z-turn..
-
Once you have a connection to the board, you need to set-up the yarpserver to correctly communicate between your laptop and the board.
-
Finally you will need to run
zynqGrabber. -
At this point, if you have checked your hardware is streaming events, you can start to read and process them, once your software is correctly installed on the laptop as well.
Software
-
The first step is to install the dependencies - typically just YARP, is required but we reccommend YCM, as well as OpenCV for visualisation - and the
event-drivenlibrary itself. The instructions for installation should be all you need to do to have a working environment. -
We suggest following the getting started with visualising events tutorial to check everything is working, and to learn about the
yarpdataplayer. If you can't get the tutorial working, double check everything is installed correctly, and if you can't find the problem, please open an issue on theevent-drivenrepository page. -
Finally, once you are ready, you can learn to write a basic processing module which covers, reading and writing events, and understanding event timestamps. Your module probably needs a nice way of:
-
You can also learn to TODO: save and playback data for offline processing and experiment re-creation.