2024-07-27 14:51:23 +02:00
|
|
|
function q0 = set_initial_conditions(i)
|
2024-07-12 19:13:29 +02:00
|
|
|
switch i
|
|
|
|
case 0
|
2024-07-27 14:51:23 +02:00
|
|
|
q0 = [0; 0; 0];
|
2024-07-12 19:13:29 +02:00
|
|
|
case 1
|
2024-07-27 14:51:23 +02:00
|
|
|
q0 = [0; 0; pi];
|
2024-07-13 11:32:23 +02:00
|
|
|
case 2
|
2024-07-27 14:51:23 +02:00
|
|
|
q0 = [0; 0; pi/6];
|
|
|
|
case 3
|
|
|
|
q0 = [1; 0; 0];
|
2024-07-28 12:58:36 +02:00
|
|
|
case 4
|
|
|
|
q0 = [1; 0; -pi/6];
|
2024-07-30 11:28:26 +02:00
|
|
|
case 5
|
|
|
|
q0 = [1; 0; pi/2];
|
2024-07-12 19:13:29 +02:00
|
|
|
end
|
|
|
|
end
|