ARS548 ARS548 RDI SDK

ARS548 ARS548 RDI SDK
在这里插入图片描述

ARS548 SDK 包含开发与 Continental ARS 548 RDI 交互的软件应用程序所需的一切。SDK包含完整的文档和三种示例程序,用C,C++编写。

【以下全英文,不再翻译。文章很长,慢慢等】

Introduction
ARS548 SDK includes everything you need in order to develop software applications interacting with Continental ARS 548 RDI. The SDK contains full documentation and three kind of sample programs, written in C, C++.

AttentionWe believe that the information contained herein was accurate in all respects at the time of printing. ADAS Engineering cannot, however, assume any responsibility for errors or omissions in this text. Also note that the information in this document is subject to change without notice and should not be construed as a commitment by ADAS Engineering.

Usage
The typical usage flow of SDK functions is as follows:

Initialization
Call Ars548_Init to initialize the SDK.

Register callback functions
When radar data packets are received, SDK will notify user via callback functions. There are two kinds of callbacks available:
Call Ars548_SetRadarMessageCallback to set a callback to get raw radar message data.
Call Ars548_SetTargetListCallback to set a callback to get parsed radar target info data from SDK.

Start receiving
Call Ars548_StartReceive to start the receive thread.

Use data
In the callback set by Ars548_SetRadarMessageCallback, use the raw radar message data based on the message type ID.
In the callback set by Ars548_SetTargetListCallback, use the parsed target info data from SDK.

Modify radar configuration
Configure sensor configuration of the radar via Ars548_SetSensorConfig.
Configure filter configuration of the radar via Ars548_SetFilterConfig.

Deinitialization
Call Ars548_StopReceive to stop receiving data.
Call Ars548_UnInit to deinitialize SDK.

Call Ars548_Init to initialize the SDK(调用 Ars548_Init 初始化 SDK)

Ars548_Init()
ARS548DLL_API HINSTANCE WINAPI Ars548_Init ( )
Initialization
ReturnsReturns an instance ID which should be passed as the first parameter in subsequent calls to other SDK functions.See alsoArs548_UnInit

◆ Ars548_ResetFilterConfig()
ARS548DLL_API int WINAPI Ars548_ResetFilterConfig ( HINSTANCE hInst )
Reset radar filter configuration I.e. clear and disable all filters
Parameters

hInst Instance ID

ReturnsReturns ARS548_OK for success, other values for failure.

◆ Ars548_SetFilterConfig()

ARS548DLL_API int WINAPI Ars548_SetFilterConfig ( HINSTANCE hInst,
const Ars548FilterConfiguration & cfg
)

Set radar filter configuration
Parameters

hInst Instance ID
cfg filter configuration
ReturnsReturns ARS548_OK for success, other values for failure.

◆ Ars548_SetRadarMessageCallback()

ARS548DLL_API void WINAPI Ars548_SetRadarMessageCallback ( HINSTANCE hInst,
const RadarMessageCallback & pCallback
)

Set callback function for raw radar message data
Parameters

hInst Instance ID
pCallback Pointer to callback function

◆ Ars548_SetSensorConfig()

ARS548DLL_API int WINAPI Ars548_SetSensorConfig ( HINSTANCE hInst,
const Ars548SensorConfiguration & cfg
)

Set radar sensor configuration
Parameters

hInst Instance ID
cfg sensor configuration
ReturnsReturns ARS548_OK for success, other values for failure.

◆ Ars548_SetTargetListCallback()

ARS548DLL_API void WINAPI Ars548_SetTargetListCallback ( HINSTANCE hInst,
const TargetListCallback & pCallback
)

Set callback function for radar target info
Parameters

hInst Instance ID
pCallback Pointer to callback function

◆ Ars548_StartReceive()

ARS548DLL_API int WINAPI Ars548_StartReceive ( HINSTANCE hInst,
LPCTSTR lpszBindIP,
LPCTSTR lpszRadarIP
)

Start receiving radar data
Parameters

hInst Instance ID
lpszBindIP Network interface IP connected to radar
lpszRadarIP Radar IP
ReturnsReturns ARS548_OK for success, other values for failure.See alsoArs548_StopReceive

◆ Ars548_StopReceive()

ARS548DLL_API int WINAPI Ars548_StopReceive ( HINSTANCE hInst )

Stop receiving radar data
Parameters

hInst Instance ID
ReturnsReturns ARS548_OK for success, other values for failure.See alsoArs548_StartReceive

◆ Ars548_UnInit()

ARS548DLL_API void WINAPI Ars548_UnInit ( HINSTANCE hInst )

Deinitialization
Parameters

hInst Instance ID returned by Ars548_Init.
See alsoArs548_Init

  • 23
    点赞
  • 23
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值