|
| 1 | +# This file defines parameters specific to Moby. |
| 2 | +# When looking at the AUV from above, the thruster placement is: |
| 3 | +# |
| 4 | +# front |
| 5 | +# |======| |
| 6 | +# |=7↗=| |=0↖=| |
| 7 | +# | | | | |
| 8 | +# | 6• | | 1• | |
| 9 | +# | | | | |
| 10 | +# | | | | |
| 11 | +# | 5• | | 2• | |
| 12 | +# | | | | |
| 13 | +# |=4↘=|==||==|=3↙=| |
| 14 | +# |
| 15 | + |
| 16 | +/**: |
| 17 | + ros__parameters: |
| 18 | + physical: |
| 19 | + center_of_mass: [0.0, 0.0, 0.0] # CO is aligned with CM Position (x,y,z) in meters (M) |
| 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 | + # 6x6 mass_inertia_matrix |
| 22 | + propulsion: |
| 23 | + dofs: |
| 24 | + num: 6 |
| 25 | + dimensions: |
| 26 | + num: 3 |
| 27 | + thrusters: |
| 28 | + num: 8 |
| 29 | + min: -100 |
| 30 | + max: 100 |
| 31 | + thruster_force_direction: [ # Direction of forces X,Y,Z, same logic as thruster_position thruster0 produces thrust in (X0,Y0,Z0) and ||(X0,Y0,Z0)|| = 1 |
| 32 | + 0.70711, |
| 33 | + 0.00000, |
| 34 | + 0.00000, |
| 35 | + -0.70711, |
| 36 | + -0.70711, |
| 37 | + 0.00000, |
| 38 | + 0.00000, |
| 39 | + 0.70711, # Surge |
| 40 | + -0.70711, |
| 41 | + 0.00000, |
| 42 | + 0.00000, |
| 43 | + -0.70711, |
| 44 | + 0.70711, |
| 45 | + 0.00000, |
| 46 | + 0.00000, |
| 47 | + 0.70711, # Sway |
| 48 | + 0.00000, |
| 49 | + 1.00000, |
| 50 | + 1.00000, |
| 51 | + 0.00000, |
| 52 | + 0.00000, |
| 53 | + 1.00000, |
| 54 | + 1.00000, |
| 55 | + 0.00000, # Heave |
| 56 | + ] |
| 57 | + thruster_position: [ # Position (x0,x1 ... x7,y1,y2, ...,y7,z1,z2, ... ,z7) in meters (M). i.e thruster0 has position (x0,y0,z0) |
| 58 | + 0.413892, |
| 59 | + 0.140095, |
| 60 | + -0.163904, |
| 61 | + -0.413892, |
| 62 | + -0.413892, |
| 63 | + -0.163904, |
| 64 | + 0.140095, |
| 65 | + 0.413892, # x-positions of the thrusters |
| 66 | + -0.313022, |
| 67 | + -0.313022, |
| 68 | + -0.313022, |
| 69 | + -0.313022, |
| 70 | + 0.313022, |
| 71 | + 0.313022, |
| 72 | + 0.313022, |
| 73 | + 0.313022, # y-positions of the thrusters |
| 74 | + 0.021736, |
| 75 | + 0.021736, |
| 76 | + 0.021736, |
| 77 | + 0.021736, |
| 78 | + 0.021736, |
| 79 | + 0.021736, |
| 80 | + 0.021736, |
| 81 | + 0.021736, # z-positions of the thrusters |
| 82 | + ] |
| 83 | + rate_of_change: |
| 84 | + max: 1 # Maximum rate of change in newton per second for a thruster |
| 85 | + |
| 86 | + thrust_update_rate: 100.0 # [Hz] |
| 87 | + watchdog_timeout: 1.0 # [s] |
| 88 | + |
| 89 | + topics: |
| 90 | + wrench_input: "wrench_input" |
| 91 | + thruster_forces: "thruster_forces" |
| 92 | + pwm_output: "pwm" |
| 93 | + current: "power_sense_module/current" |
| 94 | + voltage: "power_sense_module/voltage" |
| 95 | + pressure: "pressure" |
| 96 | + temperature: "temperature" |
| 97 | + joy: "joy" |
| 98 | + pose: "pose" |
| 99 | + odom: "odom" |
| 100 | + twist: "twist" |
| 101 | + operation_mode: "operation_mode" |
| 102 | + killswitch: "killswitch" |
| 103 | + reference_pose: "reference_pose" |
| 104 | + guidance: |
| 105 | + los: "guidance/los" |
| 106 | + dp: "guidance/dp" |
| 107 | + waypoint: "waypoint" |
| 108 | + dvl_twist: "dvl/twist" |
| 109 | + dvl_altitude: "dvl/altitude" |
| 110 | + imu: "imu/data_raw" |
| 111 | + sonar_info: "fls/sonar_info" |
| 112 | + pressure_sensor: "pressure_sensor" |
| 113 | + |
| 114 | + |
| 115 | + action_servers: |
| 116 | + reference_filter: "reference_filter" |
| 117 | + los: "los_guidance" |
| 118 | + |
| 119 | + services: |
| 120 | + set_operation_mode: "set_operation_mode" |
| 121 | + set_killswitch: "set_killswitch" |
| 122 | + toggle_killswitch: "toggle_killswitch" |
| 123 | + get_operation_mode: "get_operation_mode" |
0 commit comments