EU@HomeEdu 2019 - Preliminary activities

The preliminary activities in preparation of EU@HomeEdu 2019 are provided in form of Assignments. Each assignment contains a specific task to be carried out to make your team ready for the workshop and competition. Assignments will be periodically assigned and teams will be informed by e-mail about new assignments published here. Challenge organizers will be available to support teams encountering problems in performing the assignments.

Technical questions may be sent to:

    iocchi@diag.uniroma1.it
    
i@jeffreytan.org
    
roboticsarena@mathworks.com
(MATLAB)

Assignment 1. Software installation (part 1)

Goal: Having a first easy-to-install and ready-to-use installation of the software needed for the Challenge.

Requirements: a laptop or desktop computer with enough computational power, memory and disk space and already installed OS.
Linux OS preferred, but Microsoft Windows OS is also acceptable.

Tasks:
  1. Install Oracle VirtualBox and Oracle VM VirtualBox Extension Pack
  2. Download MARRtino VM image from MARRtino software web site and install it
  3. Download and install MATLAB (last version) including the Robotics Toolbox
    Go to the RoboCup support page and request a complimentary software license.
    https://www.mathworks.com/academia/student-competitions/robocup.html
    The steps to install and activate MATLAB will be emailed to you once the license is approved, and each team member should use the same information.


     Toolboxes required to run examples:
    MATLAB
    Robotics System Toolbox
    Image Processing Toolbox
    Computer Vision Toolbox
    Statistics and Machine Learning Toolbox
    Deep Learning Toolbox
     Additionally recommended:
    Simulink
    Stateflow
    MATLAB Coder
    Simulink Coder
    Embedded Coder
    Automated Driving Toolbox
    Text Analytics Toolbox
    Control System Toolbox
    Simulink Control Design
    Signal Processing Toolbox

Note: MATLAB can be installed on the same host machine running the Virtual Machine or on a different one. MATLAB can also be installed within the virtual machine, but you will need to create a new virtual disk (suggested size 32 GB), to connect and mount it in the VM file system, and to install MATLAB on it.

Note: For network connection between the Virtual Machine and the Host machine (running a browser or MATLAB) use Bridged or Host-only adapter in the settings of the VirtualBox Virtual Machine.

Exercise 1. Run the virtual machine, run firefox in the virtual machine. Access the Bringup web page, connect to localhost, and start the simulated robot (Simrobot start button). Open a new firefox tab on the Programming web page and choose Commands, Blockly or Python. Connect to localhost, write your simple program (e.g., move the robot in a square) and see the robot moving in the simulator.

Exercise 2. Repeat exercise 1 using MATLAB interface instead of the web programming interface.
and follow instructions for the scripts in IntroROS section

Assignment 2. Software installation (part 2)


Goal: Having a more efficient software installation for the Challenge

Requirements: a laptop with enough computational power, memory and disk space and a free partition to install Linux.

Tasks:
  1. Install Linux Ubuntu 16.04 on a partition (Ubuntu Mate 16.04 suggested)
  2. Install ROS kinetic ( ros-kinetic-desktop-full and  ros-kinetic-navigation )
  3. Install MATLAB as in Assignment 1 under Ubuntu OS

Exercise 1. Run stage simulator (follow instructions in http://wiki.ros.org/stage_ros).
Type a shell command to move the robot
    rostopic pub /cmd_vel geometry_msgs/Twist -r 3 -- '[0.5,0.0,0.0]' '[0.0, 0.0, 0.0]'


Exercise 2. Run stage simulator and move the robot using MATLAB interface

    [velPub,velMsg] = rospublisher('/cmd_vel');
    velMsg.Linear.X = 0.5;
    send(velPub,velMsg);