-
Timothy Stack authored
Elvinize emc and some bug fixes... * configure, configure.in: Add "robots/emc/test_emcd.sh" script to the list of template files. * robots/GNUmakefile.in: Add a target for install-subdir. * robots/emc/GNUmakefile.in: Compile emcd and install it on ops. Add test_emcd.sh test case. * robots/emc/emcd.h, robots/emc/emcd.c: Elvinize, add support for events, and some minor cleanup. * robots/emc/robot_list.c: Compilation fixes. * robots/emc/test_emcd.config: Robot config for the test case. * robots/emc/test_emcd.sh.in: Test case for emcd, just starts it up and uses mtp_send to send a few messages to it. * robots/mtp/GNUmakefile.in: Install mtp_send and mtp_recv on ops. * robots/mtp/mtp.h, robots/mtp/mtp.c: Marshall floats correctly, doh! Move the packet printing code from mtp_recv to the lib. * robots/mtp/mtp_recv.c: Move the packet printing code to the lib. * robots/mtp/mtp_send.c: Add a "-w" option to wait for a response from the peer and then dump the packet to stdout. Allow multiple packets to be sent from a single invocation, the arguments for each packet must be separated by a double dash (--), see test_emcd.sh.in for an example. * robots/mtp/mtp_test.c: Gah, test with actual floating point values dummy.
feea9720