BATCAM FX从固件版本v1.0.3b开始支持基于ROS 2的数据传输。该固件包含基于ROS 2 Humble Hawksbill提供的二进制文件。

ROS 2 数据通道独立于现有的数据通道运行。
BATCAM FX 使用 FX Stream Message 类型 进行数据传输。该消息格式在以下代码仓库中有详细定义:
这些消息被定义为 ROS 2 接口类型,用于发布由传感器采集的数据。
WsAudio、LPointAudio、Beamforming消息中包含的增益值将返回最后设定值或-1。WsAudio、LPointAudio中的ws、lpoint0~2值是长度为8000的浮点数组,采用IEEE 754浮点波形格式。Beamforming消息中的bf值是无需缩放转换的dB值。/fx_{hardware_id}/beamforming(fx_stream_msgs/msg/Beamforming)/fx_{hardware_id}/image(sensor_msgs/msg/CompressedImage)/fx_{hardware_id}/lpoint_audio(fx_stream_msgs/msg/LPointAudio)/fx_{hardware_id}/ws_audio(fx_stream_msgs/msg/WsAudio)/fx_{hardware_id}/setting_beamforming(fx_stream_msgs/msg/BeamformingSetting)/fx_{hardware_id}/setting_overlay(fx_stream_msgs/msg/OverlaySetting)LevelTrigger.msg(计划停用)
| 类型 | 名称 |
|---|---|
| float64 | decibel |
WsAudio.msg(~850KB/s,32.02 KB/次)
| 类型 | 名称 |
|---|---|
| float64 | gain |
| float32[] | ws |
LPointAudio.msg(~2.5MB/s,0.10 MB/次)
| 类型 | 名称 |
|---|---|
| float64 | gain |
| float32[] | lpoint0 |
| float32[] | lpoint1 |
| float32[] | lpoint2 |
Prpd.msg ( ~220B/s, 52B/次)
| 类型 | 名称 |
|---|---|
| float32[3] | noise |
| float32[3] | corona |
| float32[3] | floating |
| float32[3] | surface |
BeamformingSetting.msg(动作)
| 类型 | 名称 |
|---|---|
| bool | autogain |
| float64 | gain |
| float64 | x_cal |
| float64 | y_cal |
| float64 | distance |
| float64 | high_cut |
| float64 | low_cut |
| int32 | l_point_0 |
| int32 | l_point_1 |
| int32 | l_point_2 |
Beamforming.msg(~250KB/s,9.84 KB/次)
| 类型 | 名称 |
|---|---|
| float64 | gain |
| float64[] | bf |
| float64[] | level |
| int32[] | param1 |
| int32[] | param2 |
| int32[] | theta |
| int32[] | pos_x |
| int32[] | pos_y |
| int32[] | v_pos_x |
| int32[] | v_pos_y |
OverlaySetting.msg(动作)
| 类型 | 名称 |
|---|---|
| bool | enable_overlay |
| bool | enable_source_mode |
| int32 | number_of_sources |
| int32 | average |
| float64 | threshold |
| float64 | range |
BeamformingSetting.action
目标
| --- | --- |
结果
| --- | --- |
进度
| --- | --- |