\b;Exercise Remote control a slave robot without using an \l;information exchange post\u object\exchange;. The robot should pass over the 6 blue crosses. The two main actors of this exercise are: 1) The \l;wheeled grabber\u object\botgr; without an energy pack and therefore immobile. This is the master you should program so it will transmit orders to the slave. 2) The slave \l;practice bot\u object\bottr; which is already programmed and just waits for orders from the master. The orders shall be stored, so the master will be able to transmit several orders without waiting for each order being processed. We use an \l;array\u cbot\array; for this purpose. \b;The slave First of all we must understand how the program of the slave works. The \l;class\u cbot\class; \c;order\n; contains two members: \c;m_type\n; is the order to execute (move or turn) and \c;m_param\n; is the distance to move or the rotation angle¦: \c;\s;\l;public\u cbot\public; \l;class\u cbot\class; order \s;{ \s; \l;int\u cbot\int; m_type; \s; \l;float\u cbot\float; m_param; \s;} \n; A second \l;class\u cbot\class; \c;exchange\n; contains the mechanism for exchanging the orders. We declare a \c;\l;static\u cbot\static;\n; class member \c;m_fifo\n; which will contain the list of orders to be executed. The word \c;static\n; insures that the member \c;m_fifo\n; is shared between all instances of the \l;class\u cbot\class; exchange. \c;\s;{ \s; \l;static\u cbot\static; \l;private\u cbot\private; order m_fifo[] = null; \n; The \c;put\n; method will be used by the master robot for transmitting an order. The order will simply be added at the end of the \c;m_fifo\n; array: \c;\s; \l;synchronized\u cbot\synchro; void put(order a) \s; { \s; m_fifo[sizeof(m_fifo)] = a; \s; } \n; Another method \c;get\n; will be used by the slave to retrieve the orders. This method returns the order to be executed. If the list is empty, \c;null\n; will be returned and the robot must wait for more orders. Otherwise the first order in the list must be returned and the remaining orders must be "scrolled up". As an array can not be "shortened" we use a temporary array \c;copy\n;¦: \c;\s; \l;synchronized\u cbot\synchro; order get() \s; { \s; if ( sizeof(m_fifo) == 0 ) return null; \s; \s; order a = m_fifo[0]; \s; order copy[] = null; \s; for ( int i=1 ; i