Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
2e390f5
Put uROS agent back in hardware launches
osu-uwrt-bot2 Sep 28, 2025
15984d3
Better FFC cal
osu-uwrt-bot2 Oct 25, 2025
07cb544
Post-Sean tunes
osu-uwrt-bot2 Oct 31, 2025
2c3ceb6
Better tuning, zed picture taker enabled
osu-uwrt-bot2 Nov 2, 2025
8e76197
Updated picture taker to handle param changes
osu-uwrt-bot2 Nov 3, 2025
b709a6f
ZED X mini for ffc
osu-uwrt-bot2 Nov 6, 2025
7945712
ZEDXm FFC
osu-uwrt-bot2 Nov 11, 2025
1e55bff
Disable DFC for now
osu-uwrt-bot2 Nov 11, 2025
4920a2f
Slightly better tunes
osu-uwrt-bot2 Nov 21, 2025
d3cd486
ZEDXm cal
osu-uwrt-bot2 Nov 21, 2025
3141c9d
Stable tunes with good convergence + good FF
osu-uwrt-bot2 Nov 22, 2025
105d057
Updated COM
Effo12345 Dec 6, 2025
03f2fa8
Cursed awful ff tune + controller tuning
Effo12345 Dec 6, 2025
39279c5
Really good RPAC tunes with fixed angular accumulators
Effo12345 Jan 13, 2026
026b8b0
Tune w/ acoustics, 5/6 torps rpac
zehdari Jan 20, 2026
b8b7694
Fix logging level
osu-uwrt-bot2 Feb 9, 2026
e120cbc
FFC depth limit
osu-uwrt-bot2 Feb 23, 2026
3bebfd4
Claw COM and frame
osu-uwrt-bot2 Mar 2, 2026
b905e3e
Updated zed launches
osu-uwrt-bot2 Mar 2, 2026
7b61ef8
Revert to pre-claw COM
osu-uwrt-bot2 Mar 29, 2026
37eb900
Charuco board cal
osu-uwrt-bot2 Apr 13, 2026
1af94cb
SetString service
Effo12345 Apr 13, 2026
931bc74
add StartBinaryClassifier srv
zehdari Jun 7, 2026
aa39af2
Fix classifier param names
Effo12345 Jun 12, 2026
589f9a1
Tirpak 1 claw frame
osu-uwrt-bot2 Jun 15, 2026
36695d3
Tirpak 1 DFC cal
osu-uwrt-bot2 Jun 15, 2026
a289d04
Fix feedforward
Effo12345 Jun 15, 2026
a989ec6
Take z from the IMU
Effo12345 Jun 15, 2026
67bd5e4
Merge branch 'BinaryClassifier' of github.com:osu-uwrt/riptide_core i…
Effo12345 Jun 15, 2026
175595f
Need IMU in the Z since depth is too slow
osu-uwrt-bot2 Jun 28, 2026
32e237f
Claw ff and ungaslight the torps
osu-uwrt-bot2 Jun 28, 2026
722a8b5
Reduce orin load
osu-uwrt-bot2 Jun 28, 2026
bb6822a
Actually use firmware stamp
osu-uwrt-bot2 Jun 28, 2026
9a249b2
Working pose and resolution
osu-uwrt-bot2 Jun 29, 2026
520a445
Merge pull request #63 from osu-uwrt/BinaryClassifier
osu-uwrt-bot2 Jul 3, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 30 additions & 17 deletions riptide_descriptions/config/talos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ base_link: [-0.14, 0.03, -0.09]

# Vehicle mass properties
mass: 31.998
com: [-0.159, 0.042, -0.056]
# COM no IVC
# com: [-0.151, 0.041, -0.044]

# COM w/ IVC
com: [-0.157, 0.040, -0.048]
inertia: [0.72604692, 1.59322252, 1.65134701] # kg*m^2

