Skip to content

Commit

Permalink
Rename premium radar driver to sample
Browse files Browse the repository at this point in the history
Currently, the delivered Radar Off-Highway Premium and its firmware are just samples.

Separate package will be created for series firmware.

Signed-off-by: Robin Petereit <robin.petereit@de.bosch.com>
  • Loading branch information
rcp1-beg committed May 14, 2024
1 parent 8e616f4 commit 3bb569c
Show file tree
Hide file tree
Showing 64 changed files with 208 additions and 203 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ metapackage for all of the following packages.

## Ethernet Based Drivers

- [**off_highway_premium_radar**](off_highway_premium_radar/README.md): Driver library and node for
the Bosch Radar Off-Highway Premium
- [**off_highway_premium_radar_msgs**](off_highway_premium_radar_msgs/README.md): The custom message
interface for the off_highway_premium_radar package
- [**off_highway_premium_radar_sample**](off_highway_premium_radar_sample/README.md): Driver library
and node for the Bosch Radar Off-Highway Premium Sample Sample
- [**off_highway_premium_radar_sample_msgs**](off_highway_premium_radar_sample_msgs/README.md): The
custom message interface for the off_highway_premium_radar_sample package

For further information, have a look at the linked package readmes.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Changelog for package off_highway_premium_radar
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Changelog for package off_highway_premium_radar_sample
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0.5.1 (2024-03-27)
------------------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.16)
project(off_highway_premium_radar)
project(off_highway_premium_radar_sample)

