smartmicro / smartmicro_ros2_radars

ROS2 support for smartmicro radars.
Apache License 2.0
44 stars 19 forks source link

Provide support for new sensor types #33

Closed smartSRA closed 1 year ago

smartSRA commented 1 year ago

The new smartmicro sensor "a4" will shortly be available to the customers. This new sensor type should be supported by the driver. Also the DRVEGRD 152 has a new firmware which in return causes new interfaces and hence the driver should be adopted to allow the user support for the new user-interface.

purple-mesh commented 1 year ago

Also wondering if there is any plans to support UMRR-0C Type 42 and UMRR-12 Type 48 radars? Or any suggestions on how one might go about integrating it?

smartSRA commented 1 year ago

Also wondering if there is any plans to support UMRR-0C Type 42 and UMRR-12 Type 48 radars? Or any suggestions on how one might go about integrating it?

Hey,

The sensor types you mentioned are for the traffic. This repository only supports automotive sensors. In theory you could follow this repository and instead of automotive sensors use the traffic sensors but for that you would require a smart access for the traffic. Smart access is the underlying library used by this repository.

purple-mesh commented 1 year ago

Thanks @smartSRA!

I do have the smart access library and can see how it gets used to initialise and parse the data.

Will probably give it a go at integrating it and see how that works out.

smartSRA commented 1 year ago

Sounds great! do let me know how it goes.

purple-mesh commented 1 year ago

Hey @smartSRA

Had some time today to tinker with this, happy to report that I have managed to get it working on my end without significant code changes. Having everything already setup and organised in this repo made this really simple and straightforward.

The brief process I went through was:

Some minor differences in naming convention:

smartSRA commented 1 year ago

Hey @purple-mesh ,

Great!! That is exactly the way to go about it and glad to see you could figure out pretty quickly. Regarding the alive protocol yes, it is for the automotive sensors not supported and hence was set false which is not the case in traffic sensors.