Skip to content

Commit 6afcff0

Browse files
author
CUAUV
committed
Merge pull request #133 in SOF/subcode from jank-gx-fix to master
1 parent e4a7d19 commit 6afcff0

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

conf/odysseus.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ quaternion_filtering = 1
3030
dvl_present = true
3131
use_dvl_for_depth = false
3232
water_depth = 4.2672
33-
gx_hpr = [0.0, 0.0, 0.0] # Note: You probably want to re-tare the GX rather than use this offset
33+
gx_hpr = [0.0, 57.0, 13.0] # Note: You probably want to re-tare the GX rather than use this offset
3434

3535

3636
[[thrusters]]
@@ -52,7 +52,7 @@ name = "aft_port"
5252
type = "T200"
5353
pos = [-0.2178734, -0.2152564, -0.0352978]
5454
heading_pitch = [0.0, 90.0]
55-
reversed = true
55+
reversed = false
5656

5757
[[thrusters]]
5858
name = "sway_aft"
@@ -87,13 +87,13 @@ name = "sway_fore"
8787
type = "T200"
8888
pos = [0.5155614, 0.001685, -0.0289478]
8989
heading_pitch = [90.0, 0.0]
90-
reversed = true
90+
reversed = false
9191

9292

9393
[control_settings]
9494
depth = { kP = 2.50, kI = 0.03, kD = 4.00, rD = 0.30, ramp_speed = 0.5 }
9595
pitch = { kP = 0.16, kI = 0.02, kD = 3.50, rD = 30.0 }
96-
heading = { kP = 0.40, kI = 0.004, kD = 20.00, rD = 20.0 }
96+
heading = { kP = 0.10, kI = 0.004, kD = 10.00, rD = 20.0 }
9797
velx = { kP = 9.50, kI = 0.12, kD = 0.50, rD = 0.1547 }
9898
vely = { kP = 10.00, kI = 0.20, kD = 0.50, rD = 0.5 }
9999
roll = { kP = 0.20, kI = 0.05, kD = 7.00, rD = 30.0 }

deadman/deadman.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212

1313
IP_ADDRESS = '192.168.0.1'
1414
INTERVAL = 1 #seconds between pings
15-
TIMEOUT = 5 #seconds before softkill
15+
# mwahahaha we r inpatient and don't want to crash
16+
TIMEOUT = 2 #seconds before softkill
1617

1718
def ping(host):
1819
"""
@@ -50,6 +51,7 @@ def deadman_trigger():
5051
os.system('killall auv-mission-runner')
5152
Zero()()
5253
time.sleep(1)
54+
5355
shm.switches.soft_kill.set(True)
5456

5557
if __name__ == '__main__':

libshm/vars.conf

+1
Original file line numberDiff line numberDiff line change
@@ -1127,3 +1127,4 @@ vision_module_settings
11271127

11281128
settings_kalman
11291129
int pass_through = 0
1130+

0 commit comments

Comments
 (0)