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: docs/src/tutorial.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,10 +44,10 @@ It should look like this:
44
44
45
45
## Loading a Robot
46
46
47
-
After starting the viewer, we are now ready to load a robot. Let's load a [KUKA LBR iiwa 14](https://www.kuka.com/en-gb/products/robotics-systems/industrial-robots/lbr-iiwa) with
47
+
After starting the viewer, we are now ready to load a robot. Let's load a [Franka Emika](https://www.franka.de/research) research robot with
@@ -83,15 +83,15 @@ To create a new problem, we use the [`TORA.Problem`](@ref) constructor, which ta
83
83
84
84
```@setup example_2
85
85
```
86
-
Suppose we want to optimize a motion with a total duration of *2 seconds*, and that we want to calculate the control inputs to the system at a frequency of *150 Hz*.
86
+
Suppose we want to optimize a motion with a total duration of *2 seconds*, and that we want to calculate the control inputs to the system at a frequency of *100 Hz*.
87
87
```@example example_2
88
88
const duration = 2.0 # in seconds
89
-
const hz = 150
89
+
const hz = 100
90
90
nothing # hide
91
91
```
92
92
In that case, the time step duration would be
93
93
```@example example_2
94
-
dt = 1/150
94
+
dt = 1/100
95
95
```
96
96
and the total number of *knots* would be given by
97
97
```@example example_2
@@ -100,7 +100,7 @@ hz * duration + 1
100
100
101
101
Therefore, we create the problem by running
102
102
```@example example_1
103
-
problem = TORA.Problem(robot, 301, 1/150)
103
+
problem = TORA.Problem(robot, 201, 1/100)
104
104
nothing # hide
105
105
```
106
106
@@ -192,7 +192,7 @@ For our circle-tracing task, we are going to define a very simple (but reasonabl
192
192
First, let's define the static configuration:
193
193
194
194
```@example example_1
195
-
initial_q = [0, 0, 0, -π/2, 0, 0, 0]
195
+
initial_q = [0, 0, 0, -π/2, 0, π, 0]
196
196
nothing # hide
197
197
```
198
198
@@ -230,7 +230,7 @@ We can concatenate these matrices into a single one:
0 commit comments