hull_volume: .11 #make this real
Expand All @@ -24,8 +28,8 @@ controller:
drag_enable: [1, 1, 0, 0, 0, 0]

feed_forward:
#base_wrench: [0.03, 0.01, -5.28, 0.57, 1.77, -0.020]
base_wrench: [-1.0, -1.0, 0.0, -0.95, 2.1, 0.0]
base_wrench: [-0.25, -0.1, -3.0, 0.0, 1.4, -0.005]
# base_wrench: [-1.0, -1.0, 0.0, 0.0, 0.0, 0.0]

auto_tune:
#positional error threshold to begin autotuning
Expand Down Expand Up @@ -123,21 +127,22 @@ controller:
#[x,y,z,r,p,y]

#first order eta
eta_order_0: [1.8, 0.5, 10.0, 0.2, 0.2, 0.3]
eta_order_0: [0.8, 1.5, 5.0, 0.2, 0.2, 1.3]

#second order eta
eta_order_1: [0.08, 0.08, 0.3, 0.0, 0.0, 0.0]
eta_order_1: [0.1, 0.04, 0.3, 0.0, 0.0, 0.2]

#lambda
lambda: [0.25, 0.25, 1.0, 10.0, 10.0, 0.35]
lambda: [0.8, 0.2, 1.0, 10.0, 10.0, 0.35]


#format: 'a, m' for each degree of freedom
#where:
# a = gravity well saturation amplitude
# m = gravity well saturation error
velocity_curve_params: [8.0, 0.8, #x
8.0, 0.8, #y
10.0, 0.5, #z
8.0, 0.5, #z
15.0, 1.0, #r
15.0, 1.0, #p
1.5, 0.3] #yaw
Expand All @@ -152,10 +157,14 @@ controller:
#linear unit are newtons per meter, angular are newton meter per radian

#the default gains for normal operation
p_gains: [3.0, 18.0, 200.0, 3.5, 2.0, 2.5]
i_gains: [0.0, 0.0, 0.0, 0.01, 1.0, 0.0]
d_gains: [5.0, 5.0, 90.0, 1.0, 0.05, 0.9]

p_gains: [3.0, 18.0, 200.0, 10.0, 8.0, 15.0]
i_gains: [0.0, 0.0, 0.0, 0.01, 0.005, 0.5]
d_gains: [5.0, 5.0, 90.0, 0.02, 0.1, 0.02]

# #the default gains for normal operation
# p_gains: [3.0, 18.0, 200.0, 2.0, 3.5, 8.0]
# i_gains: [0.0, 0.0, 0.0, 0.0, 0.0, 2.0]
# d_gains: [5.0, 5.0, 90.0, 0.25, 0.25, 0.2]
# the control value thresholds for each DOF -- body frame
max_control_thresholds: [30, 30, 30, 15, 15, 15]
reset_threshold: 0.5
Expand Down Expand Up @@ -289,27 +298,31 @@ poker:
pose: [0.2286, 0.0127, -0.17145, 0, 0, 0]

torpedoes:
pose: [0.048, 0.17200625, -0.0954, 0.0, 0.0, 0.0] #real z: -0.1524, real y: 0.17700625
pose: [0.048, 0.18200625, -0.1524, 0.0, 0.0, 0.0] #real z: -0.1524, real y: 0.17700625
baseline: 0.0365125

droppers:
pose: [0.048, 0.17200625, -0.1501, 0.0, 0.0, 0.0]
pose: [0.0, 0.17200625, -0.1501, 0.0, 0.0, 0.0]

hitch:
pose: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0]

claw:
pose: [0.19, 0.0655, -0.3712, 0.0, 0.0, 0.0]

