|
16 | 16 | /**: |
17 | 17 | ros__parameters: |
18 | 18 | physical: |
19 | | - center_of_mass: [0.0, 0.0, 0.01] # CO is aligned with CM Position (x,y) in meters (M), small cg offset in z to keep drone naturally stable in roll/pitch |
| 19 | + center_of_mass: [0.0, 0.0, 0.025] # CO is aligned with CM Position (x,y) in meters (M), small cg offset in z to keep drone naturally stable in roll/pitch |
20 | 20 | mass_matrix: [53.7, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 53.7, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 53.7, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 11.0628, 1.086, -3.17502, 0.0, 0.0, 0.0, 1.086, 23.1128, 0.1025, 0.0, 0.0, 0.0, -3.17502, 0.1025, 26.23998] |
21 | 21 | # 6x6 mass_inertia_matrix |
22 | 22 | propulsion: |
|
53 | 53 | 0.00000, # Heave |
54 | 54 | ] |
55 | 55 | thruster_position: [ # Position (x0,x1 ... x7,y1,y2, ...,y7,z1,z2, ... ,z7) in meters (M). i.e thruster0 has position (x0,y0,z0) |
56 | | - 0.413892, |
57 | | - 0.140095, |
58 | | - -0.163904, |
59 | | - -0.413892, |
60 | | - -0.413892, |
61 | | - -0.163904, |
62 | | - 0.140095, |
63 | | - 0.413892, # x-positions of the thrusters |
| 56 | + 0.45015, |
| 57 | + 0.24060, |
| 58 | + -0.22970, |
| 59 | + -0.43861, |
| 60 | + -0.43861, |
| 61 | + -0.22970, |
| 62 | + 0.240600, |
| 63 | + 0.450150, # x-positions of the thrusters |
| 64 | + 0.305680, |
64 | 65 | 0.313022, |
65 | 66 | 0.313022, |
66 | | - 0.313022, |
67 | | - 0.313022, |
68 | | - -0.313022, |
| 67 | + 0.305680, |
| 68 | + -0.305680, |
69 | 69 | -0.313022, |
70 | 70 | -0.313022, |
71 | | - -0.313022, # y-positions of the thrusters |
| 71 | + -0.305680, # y-positions of the thrusters |
72 | 72 | 0.021736, |
73 | 73 | 0.021736, |
74 | 74 | 0.021736, |
|
80 | 80 | ] |
81 | 81 |
|
82 | 82 | constraints: |
83 | | - max_force: 40.0 |
84 | | - min_force: -40.0 |
| 83 | + max_force: 39.0 |
| 84 | + min_force: -41.0 |
85 | 85 | input_matrix_weights: [1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0] |
86 | 86 | slack_matrix_weights: [2000.0,2000.0,2000.0,2000.0,2000.0,2000.0] |
87 | 87 |
|
|
90 | 90 |
|
91 | 91 | thrust_update_rate: 100.0 # [Hz] |
92 | 92 | watchdog_timeout: 1.0 # [s] |
| 93 | + thruster_to_pin_mapping: [4, 5, 7, 6, 0, 1, 2, 3] # I.e. if thruster_to_pin = [ 7, 6, 5, 4, 3, 2, 1, 0 ] then thruster 0 is pin 1 etc.. |
| 94 | + thruster_direction: [-1, -1, 1, 1, -1, -1, 1, 1] # Disclose during thruster mapping (+/- 1) |
| 95 | + thruster_PWM_min: [1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050] # Minimum PWM value, Recommended: [1100, 1100, 1100, 1100, 1100, 1100, 1100, 1100] |
| 96 | + thruster_PWM_max: [1950, 1950, 1950, 1950, 1950, 1950, 1950, 1950] # Maximum PWM value, Recommended: [1900, 1900, 1900, 1900, 1900, 1900, 1900, 1900] |
93 | 97 |
|
94 | 98 | topics: |
95 | 99 | wrench_input: "wrench_input" |
|
110 | 114 | waypoint: "waypoint" |
111 | 115 | guidance: |
112 | 116 | los: "guidance/los" |
113 | | - dp: "guidance/dp" |
| 117 | + dp_rpy: "guidance/dp_rpy" |
114 | 118 | dp_quat: "guidance/dp_quat" |
115 | 119 | dvl_twist: "dvl/twist" |
116 | 120 | dvl_altitude: "dvl/altitude" |
|
0 commit comments