watonomous.github.io

  1. Software Division
  2. Software Division Home
  3. Path Planning Group
  4. Simulation
  5. Simulation Challenge

[ Software Division : Simulation Environment Setup ]

Created by [ Sepehr Aflatounian], last modified on Jan 20, 2020

MATLAB : 

[MATLAB is going to be a crucial component to our teams success. As a team member, you have access to a ]free [copy of this software ($99 USD for students), which includes all of the MATLAB software packages (valued at $35 USD each).]

[It is important that you read the following message carefully:]
[We are all sharing ]one[ MATLAB license, and only have enough for each person on the team to use the license ]once[, on ]one[ device. If you try to use the license on another computer or decide to share the license with a friend, your MATLAB license privileges will be removed. You must use the name that was addressed to you in this email to sign up with your MathWorks account so that we can verify it is you.]

[The instructions below describe how you can activate your license and download the MATLAB software:]

[License Number: 40572321]

[Activation Key: 17831-44747-29479-26828-35899]

[To use MATLAB software you need to associate your MathWorks account with a license, download the software, install the software, and finally activate the software.]

[Associate to License]

[If you have not yet created a MathWorks account, you can do so here: ]https://www.mathworks.com/accesslogin/createProfile.do

[Once you have a MathWorks account, you need to associate it with a license. Your activation key is included in this email and is required to complete the association process. Instructions for associating with a license are available here: ]http://www.mathworks.com/matlabcentral/answers/102871

[Download and Install]

[Once you are associated with a license you need to download the software. Download instructions are available here: ]http://www.mathworks.com/matlabcentral/answers/98268

[The installation will begin as soon as the download is complete.]

[Activate your Software]

[Once the software is installed MATLAB will attempt to activate itself. You will be required to enter your MathWorks account credentials again for activation. If the software does not automatically attempt to activate, you will need to launch the activation client: ]http://www.mathworks.com/matlabcentral/answers/99457-how-do-i-activate-matlab

[In some setups, such as one where a firewall is in place or a proxy is filtering all network activity, you may need to activate MATLAB manually. Instructions for manual activation can be found here: ]http://www.mathworks.com/matlabcentral/answers/105854

\

ROS:

Matlab has ROS bridge implemented in its simulink. So we can run the Simulink on A Windows machine (to run UNREAL) and then connect the matlab to a machine on a same network to run the ROS nodes. 

You can start setting up this by following the steps shown in https://www.mathworks.com/help/ros/ug/get-started-with-ros.html

After setting up your network and connecting to the ROS machine you can control your ROS network with matlab. https://www.mathworks.com/help/ros/network-connection-and-exploration.html?s_tid=CRUX_lftnav is some useful functionalities.

[Next, you need to use ROS toolbox in Simulink to Publish/Subscribe to a ROS node. https://www.mathworks.com/help/ros/ug/get-started-with-ros-in-simulink.html can give you a general demo of how the toolbox will work]

\


[If you have any questions, you can also post in Discord or Ask the Simulation Lead.]

[Thank you,]

[The WATonomous Team]

Document generated by Confluence on Dec 10, 2021 04:01

Atlassian