You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/example_14/example_14.md
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,24 +2,24 @@
2
2
3
3
in this example we will create an environment for reinforcement learning based
4
4
on the <ahref="https://github.com/projectchrono/chrono">Chrono</a> library.
5
-
Specifically, we will create an environment that includes a <a href="https://en.wikipedia.org/wiki/Differential_wheeled_robot2>differential drive system</a>.
5
+
Specifically, we will create an environment that includes a <ahref="https://en.wikipedia.org/wiki/Differential_wheeled_robot">differential drive system</a>.
6
6
Note that the model we will create will not be of high fidelity as the purpose of the example is show how
7
7
to use Chrono to create reinforcement learning environments.
8
8
9
9
In order to be able to run this example you need to configure bitrl with Chrono support. You will also
10
-
need the <aherf="https://irrlicht.sourceforge.io/">Irrlicht</a> library for visualising the robot.
10
+
need the <ahref="https://irrlicht.sourceforge.io/">Irrlicht</a> library for visualising the robot.
11
11
12
12
The following image shows an image of the environment we will create
13
13
14
-
||
14
+
||
15
15
|:------------------------------------:|
16
16
17
17
18
18
## Create the robot
19
19
20
20
Below is the class that handles the robot model.
21
21
22
-
@code
22
+
@code{.cpp}
23
23
class DiffDriveRobot
24
24
{
25
25
public:
@@ -43,7 +43,7 @@ private:
43
43
The chassis of the robot is a simple rectangular plate. It also has three wheels. The model robot we will develop will not consider motors.
44
44
However, Chrono allows for high fidelity models is this is needed. Below is the function that build the robot
0 commit comments