FX ROS System Integration Overview (Beta)
BATCAM FX는 v1.0.3b 개발 펌웨어 버전부터 ROS 2 기반 데이터 송신을 지원합니다. ROS 2 Humble Hawksbill 기반으로 제공되는 바이너리가 펌웨어에 포함되어 있습니다.
ROS 2 데이터 채널은 기존 데이터 채널과 독립적으로 작동합니다.
BATCAM FX는 데이터 송신을 위해 FX Stream Message 타입을 사용합니다. 해당 메세지 포맷은 다음 레포지터리에서 상세히 정의되어 있습니다.
이 메세지들은 ROS 2 인터페이스 타입으로 정의되어 있으며, 센서에서 수집한 데이터를 퍼블리시하는데 사용됩니다.
WsAudio
, LPointAudio
, Beamforming
메세지에 포함된 gain 값은, 카메라의 자동 증폭 기능이 활성화 된 경우, 마지막으로 설정된 값 또는 -1
이 반환됩니다.WsAudio
, LPointAudio
의 ws, lpoint0~2 값들은 8000 샘플 길이의 float 배열이며, IEEE 754 형식의 Float Wave Format으로 구성됩니다.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}/prpd
( fx_stream_msgs/msg/Prpd)/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/each )
타입 | 이름 |
---|---|
float64 | gain |
float32[] | ws |
LPointAudio.msg ( ~2.5MB/s, 0.10 MB/each )
타입 | 이름 |
---|---|
float64 | gain |
float32[] | lpoint0 |
float32[] | lpoint1 |
float32[] | lpoint2 |
Prpd.msg ( ~220B/s, 52B/each )
타입 | 이름 |
---|---|
float32[3] | noise |
float32[3] | corona |
float32[3] | floating |
float32[3] | surface |
BeamformingSetting.msg (Action)
타입 | 이름 |
---|---|
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/each )
타입 | 이름 |
---|---|
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 (Action)
타입 | 이름 |
---|---|
bool | enable_overlay |
bool | enable_source_mode |
int32 | number_of_sources |
int32 | average |
float64 | threshold |
float64 | range |