-
Notifications
You must be signed in to change notification settings - Fork 85
Firmware
Dexter runs "Ubuntu 16.04 LTS" from the micro SD card on it's MicroZed board and automatically starts a program called DexRun.c (used to be iotest.c)
DexRun.c is the interface between the ethernet port and the FPGA which controls Dexters hardware (motors, encoders, etc...). It opens a socket and accepts commands from DDE and sends data back. See DexRun-DDE-communications for more detail.
DexRun.c also provides a few local functions. For example, onboard motion planning is being developed.
To update the onboard firmware, follow the directions at: https://github.com/HaddingtonDynamics/Dexter/blob/master/Firmware/README.md
Although the version of the microzed board doesn't have a screen, your can SSH into Dexter from any network connected PC.
Once you are at the command prompt in Dexter, you can verify that DexRun is active with pgrep DexRun
which will return the process id number. If nothing is returned DexRun isn't active. To stop DexRun (e.g. after compiling a new version) the quickest way is pkill DexRun
. To start DexRun, the typical options are ./DexRun 1 3 1 &
after you cd /srv/samba/share
to get to the directory where the program is kept. The &
at the end allows it to run in the background, so your session is still available to take other commands. This can be a very useful way to run the program as it will still display messages about some commands. These debug messages aren't typically returned for commands which are time sensitive because they can cause serious slowdowns when DexRun does not have access to a session for those messages to be displayed into.
It is very possible to install and run other programs on Dexter. For example, you can install Node.js and run a web server / socket interface in order to access the robot without any installed software on your PC.
To search the Wiki, use the main search box in the black bar at the top, then select WiKi to filter the results or go to https://github.com/HaddingtonDynamics/Dexter/search?type=Wikis&q= and then add your search terms to the end of the URL.
To report errors, or request additional data, please chat with us on discord and/or raise a new issue