Manuals MSD19: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
|||
(10 intermediate revisions by one other user not shown) | |||
Line 6: | Line 6: | ||
__TOC__ | __TOC__ | ||
= | =Visualizer= | ||
The following steps could be followed to set-up the Tech United visualizer: | The visualizer is used to play previously recorded data files of Tech United games. The following steps could be followed to set-up the Tech United visualizer: | ||
* Ensure pc username is ¨robocup¨. (see [http://cstwiki.wtb.tue.nl/index.php?title=Install_Ubuntu_as_dual_boot#Install_Ubuntu_16.04_64_bits here]) | * Ensure pc username is ¨robocup¨. (see [http://cstwiki.wtb.tue.nl/index.php?title=Install_Ubuntu_as_dual_boot#Install_Ubuntu_16.04_64_bits here]) | ||
Line 23: | Line 23: | ||
* The visualizer should start running now. | * The visualizer should start running now. | ||
= | =Simulator= | ||
The simulator (trc) | The simulator (trc) is used to play games with robots in the simulator with different settings. It is important to note that the simulator is not required for the project. The following steps briefly describe how to set-up the Tech United simulator, for a more detailed description it is advised to look at this [http://cstwiki.wtb.tue.nl/index.php?title=Install_Ubuntu_as_dual_boot#Install_instructions/ link]: | ||
* Ensure pc (devpc) username is "robocup". (see [http://cstwiki.wtb.tue.nl/index.php?title=Install_Ubuntu_as_dual_boot#Install_instructions here]) | * Ensure pc (devpc) username is "robocup". (see [http://cstwiki.wtb.tue.nl/index.php?title=Install_Ubuntu_as_dual_boot#Install_instructions here]) | ||
* Install correct version of gcc (see [http://cstwiki.wtb.tue.nl/index.php?title=Install_Ubuntu_as_dual_boot#Install_correct_version_of_gcc here]). | * Install the correct version of gcc (see [http://cstwiki.wtb.tue.nl/index.php?title=Install_Ubuntu_as_dual_boot#Install_correct_version_of_gcc here]). It's advisable to not make it a default compiler as described in the link. This is because difficulties were experienced to get "crazyflie_ros" working (related to [https://wiki.bitcraze.io/doc:lps:ros Loco Positioning System]). The following [https://github.com/whoenig/crazyflie_ros/issues/168 issue] describes the problem. | ||
* Install required packages (see [http://cstwiki.wtb.tue.nl/index.php?title=Install_Ubuntu_as_dual_boot#Install_required_packages here]). | * Install required packages (see [http://cstwiki.wtb.tue.nl/index.php?title=Install_Ubuntu_as_dual_boot#Install_required_packages here]). | ||
* Install Subversion 1.9 (see [http://cstwiki.wtb.tue.nl/index.php?title=Install_Ubuntu_as_dual_boot#Install_Subversion_1.9 here]). | * Install Subversion 1.9 (see [http://cstwiki.wtb.tue.nl/index.php?title=Install_Ubuntu_as_dual_boot#Install_Subversion_1.9 here]). | ||
* Install smartSVN and download the TechUnited repository in /home/robocup/ (see [http://cstwiki.wtb.tue.nl/index.php?title=Install_Ubuntu_as_dual_boot#Install_smartSVN here]). | * Install smartSVN and download the TechUnited repository in /home/robocup/ (see [http://cstwiki.wtb.tue.nl/index.php?title=Install_Ubuntu_as_dual_boot#Install_smartSVN here]). | ||
* Clone the | * Clone the GitLab repository ([https://gitlab.tue.nl/autoref/autoref_system autoref_system]) into a local repository. | ||
* Install MATLAB R2016a (see [http://cstwiki.wtb.tue.nl/index.php?title=Install_Ubuntu_as_dual_boot#Install_MATLAB here]). | * Install MATLAB R2016a (see [http://cstwiki.wtb.tue.nl/index.php?title=Install_Ubuntu_as_dual_boot#Install_MATLAB here]). | ||
* Configure devpc for the simulator (see [http://cstwiki.wtb.tue.nl/index.php?title=Install_Ubuntu_as_dual_boot#Configure_Devpc_for_trc_and_simulator here]). | * Configure devpc for the simulator (see [http://cstwiki.wtb.tue.nl/index.php?title=Install_Ubuntu_as_dual_boot#Configure_Devpc_for_trc_and_simulator here]). | ||
* Install the Tech United software ([http://cstwiki.wtb.tue.nl/index.php?title=Install_Ubuntu_as_dual_boot#Install_Tech_United_software here]). It should be noted that last step of "build all" is only required to run the hardware and will only work when connected with Tech United turtle bots. | * Install the Tech United software ([http://cstwiki.wtb.tue.nl/index.php?title=Install_Ubuntu_as_dual_boot#Install_Tech_United_software here]). It should be noted that the last step of "build all" is only required to run the hardware and will only work when connected with Tech United turtle bots. | ||
* Now run | * Now run "trc" in the terminal. | ||
=Useful Links= | |||
The following links might come in handy while trying to set up and understand the Tech United Simulator. | The following links might come in handy while trying to set up and understand the Tech United Simulator. | ||
* http://cstwiki.wtb.tue.nl/index.php?title=Install_Ubuntu_as_dual_boot#Install_instructions | * http://cstwiki.wtb.tue.nl/index.php?title=Install_Ubuntu_as_dual_boot#Install_instructions | ||
Line 43: | Line 43: | ||
* http://www.techunited.nl/wiki/index.php?title=Software | * http://www.techunited.nl/wiki/index.php?title=Software | ||
* https://ai.vub.ac.be/Robotics/wiki/index.php/TechUnited_Simulator | * https://ai.vub.ac.be/Robotics/wiki/index.php/TechUnited_Simulator | ||
Latest revision as of 13:03, 28 March 2020
Visualizer
The visualizer is used to play previously recorded data files of Tech United games. The following steps could be followed to set-up the Tech United visualizer:
- Ensure pc username is ¨robocup¨. (see here)
- Install required packages (see here).
- Install Subversion 1.9 (see here).
- Install smartSVN and download the TechUnited repository in /home/robocup/ (see here).
- Clone the gitlab repository (autoref_system) into a local repository.
- Install MATLAB R2016a (see here).
- Start MATLAB R2016a as super user.
- Remove ¨/home/robocup/svn/trunk/src/Turtle2¨ from path (a folder in the TechUnited downloaded directory i.e. svn repository).
- Replace folder ¨svn/trunk/src/Turtle2/Tools/greenfield3D¨ by ¨autoref_system/Visualizer/greenfield3D¨.
- Add gitlab repository (autoref_system) to MATLAB path.
- Run MATLAB command ¨greenfield3D replay¨. (Ensure autoref_system directory is the current folder in MATLAB.)
- In the new pop up window select 04_-Jul-2019_04_13_Hibikino.mat in folder 2019_Sydney.
- The visualizer should start running now.
Simulator
The simulator (trc) is used to play games with robots in the simulator with different settings. It is important to note that the simulator is not required for the project. The following steps briefly describe how to set-up the Tech United simulator, for a more detailed description it is advised to look at this link:
- Ensure pc (devpc) username is "robocup". (see here)
- Install the correct version of gcc (see here). It's advisable to not make it a default compiler as described in the link. This is because difficulties were experienced to get "crazyflie_ros" working (related to Loco Positioning System). The following issue describes the problem.
- Install required packages (see here).
- Install Subversion 1.9 (see here).
- Install smartSVN and download the TechUnited repository in /home/robocup/ (see here).
- Clone the GitLab repository (autoref_system) into a local repository.
- Install MATLAB R2016a (see here).
- Configure devpc for the simulator (see here).
- Install the Tech United software (here). It should be noted that the last step of "build all" is only required to run the hardware and will only work when connected with Tech United turtle bots.
- Now run "trc" in the terminal.
Useful Links
The following links might come in handy while trying to set up and understand the Tech United Simulator.