Class Driver
Defined in File driver.hpp
Inheritance Relationships
Base Type
public off_highway_premium_radar::Sender
(Class Sender)
Class Documentation
Driver class to receive and send to / from sensor.
Provides sender interface to send data.
Public Types
Public Functions
Construct a new Driver object.
- Parameters:
host_ip – Host IP
host_port – Host port
sensor_ip – Sensor IP
sensor_port – Sensor port
connect – Connect UDP socket to receive only from sensor (won’t receive broadcast msgs)
Destroy the Driver object.
Start receiving packets.
Register new receiver to trigger on new packets.
- Parameters:
receiver – Receiver to register
Send ego vehicle data.
- Parameters:
data – Ego vehicle data
Send measurement cycle synchronization.
- Parameters:
data – Measurement cycle synchronization
Send sensor mode request.
- Parameters:
data – Sensor mode request
Send measurement program.
- Parameters:
data – Measurement program