Skip to content

Commit

Permalink
Updating bug in stateflow lesson
Browse files Browse the repository at this point in the history
  • Loading branch information
josea committed May 22, 2023
1 parent a4ccc7a commit 25bb0a0
Show file tree
Hide file tree
Showing 65 changed files with 12,394 additions and 12,394 deletions.
36 changes: 18 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# Robotics Playground [![View Robotics Playground on File Exchange](https://www.mathworks.com/matlabcentral/images/matlab-file-exchange.svg)](https://www.mathworks.com/matlabcentral/fileexchange/67157-robotics-playground) [![Open in MATLAB Online](https://www.mathworks.com/images/responsive/global/open-in-matlab-online.svg)](https://matlab.mathworks.com/open/github/v1?repo=mathworks-robotics/robotics-playground&file=RPInstall.mlx)


Copyright 2019 The MathWorks, Inc.
# Description
MATLAB and Simulink library of virtual environments designed to aid in the teaching of basic concepts in robotics such as driver control, autonomy programming, obstacle avoidance and object interactions.

https://www.mathworks.com/videos/matlab-and-simulink-pass-competitions-hub-getting-started-with-robotics-playground-virtual-worlds-1533569380647.html

![RP Robot](https://github.com/mathworks-robotics/robotics-playground/blob/master/lib/Resources/Images/RP_app.PNG)

![Sumo Game](https://github.com/mathworks-robotics/robotics-playground/blob/master/lib/Resources/Images/SumoGame.PNG)

![Obstacle Environment](https://github.com/mathworks-robotics/robotics-playground/blob/master/lib/Resources/Images/ObstacleEnv.PNG)

![Object Environment](https://github.com/mathworks-robotics/robotics-playground/blob/master/lib/Resources/Images/environments_lib.PNG)

![Clawbot Environment](https://github.com/mathworks-robotics/robotics-playground/blob/master/lib/Resources/Images/ClawbotIcon.png)
# Robotics Playground [![View Robotics Playground on File Exchange](https://www.mathworks.com/matlabcentral/images/matlab-file-exchange.svg)](https://www.mathworks.com/matlabcentral/fileexchange/67157-robotics-playground) [![Open in MATLAB Online](https://www.mathworks.com/images/responsive/global/open-in-matlab-online.svg)](https://matlab.mathworks.com/open/github/v1?repo=mathworks-robotics/robotics-playground&file=RPInstall.mlx)


Copyright 2019 The MathWorks, Inc.
# Description
MATLAB and Simulink library of virtual environments designed to aid in the teaching of basic concepts in robotics such as driver control, autonomy programming, obstacle avoidance and object interactions.

https://www.mathworks.com/videos/matlab-and-simulink-pass-competitions-hub-getting-started-with-robotics-playground-virtual-worlds-1533569380647.html

![RP Robot](https://github.com/mathworks-robotics/robotics-playground/blob/master/lib/Resources/Images/RP_app.PNG)

![Sumo Game](https://github.com/mathworks-robotics/robotics-playground/blob/master/lib/Resources/Images/SumoGame.PNG)

![Obstacle Environment](https://github.com/mathworks-robotics/robotics-playground/blob/master/lib/Resources/Images/ObstacleEnv.PNG)

![Object Environment](https://github.com/mathworks-robotics/robotics-playground/blob/master/lib/Resources/Images/environments_lib.PNG)

![Clawbot Environment](https://github.com/mathworks-robotics/robotics-playground/blob/master/lib/Resources/Images/ClawbotIcon.png)
Binary file modified Robotics Playground.mltbx
Binary file not shown.
1,672 changes: 836 additions & 836 deletions doc/html/360_sensor.htm

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion doc/html/360_sensor_files/colorschememapping.xml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<a:clrMap xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" bg1="lt1" tx1="dk1" bg2="lt2" tx2="dk2" accent1="accent1" accent2="accent2" accent3="accent3" accent4="accent4" accent5="accent5" accent6="accent6" hlink="hlink" folHlink="folHlink"/>
12 changes: 6 additions & 6 deletions doc/html/360_sensor_files/filelist.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<xml xmlns:o="urn:schemas-microsoft-com:office:office">
<o:MainFile HRef="../360_sensor.htm"/>
<o:File HRef="themedata.thmx"/>
<o:File HRef="colorschememapping.xml"/>
<o:File HRef="image001.png"/>
<o:File HRef="filelist.xml"/>
<xml xmlns:o="urn:schemas-microsoft-com:office:office">
<o:MainFile HRef="../360_sensor.htm"/>
<o:File HRef="themedata.thmx"/>
<o:File HRef="colorschememapping.xml"/>
<o:File HRef="image001.png"/>
<o:File HRef="filelist.xml"/>
</xml>
44 changes: 22 additions & 22 deletions doc/html/Blocks.html
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="generator" content="MATLAB R2018a"><meta http-equiv="X-UA-Compatible" content="IE=edge,IE=9,chrome=1"><title>Robotics Playground Block Reference</title><style type="text/css">
* {margin: 0; padding: 0;}
body {text-align: start; line-height: 17.2339992523193px; min-height: 0px; white-space: normal; color: rgb(0, 0, 0); font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-style: normal; font-size: 14px; font-weight: normal; text-decoration: none; white-space: normal; }
h1, h2 {font-weight: normal;}
.content { padding: 30px; }

.S0 { margin-left: 0px; margin-top: 0px; margin-bottom: 0px; margin-right: 0px; }
.S1 { text-align: left; line-height: 26.3999996185303px; min-height: 24px; white-space: pre-wrap; color: rgb(213, 80, 0); font-family: Helvetica, Arial, sans-serif; font-size: 22px; white-space: pre-wrap; margin-left: 4px; margin-top: 3px; margin-bottom: 15px; margin-right: 10px; }
.S2 { min-height: 0px; margin-left: 0px; margin-top: 0px; margin-bottom: 0px; margin-right: 0px; }
.S3 { text-align: left; line-height: 21px; min-height: 17px; white-space: pre-wrap; font-family: Helvetica, Arial, sans-serif; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; }
.S4 { text-decoration: underline; margin-left: 0px; margin-top: 0px; margin-bottom: 0px; margin-right: 0px; }
.S5 { font-family: Helvetica, Arial, sans-serif; margin-left: 0px; margin-top: 10px; margin-bottom: 20px; margin-right: 0px; }
.S6 { text-align: left; line-height: 21px; white-space: pre-wrap; white-space: pre-wrap; margin-left: 56px; margin-top: 0px; margin-bottom: 0px; margin-right: 0px; }
.S7 { color: rgb(0, 95, 206); margin-left: 0px; margin-top: 0px; margin-bottom: 0px; margin-right: 0px; }

.CodeBlock {margin: 10px 0 10px 0; background-color: #F7F7F7;}
.CodeBlock+.paragraphNode {margin-top: 10px;}
.lineNode {padding-left: 10px; border-left: 1px solid #E9E9E9; border-right: 1px solid #E9E9E9;}
.inlineWrapper:first-child .lineNode,.inlineWrapper.outputs+.inlineWrapper .lineNode {padding-top: 5px; border-top: 1px solid #E9E9E9;}
.inlineWrapper:last-child .lineNode,.inlineWrapper.outputs .lineNode {padding-bottom: 5px; border-bottom: 1px solid #E9E9E9;}
.lineNode .textBox {white-space: pre;}
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="generator" content="MATLAB R2018a"><meta http-equiv="X-UA-Compatible" content="IE=edge,IE=9,chrome=1"><title>Robotics Playground Block Reference</title><style type="text/css">
* {margin: 0; padding: 0;}
body {text-align: start; line-height: 17.2339992523193px; min-height: 0px; white-space: normal; color: rgb(0, 0, 0); font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-style: normal; font-size: 14px; font-weight: normal; text-decoration: none; white-space: normal; }
h1, h2 {font-weight: normal;}
.content { padding: 30px; }

.S0 { margin-left: 0px; margin-top: 0px; margin-bottom: 0px; margin-right: 0px; }
.S1 { text-align: left; line-height: 26.3999996185303px; min-height: 24px; white-space: pre-wrap; color: rgb(213, 80, 0); font-family: Helvetica, Arial, sans-serif; font-size: 22px; white-space: pre-wrap; margin-left: 4px; margin-top: 3px; margin-bottom: 15px; margin-right: 10px; }
.S2 { min-height: 0px; margin-left: 0px; margin-top: 0px; margin-bottom: 0px; margin-right: 0px; }
.S3 { text-align: left; line-height: 21px; min-height: 17px; white-space: pre-wrap; font-family: Helvetica, Arial, sans-serif; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; }
.S4 { text-decoration: underline; margin-left: 0px; margin-top: 0px; margin-bottom: 0px; margin-right: 0px; }
.S5 { font-family: Helvetica, Arial, sans-serif; margin-left: 0px; margin-top: 10px; margin-bottom: 20px; margin-right: 0px; }
.S6 { text-align: left; line-height: 21px; white-space: pre-wrap; white-space: pre-wrap; margin-left: 56px; margin-top: 0px; margin-bottom: 0px; margin-right: 0px; }
.S7 { color: rgb(0, 95, 206); margin-left: 0px; margin-top: 0px; margin-bottom: 0px; margin-right: 0px; }

.CodeBlock {margin: 10px 0 10px 0; background-color: #F7F7F7;}
.CodeBlock+.paragraphNode {margin-top: 10px;}
.lineNode {padding-left: 10px; border-left: 1px solid #E9E9E9; border-right: 1px solid #E9E9E9;}
.inlineWrapper:first-child .lineNode,.inlineWrapper.outputs+.inlineWrapper .lineNode {padding-top: 5px; border-top: 1px solid #E9E9E9;}
.inlineWrapper:last-child .lineNode,.inlineWrapper.outputs .lineNode {padding-bottom: 5px; border-bottom: 1px solid #E9E9E9;}
.lineNode .textBox {white-space: pre;}
</style></head><body><div class = "content"><div class = 'SectionBlock containment active'><h1 class = "S1"><span class = "S2"><span class="S0">Robotics Playground Block Reference</span></span></h1><div class = "S3"><span class = "S2"><span class="S4">Environments</span></span></div><ul class = "S5"><li class = "S6"><a href = "matlab:web('obstacle_arena.htm')"><span class = "S0"><span class="S0">Obstacle Environment</span></span></a></li><li class = "S6"><a href = "matlab:web('object_arena.htm')"><span class = "S0"><span class="S0">Object Environment</span></span></a></li><li class = "S6"><a href = "matlab:web('sumo_game.htm')"><span class = "S0"><span class="S0">Sumo Game</span></span></a></li><li class = "S6"><a href = "matlab:web('MATLAB_robot.htm')"><span class = "S0"><span class="S0">MATLAB Robot API</span></span></a></li></ul><div class = "S3"><span class = "S2"><span class="S4">Basic Sensors and Actuators</span></span></div><ul class = "S5"><li class = "S6"><a href = "matlab:web('encoder_sensor.htm')"><span class = "S0"><span class="S0">Encoder</span></span></a></li><li class = "S6"><a href = "matlab:web('motor.htm')"><span class = "S0"><span class="S0">Motor</span></span></a></li><li class = "S6"><a href = "matlab:web('distance_sensor.htm')"><span class = "S0"><span class="S0">Distance Sensor</span></span></a></li><li class = "S6"><a href = "matlab:web('gyro_sensor.htm')"><span class = "S0"><span class="S0">Gyro Sensor</span></span></a></li><li class = "S6"><a href = "matlab:web('compass_sensor.htm')"><span class = "S0"><span class="S0">Compass Sensor</span></span></a></li><li class = "S6"><a href = "matlab:web('contact_switch.htm')"><span class = "S0"><span class="S0">Contact Switch</span></span></a></li></ul><div class = "S3"><span class = "S2"><span class="S4">Advanced Sensors</span></span></div><ul class = "S5"><li class = "S6"><a href = "matlab:web('360_sensor.htm')"><span class = "S0"><span class="S0">360 Range Sensor</span></span></a></li><li class = "S6"><a href = "matlab:web('object_sensor.htm')"><span class = "S0"><span class="S0">Object Detector</span></span></a></li><li class = "S6"><a href = "matlab:web('pick_color.htm')"><span class = "S0"><span class="S0">Pick Color</span></span></a></li></ul></div></div><br><!-- <br>##### SOURCE BEGIN #####<br>%% Robotics Playground Block Reference<br>% Environments<br>% <br>% * <matlab:web('obstacle_arena.htm') Obstacle Environment><br>% * <matlab:web('object_arena.htm') Object Environment><br>% * <matlab:web('sumo_game.htm') Sumo Game><br>% * <matlab:web('MATLAB_robot.htm') MATLAB Robot API><br>% <br>% Basic Sensors and Actuators<br>% <br>% * <matlab:web('encoder_sensor.htm') Encoder><br>% * <matlab:web('motor.htm') Motor><br>% * <matlab:web('distance_sensor.htm') Distance Sensor><br>% * <matlab:web('gyro_sensor.htm') Gyro Sensor><br>% * <matlab:web('compass_sensor.htm') Compass Sensor><br>% * <matlab:web('contact_switch.htm') Contact Switch><br>% <br>% Advanced Sensors<br>% <br>% * <matlab:web('360_sensor.htm') 360 Range Sensor><br>% * <matlab:web('object_sensor.htm') Object Detector><br>% * <matlab:web('pick_color.htm') Pick Color><br>##### SOURCE END #####<br>--></body></html>
44 changes: 22 additions & 22 deletions doc/html/Environments.html
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="generator" content="MATLAB R2018a"><meta http-equiv="X-UA-Compatible" content="IE=edge,IE=9,chrome=1"><title>Robotics Playground Environments</title><style type="text/css">
* {margin: 0; padding: 0;}
body {text-align: start; line-height: 17.2339992523193px; min-height: 0px; white-space: normal; color: rgb(0, 0, 0); font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-style: normal; font-size: 14px; font-weight: normal; text-decoration: none; white-space: normal; }
h1, h2 {font-weight: normal;}
.content { padding: 30px; }

.S0 { margin-left: 0px; margin-top: 0px; margin-bottom: 0px; margin-right: 0px; }
.S1 { text-align: left; line-height: 26.3999996185303px; min-height: 24px; white-space: pre-wrap; color: rgb(213, 80, 0); font-family: Helvetica, Arial, sans-serif; font-size: 22px; white-space: pre-wrap; margin-left: 4px; margin-top: 3px; margin-bottom: 15px; margin-right: 10px; }
.S2 { min-height: 0px; margin-left: 0px; margin-top: 0px; margin-bottom: 0px; margin-right: 0px; }
.S3 { text-align: left; line-height: 21px; min-height: 17px; white-space: pre-wrap; font-family: Helvetica, Arial, sans-serif; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; }
.S4 { text-decoration: underline; margin-left: 0px; margin-top: 0px; margin-bottom: 0px; margin-right: 0px; }
.S5 { font-family: Helvetica, Arial, sans-serif; margin-left: 0px; margin-top: 10px; margin-bottom: 20px; margin-right: 0px; }
.S6 { text-align: left; line-height: 21px; white-space: pre-wrap; white-space: pre-wrap; margin-left: 56px; margin-top: 0px; margin-bottom: 0px; margin-right: 0px; }
.S7 { color: rgb(0, 95, 206); margin-left: 0px; margin-top: 0px; margin-bottom: 0px; margin-right: 0px; }

.CodeBlock {margin: 10px 0 10px 0; background-color: #F7F7F7;}
.CodeBlock+.paragraphNode {margin-top: 10px;}
.lineNode {padding-left: 10px; border-left: 1px solid #E9E9E9; border-right: 1px solid #E9E9E9;}
.inlineWrapper:first-child .lineNode,.inlineWrapper.outputs+.inlineWrapper .lineNode {padding-top: 5px; border-top: 1px solid #E9E9E9;}
.inlineWrapper:last-child .lineNode,.inlineWrapper.outputs .lineNode {padding-bottom: 5px; border-bottom: 1px solid #E9E9E9;}
.lineNode .textBox {white-space: pre;}
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="generator" content="MATLAB R2018a"><meta http-equiv="X-UA-Compatible" content="IE=edge,IE=9,chrome=1"><title>Robotics Playground Environments</title><style type="text/css">
* {margin: 0; padding: 0;}
body {text-align: start; line-height: 17.2339992523193px; min-height: 0px; white-space: normal; color: rgb(0, 0, 0); font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-style: normal; font-size: 14px; font-weight: normal; text-decoration: none; white-space: normal; }
h1, h2 {font-weight: normal;}
.content { padding: 30px; }

.S0 { margin-left: 0px; margin-top: 0px; margin-bottom: 0px; margin-right: 0px; }
.S1 { text-align: left; line-height: 26.3999996185303px; min-height: 24px; white-space: pre-wrap; color: rgb(213, 80, 0); font-family: Helvetica, Arial, sans-serif; font-size: 22px; white-space: pre-wrap; margin-left: 4px; margin-top: 3px; margin-bottom: 15px; margin-right: 10px; }
.S2 { min-height: 0px; margin-left: 0px; margin-top: 0px; margin-bottom: 0px; margin-right: 0px; }
.S3 { text-align: left; line-height: 21px; min-height: 17px; white-space: pre-wrap; font-family: Helvetica, Arial, sans-serif; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px; }
.S4 { text-decoration: underline; margin-left: 0px; margin-top: 0px; margin-bottom: 0px; margin-right: 0px; }
.S5 { font-family: Helvetica, Arial, sans-serif; margin-left: 0px; margin-top: 10px; margin-bottom: 20px; margin-right: 0px; }
.S6 { text-align: left; line-height: 21px; white-space: pre-wrap; white-space: pre-wrap; margin-left: 56px; margin-top: 0px; margin-bottom: 0px; margin-right: 0px; }
.S7 { color: rgb(0, 95, 206); margin-left: 0px; margin-top: 0px; margin-bottom: 0px; margin-right: 0px; }

.CodeBlock {margin: 10px 0 10px 0; background-color: #F7F7F7;}
.CodeBlock+.paragraphNode {margin-top: 10px;}
.lineNode {padding-left: 10px; border-left: 1px solid #E9E9E9; border-right: 1px solid #E9E9E9;}
.inlineWrapper:first-child .lineNode,.inlineWrapper.outputs+.inlineWrapper .lineNode {padding-top: 5px; border-top: 1px solid #E9E9E9;}
.inlineWrapper:last-child .lineNode,.inlineWrapper.outputs .lineNode {padding-bottom: 5px; border-bottom: 1px solid #E9E9E9;}
.lineNode .textBox {white-space: pre;}
</style></head><body><div class = "content"><div class = 'SectionBlock containment active'><h1 class = "S1"><span class = "S2"><span class="S0">Robotics Playground Environments</span></span></h1><div class = "S3"><span class = "S2"><span class="S4">Environments</span></span></div><ul class = "S5"><li class = "S6"><a href = "matlab:web('obstacle_arena.htm')"><span class = "S0"><span class="S0">Obstacle Environment</span></span></a></li><li class = "S6"><a href = "matlab:web('object_arena.htm')"><span class = "S0"><span class="S0">Object Environment</span></span></a></li><li class = "S6"><a href = "matlab:web('sumo_game.htm')"><span class = "S0"><span class="S0">Sumo Game</span></span></a></li><li class = "S6"><a href = "matlab:web('MATLAB_robot.htm')"><span class = "S0"><span class="S0">MATLAB Robot API</span></span></a></li></ul></div></div><br><!-- <br>##### SOURCE BEGIN #####<br>%% Robotics Playground Environments<br>% Environments<br>% <br>% * <matlab:web('obstacle_arena.htm') Obstacle Environment><br>% * <matlab:web('object_arena.htm') Object Environment><br>% * <matlab:web('sumo_game.htm') Sumo Game><br>% * <matlab:web('MATLAB_robot.htm') MATLAB Robot API><br>##### SOURCE END #####<br>--></body></html>
Loading

0 comments on commit 25bb0a0

Please sign in to comment.