cameras: [
{
type: zed,
name: ffc,
baseline: 0.12, # m. Distance between cameras (manually measured)
pose: [-0.0195, -0.0889, 0, 0, 0, 0]
baseline: 0.050, # m. Distance between cameras (manually measured)
pose: [-0.0195, -0.0889, 0.02, -0.01, 0.05, 0]
},
{
type: zed,
name: dfc,
baseline: 0.045,
pose: [-0.145, -0.080, -0.08, 1.5707, 1.5707, 0]
# pose: [-0.145, -0.080, -0.08, 1.5707, 1.5707, 0]
pose: [-0.24347, -0.065568, -0.15943, 1.5507, 1.5107, 0]
}
]

Expand Down Expand Up @@ -359,4 +372,4 @@ thrusters: [
type: 1,
pose: [-0.134, 0.440, -0.244, 0.0, 0.0, 0.0]
}
]
]
8 changes: 8 additions & 0 deletions riptide_descriptions/urdf/robot_actuators.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,12 @@
parent="${namespace}/origin"
pose="${config['hitch']['pose']}" />
</xacro:if>

<xacro:if value="${'claw' in config}">
<xacro:generic_link_macro
namespace="${namespace}"
name="claw"
parent="${namespace}/origin"
pose="${config['claw']['pose']}" />
</xacro:if>
</robot>
13 changes: 8 additions & 5 deletions riptide_hardware/cfg/dfc_config.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
/**:
ros__parameters:
general:
camera_name: "talos/dfc"
camera_model: zedxm
serial_number: 51491740
grab_resolution: 'HD1200' # For zedx/zedxm use HD1200, for zed2i use HD2K
optional_opencv_calibration_file: "/home/ros/zed_cals/zed_dfc_calibration2.yaml"
camera_id: 1
camera_name: "talos/dfc"
grab_resolution: "HD1200" # For zedx/zedxm use HD1200, for zed2i use HD2K
optional_opencv_calibration_file: "/home/ros/zed_cals/dfc_charuco_test.yaml"
self_calib: false
pub_resolution: "NATIVE" # The resolution used for image and depth map publishing. 'NATIVE' to use the same `general.grab_resolution` - `CUSTOM` to apply the `general.pub_downscale_factor` downscale factory to reduce bandwidth in transmission
pub_downscale_factor: 2.0 # rescale factor used to rescale image before publishing when 'pub_resolution' is 'CUSTOM'
pub_frame_rate: 30.0
#pub_downscale_factor: 2.0 # rescale factor used to rescale image before publishing when 'pub_resolution' is 'CUSTOM'
grab_frame_rate: 15
pos_tracking:
publish_tf: false
debug:
Expand Down
15 changes: 13 additions & 2 deletions riptide_hardware/cfg/ffc_config.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,24 @@
/**:
ros__parameters:
general:
camera_model: zedxm
serial_number: 55348591
camera_id: 0
camera_name: "talos/ffc"
pub_resolution: "NATIVE" # The resolution used for image and depth map publishing. 'NATIVE' to use the same `general.grab_resolution` - `CUSTOM` to apply the `general.pub_downscale_factor` downscale factory to reduce bandwidth in transmission
pub_downscale_factor: 2.0 # rescale factor used to rescale image before publishing when 'pub_resolution' is 'CUSTOM'
pub_frame_rate: 30.0
optional_opencv_calibration_file: "/home/ros/zed_cals/taloszedxffc_cal5.yaml"
# pub_frame_rate: 30.0
optional_opencv_calibration_file: "/home/ros/zed_cals/tirpak_ffc_charuco_2_tan.yaml"
grab_resolution: 'HD1200'
grab_frame_rate: 15
self_calib: false
sensors:
sensors_image_sync: true
# svo:
# svo_path: "/home/ros/svos/prequal/prequal1.svo2"
depth:
depth_mode: "NEURAL_LIGHT"
max_depth: 4.0
pos_tracking:
publish_tf: false
debug:
Expand Down
2 changes: 1 addition & 1 deletion riptide_hardware/cfg/talos_ekf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
publish_acceleration: true

#make camera happy
# predict_to_current_time: true
predict_to_current_time: true
# transform_time_offset: -0.1


Expand Down
2 changes: 1 addition & 1 deletion riptide_hardware/launch/apriltag.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def generate_launch_description():
namespace="apriltag",
package='rclcpp_components',
executable='component_container',
arguments=['--ros-args', '--log-level', 'error'],
arguments=['--ros-args', '--log-level', 'info'],
composable_node_descriptions=[
ComposableNode(
name='apriltag_36h11',
Expand Down
2 changes: 1 addition & 1 deletion riptide_hardware/launch/diagnostics.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def generate_launch_description():
electrical_monitor_node,
firmware_monitor_node,
voltage_monitor_node,
sensor_monitor_node,
# sensor_monitor_node,
computer_monitor_node,
aggregator
])
20 changes: 1 addition & 19 deletions riptide_hardware/launch/hardware.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@
"launch", "copro_agent.launch.py",
)

diagnostics_launch_file = os.path.join(
get_package_share_directory('riptide_hardware2'),
"launch", "diagnostics.launch.py"
)

dvl_launch_file = os.path.join(
get_package_share_directory('riptide_hardware2'),
"launch", "dvl.launch.py"
Expand Down Expand Up @@ -49,14 +44,8 @@ def generate_launch_description():
PushRosNamespace(
LC("robot")
),
# IncludeLaunchDescription(
# AnyLaunchDescriptionSource(copro_agent_launch_file),
# launch_arguments=[
# ('robot', LC('robot')),
# ]
# ),
IncludeLaunchDescription(
AnyLaunchDescriptionSource(diagnostics_launch_file),
AnyLaunchDescriptionSource(copro_agent_launch_file),
launch_arguments=[
('robot', LC('robot')),
]
Expand Down Expand Up @@ -110,13 +99,6 @@ def generate_launch_description():
"imu_pwr_cycle.yaml"
)
]
),
Node(
package='riptide_hardware2',
executable='pressure_monitor.py',
name='pressure_monitor',
output='screen',
parameters=[{"robot":LC('robot')}]
)
], scoped=True)
])
22 changes: 2 additions & 20 deletions riptide_hardware/launch/hardware_fake_dvl.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@
"launch", "copro_agent.launch.py",
)

diagnostics_launch_file = os.path.join(
get_package_share_directory('riptide_hardware2'),
"launch", "diagnostics.launch.py"
)

imu_launch_file = os.path.join(
get_package_share_directory('riptide_imu'),
"launch", "imu.launch.py"
Expand Down Expand Up @@ -56,14 +51,8 @@ def generate_launch_description():
# name='zenoh_router',
# output='screen',
# ),
# IncludeLaunchDescription(
# AnyLaunchDescriptionSource(copro_agent_launch_file),
# launch_arguments=[
# ('robot', LC('robot')),
# ]
# ),
IncludeLaunchDescription(
AnyLaunchDescriptionSource(diagnostics_launch_file),
AnyLaunchDescriptionSource(copro_agent_launch_file),
launch_arguments=[
('robot', LC('robot')),
]
Expand Down Expand Up @@ -112,13 +101,6 @@ def generate_launch_description():
executable='imu_power_cycle.py',
name='imu_power_cycle',
output='screen',
),
Node(
package='riptide_hardware2',
executable='pressure_monitor.py',
name='pressure_monitor',
output='screen',
parameters=[{"robot":LC('robot')}]
)
)
], scoped=True)
])
2 changes: 1 addition & 1 deletion riptide_hardware/launch/navigation.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def evaluate_xacro(context, *args, **kwargs):
#
try:
if robot == "talos":
nodes.append(get_zed_description("ffc", "zedx", robot, context, debug))
nodes.append(get_zed_description("ffc", "zedxm", robot, context, debug))
nodes.append(get_zed_description("dfc", "zedxm", robot, context, debug))

if robot == "liltank":
Expand Down
Loading