Skip to content

Commit

Permalink
Merge branch 'development' into thrust_allocation_rework
Browse files Browse the repository at this point in the history
  • Loading branch information
alekskl01 committed Jun 21, 2024
2 parents c8390a2 + 7c1e6f1 commit a519eff
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions auv_setup/config/robots/orca.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
[ 0.41500, 0.28400, -0.31800, -0.44900, -0.44900, -0.31800, 0.28400, 0.41500, # x-position of thrusters
0.16900, 0.16300, 0.16300, 0.16900, -0.16900, -0.16300, -0.16300, -0.16900, # y-position of thrusters
0.07600, 0.08200, 0.08200, 0.07600, 0.07600, 0.08200, 0.08200, 0.07600 ] # z-position of thrusters

rate_of_change:
max: 1 # Maximum rate of change in newton per second for a thruster

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ joystick_interface_auv:
ros__parameters:
surge_scale_factor: 60.0
sway_scale_factor: 60.0
yaw_scale_factor: 60.0
yaw_scale_factor: 25.0
heave_scale_factor: 17.5
roll_scale_factor: 30.0
pitch_scale_factor: 20.0
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def __init__(self):
# Start clock timer for driving thrusters every 0.2 seconds
# Declare "self.thruster_forces_array" in case no topic comes in at the first possible second
self.thruster_forces_array = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]

self.timer = self.create_timer(self.thrust_timer_period,
self._timer_callback)

Expand Down

0 comments on commit a519eff

Please sign in to comment.