if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 20)
Expand All @@ -23,7 +23,7 @@ find_package(rclcpp REQUIRED)
find_package(rclcpp_components REQUIRED)
# For default converter
find_package(diagnostic_updater REQUIRED)
find_package(off_highway_premium_radar_msgs REQUIRED)
find_package(off_highway_premium_radar_sample_msgs REQUIRED)
find_package(pcl_conversions REQUIRED)
find_package(PCL REQUIRED COMPONENTS common)
find_package(sensor_msgs REQUIRED)
Expand All @@ -35,7 +35,7 @@ set(dependencies
ASIO
diagnostic_updater
io_context
off_highway_premium_radar_msgs
off_highway_premium_radar_sample_msgs
pcl_conversions
PCL
rclcpp
Expand Down Expand Up @@ -82,7 +82,7 @@ ament_export_dependencies(${dependencies})

# Executable
rclcpp_components_register_node(${PROJECT_NAME}
PLUGIN "off_highway_premium_radar::NodeWithDefaultConverter"
PLUGIN "off_highway_premium_radar_sample::NodeWithDefaultConverter"
EXECUTABLE driver
)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# off_highway_premium_radar
# off_highway_premium_radar_sample

The off_highway_premium_radar package provides a driver node to receive and send UDP datagrams from
/ to the Bosch Radar Off-Highway Premium via a ROS interface.
The off_highway_premium_radar_sample package provides a driver node to receive and send UDP
datagrams from / to the Bosch Radar Off-Highway Premium Sample via a ROS interface.

Further information on the Bosch Radar Off-Highway Premium, it's inputs, outputs and how they can be
interpreted can be found in the corresponding Technical Customer Information (TCI), which is
Further information on the Bosch Radar Off-Highway Premium Sample, it's inputs, outputs and how they
can be interpreted can be found in the corresponding Technical Customer Information (TCI), which is
provided with the sensor hardware.

The driver is only tested for sensor unicast configuration for varying sensor IPs and destination
ports on the host.

## Supported devices

| **Device name** | **Part Number** | **Description** |
| ------------------------- | ------------------ | ------------------------------------------------ |
| Radar Off-Highway Premium | - F 037 B01 061-01 | - Radar sensor with up to 1024 locations |
| **Device name** | **Part Number** | **Description** |
| -------------------------------- | ------------------ | ------------------------------------------------ |
| Radar Off-Highway Premium Sample | - F 037 B01 061-01 | - Radar sensor with up to 1024 locations |

Further information: [Story page for the Radar OHW
Premium](https://www.bosch-engineering.com/stories/stories-detailpages/hd-radar.html)
Expand Down Expand Up @@ -68,7 +68,7 @@ with custom converter classes. See [design](doc/design.md) for an overview.
#### Subscribed topics

* **~/ego_vehicle_data
([`off_highway_premium_radar_msgs/EgoVehicleData`](../off_highway_premium_radar_msgs/msg/EgoVehicleInput.msg))**
([`off_highway_premium_radar_sample_msgs/EgoVehicleData`](../off_highway_premium_radar_sample_msgs/msg/EgoVehicleInput.msg))**
* **Optional**, subscription is deactivated per default. Can be activated via
`send_ego_vehicle_data` ROS parameter.
* Expected cycle time: 10 ms
Expand Down Expand Up @@ -111,30 +111,30 @@ with custom converter classes. See [design](doc/design.md) for an overview.
ambiguity
> **Note:** See the Technical Customer Information for further information about all fields!
* **~/locations_header
([`off_highway_premium_radar_msgs/msg/LocationHeader`](../off_highway_premium_radar_msgs/msg/LocationDataHeader.msg))**
([`off_highway_premium_radar_sample_msgs/msg/LocationHeader`](../off_highway_premium_radar_sample_msgs/msg/LocationDataHeader.msg))**
* Cycle time: ~66 ms (aligned to locations)
* Contains header of location measurement including start time of measurement, operation mode and
block counter.
* **~/sensor_feedback
([`off_highway_premium_radar_msgs/msg/SensorFeedback`](../off_highway_premium_radar_msgs/msg/SensorFeedback.msg))**
([`off_highway_premium_radar_sample_msgs/msg/SensorFeedback`](../off_highway_premium_radar_sample_msgs/msg/SensorFeedback.msg))**
* Cycle time: 50 ms
* Loopbacks input data as feedback like ego vehicle data, time or measurement synchronization.
* **~/sensor_state_information
([`off_highway_premium_radar_msgs/msg/SensorStateInformation`](../off_highway_premium_radar_msgs/msg/SensorStateInformation.msg))**
([`off_highway_premium_radar_sample_msgs/msg/SensorStateInformation`](../off_highway_premium_radar_sample_msgs/msg/SensorStateInformation.msg))**
* Cycle time: 10 ms
* Contains sensor state and software version information.
* **~/sensor_broadcast
([`off_highway_premium_radar_msgs/msg/SensorBroadcast`](../off_highway_premium_radar_msgs/msg/SensorBroadcast.msg))**
([`off_highway_premium_radar_sample_msgs/msg/SensorBroadcast`](../off_highway_premium_radar_sample_msgs/msg/SensorBroadcast.msg))**
* Cycle time: 1000 ms
* Contains sensor ethernet configuration like IP, ports and DoIP information.
* Only received / published if `connect_sensor` parameter is not set
* **~/location_attributes
([`off_highway_premium_radar_msgs/msg/LocationAttributes`](../off_highway_premium_radar_msgs/msg/LocationAttributes.msg))**
([`off_highway_premium_radar_sample_msgs/msg/LocationAttributes`](../off_highway_premium_radar_sample_msgs/msg/LocationAttributes.msg))**
* Cycle time: 66 ms (aligned to locations)
* Contains location measurement attributes like separabilities and precisions or interference
indicators.
* **~/sensor_dtc_information
([`off_highway_premium_radar_msgs/msg/SensorDtcInformation`](../off_highway_premium_radar_msgs/msg/SensorDtcInformation.msg))**
([`off_highway_premium_radar_sample_msgs/msg/SensorDtcInformation`](../off_highway_premium_radar_sample_msgs/msg/SensorDtcInformation.msg))**
* Cycle time: 66 ms (aligned to locations)
* Contains location measurement attributes like separabilities and precisions or interference
indicators.
Expand All @@ -146,12 +146,12 @@ with custom converter classes. See [design](doc/design.md) for an overview.
#### Services

* **~/set_measurement_program
([`off_highway_premium_radar_msgs/srv/MeasurementProgram`](../off_highway_premium_radar_msgs/srv/MeasurementProgram.srv))**
([`off_highway_premium_radar_sample_msgs/srv/MeasurementProgram`](../off_highway_premium_radar_sample_msgs/srv/MeasurementProgram.srv))**
* Set the measurement program (via ID) of the radar by sending a SetMeasurementProgram UDP PDU.
Returns success if full UDP PDU was sent, false otherwise.
* **Not supported by sensor firmware yet**
* **~/sensor_mode_request
([`off_highway_premium_radar_msgs/srv/SensorModeRequest`](../off_highway_premium_radar_msgs/srv/SensorModeRequest.srv))**
([`off_highway_premium_radar_sample_msgs/srv/SensorModeRequest`](../off_highway_premium_radar_sample_msgs/srv/SensorModeRequest.srv))**
* Request a sensor mode by sending a SensorModeRequest UDP PDU, e.g., start and stop modulation.
Returns success if full UDP PDU was sent, false otherwise.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# limitations under the License.
find_package(asio_cmake_module REQUIRED)
find_package(ASIO REQUIRED)
list(APPEND off_highway_premium_radar_INCLUDE_DIRS ${ASIO_INCLUDE_DIRS})
list(APPEND off_highway_premium_radar_sample_INCLUDE_DIRS ${ASIO_INCLUDE_DIRS})
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ sends them via the [`Sender`] to the sensor. Furthermore, it implements diagnosi
and published topics if they are expected to transmit data cyclically.

[`Receiver`]:
../include/off_highway_premium_radar/interface/receiver.hpp
../include/off_highway_premium_radar_sample/interface/receiver.hpp
[`Sender`]:
../include/off_highway_premium_radar/interface/sender.hpp
../include/off_highway_premium_radar_sample/interface/sender.hpp
[`Converter`]:
../include/off_highway_premium_radar/interface/converter.hpp
../include/off_highway_premium_radar_sample/interface/converter.hpp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 3bb569c

Please sign in to comment.