Supported Sensors

ibeo ScaLa

Ethernet, CAN

Supported hardware versions

Manufacturer ibeo
Hardware model ScaLa

Sensor background and requirements

ScaLa has multi-plane long range and imbedded object tracking and classification. We are pleased to announce that we are currently offering ScaLa v3.0 status samples for ADAS (Advanced Driver Assistance Systems) research and development efforts. This sensor is one giant step in the redefinition of mobility.

Hardware requirements

  • Power and data harness, typically provided by OEM or reseller
    • CAN High/Low signals should be wired to DB9 pins 72 respectfully, with a terminating 120 Ohm resistor
  • 12V power supply
  • Gigabit Ethernet connection to an ECU, or network switch
    • It’s strongly recommended to provide a direct connection from the LiDAR to the ECU
  • CAN interface on the ECU, compatible with linuxcan or socketcan hardware drivers
  • ECU with PolySync Core installed

Configuring the ECU

Configure ScaLa with ILV

Follow these steps to configure the sensor to work with PolySync Core.

The PolySync Core driver has the ability to modify the mount position and orientation of the sensor. You can optionally use the PolySync Core driver to set these ScaLa parameters.

  1. Connect the PolySync Core (or any machine with ILV) to the network switch with the ibeo ScaLa sensor
  2. Start ILV from the application launcher
  3. Enter the sensor IP address in the Scanner IP field at the top of the application ILV IP Address
  4. From the menu bar, select Device Configuration from the Ibeo ScaLa drow-down menu
  5. Ensure the ScaLa parameters match the following, with the exception of the TCP/IP window Vehicle velocity Vehicle yaw rate Steering wheel angle Vehicle mount position Measurement CAN interface Interface TCP/IP
Configure ScaLa mount position with Core

Follow these steps to update the mount position and orientation using the PolySync Core ScaLa driver.

  1. Connect the PolySync Core ECU to the network switch with the ibeo ScaLa sensor
  2. Calculate the X/Y/Z mount position, and roll/pitch/yaw orientation of the ScaLa sensor
  3. Follow the Adding the sensor to the SDF section to define a ScaLa node in the Configurator
  4. Update the Configurator node entry with the sensor IP address
  5. Update the Configurator node entry with the sensor mount position
  6. Start the PolySync Core driver
    • The driver sets the sensors persistent memory with the current configuration on startup

Configuring the PolySync Core ECU

Linux network set up

The Ethernet network must be properly configured before PolySync Core or ibeo software can communicate with the sensor on the target ECU.

It’s highly recommended to use point-to-point Ethernet communication between the sensor and the ECU to minimize dropped frames and lower the latency. You may connect the sensor to a switch and be prone to high latency and dropped frames.

Setting the ECUs static IP address

Once the ibeo sensor IP address is known, set a static IP address for the ECUs NIC in the same IP subnet range as the ibeo sensor.

For example if the ibeo sensor address is, it’s said to be on the 192.168.0 subnet, and the ECUs NIC should be configured with IP address 192.168.0.X.

CAN Configuration

The ECUs CAN network needs to be configured to use one of the two compatible CAN interfaces: Kvaser’s linuxcan or socketcan.

Setup the CAN interfaces on the ECU to enable the driver to communicate with the sensor.

Configuring the PolySync Core driver

Adding the sensor to the SDF

Using the Configurator tool, add a sensor node to the SDF.

The ‘Node Interface’ name is ibeo-scala.

CAN Hardware and Circuit Identifiers

Each CAN interface on the ECU has a unique identifier that enables software applications like the PolySync Core driver to identify and connect to the appropriate CAN channel.

Locate the CAN hardware and circuit identifiers based on the CAN drivers installed on your system.

Enter the CAN Channel 0 Hardware Identifier and CAN Channel 0 Circuit Identifier in the Configurator.

CAN channels

Validating the sensor is properly configured

If you’re approaching a new PolySync system or need to validate an existing configuration you can use the following checklist to ensure the sensor is properly configured.

Setup checklist

If the sensor passes these checks then the PolySync Core dynamic driver will be able to communicate with the sensor.

  • The ibeo ScaLa sensor is powered with 12V
  • The ECU has an Ethernet connection to the Ethernet switch or NIC with the Ibeo ScaLa sensor
  • The CAN bus is terminated with a 120Ohm resistor
  • The ibeo ScaLa sensor can be pinged at the IP address from the Configurator
  • You can connect to the ibeo ScaLa sensor with ibeo’s ILV software

Starting the PolySync Core driver

The configuration set in the Configurator is loaded from the SDF when the dynamic driver starts. It connects to the sensor over the Ethernet and CAN interfaces, requests the data, and waits for confirmation that the sensor configuration is valid.

When the dynamic driver receives the first full frame of data it begins processing the data, abstracting the data from the OEM data structure in a high-level hardware agnostic message type. In this case the data is placed in a ps_objects_msg and ps_lidar_points_msg.

  1. Power the sensor and ECU on
  2. Optionally follow the setup checklist
  3. Start the PolySync Core manager
    • $ sudo service polysync-core-manager start
  4. Start the dynamic driver process

Starting the node manually on the command line

To start a dynamic driver node on the command line, the node must first be defined in the SDF using the Configurator application.

Each node defined in the Configurator has a unique node ID which points to the nodes configuration. This article explains how to find the node ID.

Command line flags and usage

Once the node ID is known (substitute for X), the dynamic driver node for the supported sensor can be started with the base command:

$ polysync-core-dynamic-driver -n X

Each sensor supports an array of command line arguments. To see a full list of command line arguments, pass the -h help flag:

$ polysync-core-dynamic-driver -n X -h  |  less

There’s a lot of output so we recommend you pipe the output to less, but it’s not required.

Flag Required Description Arguments
-e No Export a JSON support string describing the interface, used by the SDF configuration tool
-h No Show this help message
-i No Use provided PAL interface file instead of what is stored in the SDF
-n No SDF node configuration key for the node [required]
-o No Enable output of log messages to stdout (in addition to syslog)
-p No use provided logfile in Record and Replay operations instead of the default
-s No Use provided SDF instead of the default
-t No Perform a validation test on the Ibeo ScaLa interface
-u No Allow updates to the SDF configuration during the normal runtime if needed (does not exit)
-U No Update the node SDF configuration and exit
-w No Disable the hardware interface(s), allowing the node to run without hardware connected
DTC codes and common fixes
DTC value DTC name Fault description Notes
304 DTC_NOINTERFACE Interface not available Activated when the sensor is not reachable at the IP address set in the Configurator; activated when the sensor becomes unreachable during runtime

Accessing sensor data

When the dynamic driver node is operating in an OK state then data is being published to the global PolySync Core bus, and any node can subscribe to the high-level message type(s) output by the dynamic driver node.

There are several tools that PolySync Core provides to quickly validate that data exists on the bus.

Access sensor data with PolySync Core nodes that subscribe to the sensor’s output message types.

Input / output message types

Message Notes
Native byte stream stored as ps_byte_array_msg Ethernet TCP socket, default IP address: 192.168.0.X, Default port: 12002
Subscribes to ps_platform_motion_msg Provides the sensor with valid vehicle speed and vehicle yaw-rate
Publishes ps_lidar_points_msg Lidar points from ibeo ScaLa 4L sensor
Publishes ps_objects_msg Detected objects from ibeo ScaLa 4L sensor

Enable and disable the publishing of specific message types in the Configurator.

Published message fields
Data Type Name Description Field populated by driver
ps_msg_header header PolySync message header. Yes
ps_sensor_descriptor sensor_descriptor Sensor descriptor. Yes
ps_timestamp start_timestamp Scan start timestamp. [microseconds] Yes
ps_timestamp end_timestamp Scan end timestamp. [microseconds] Yes
ps_native_timestamp native_start_timestamp Native timestamp for the scan start. Provided by some devices. Check ps_native_timestamp.format for meaning. Format value PSYNC_NATIVE_TIMESTAMP_FORMAT_INVALID means not available. Yes
sequence< ps_lidar_point > points LiDAR points. Yes

The buffer of LiDAR points contains one scan from the sensor.

Data Type Name Description Field populated by driver
ps_msg_header header PolySync message header. Yes
ps_sensor_descriptor sensor_descriptor Sensor descriptor. Yes
sequence< ps_object > objects Objects. Yes

Filtering incoming data for this sensor

An application that subscribes to a given message type is able to see data from more than one sensor or source.

Applications can filter for specific sensors and data sources in the message callback in C applications, or the messageEvent in C++ applications.

Filter incoming messages for this sensor with ps_sensor_kind value 220.

You can find all sensor descriptor values in this article.

Resources and configuration tools

This section has supporting resources and tools that are referenced throughout the article.

ibeo Software Center

To download ibeo software you must create an account at

Once you have access to the download center, you can reference the following documentation:

  • General
    • ibeo License Manager: required to use ILV software to visualize, debug, and configure the ScaLa sensor
    • Ibeo Interface Specification [optional]: describes the Ethernet communcation protocol used by the ibeo sensor and PolySync Core driver
    • CAN Interface Description: describes the CAN communication protocol for vehicle ego-motion data

ILV is used to connect to individual ScaLa sensors.

It’s recommended to download and install this tool for debugging purposes. On Ubuntu systems, the libpopt-dev package is required to run ILV.

$ sudo apt-get install libpopt-dev

You must also download and install the Peak Linux drivers.

$ cd ~/Downloads/
$ tar xf peak-linux-driver-8.3.1.tar.gz
$ cd peak-linux-driver-8.3.1
$ make
$ sudo make install