The reference image includes multiple sample applications that allow
you to experiment and see how various features run.
By default, the reference image is configured to start the Camera MUX 2x2
application automatically. If you want to interact with the application
or run other sample applications that are included with reference image,
connect to the image and
slay the Camera MUX 2x2 application.
For example:
# slay camera_mux2x2
To do this, you can connect to the reference image using the console,
an
ssh or telnet connection.
These are the sample applications that demonstrate what you can build
with the
QNX Platform for ADAS:
Note:
The applications are for demonstrative/reference purposes and are meant
as a starting point for you to learn how to build your
applications. They aren't intended for production and the code is
structured in a manner to make it easier to learn how to use the API calls.
Note: You can run multiple applications as long as they don't try use
the same sensor/camera; however you'll only be able to see
the most recent application on the display.
If you ran an application in the background, to stop it, you can
connect to the target and run the slay command.
- Camera example: This application demonstrates how you can use the
Camera library. You can use it to configure settings on the camera and
understand how to use the Camera library with the cameras connected to your system.
If a camera is configured correctly in the sensor configuration file,
this application will indicate that the camera is available.
For more information about using the application, see
Camera example.
- Camera MUX 2x2: This takes multiple camera
streams to show them at the same time on the screen.
You can show up to 4 camera streams. For more information,
see Camera MUX 2x2 in this chapter.
- Publish Subscribe example: This application runs
as either a publisher, subscriber, or both. This example uses
Platform-independent Publish Subscribe (PiPs).
For more information about using the application,
see Publish and Subscribe example.
- Robot OS example: This application can be used
to publish data that's read from connected sensors.
You can run a separate subscribe that listens for data
that's published and visualize the data on a separate host system.
For more information, about using this application, see
see Robot OS example.
- Sensor example: This application
reads sensor data, queries a sensor for information, and
queries that data. You can also use it to record sensor information.
For more information about using the application,
see Sensor example in this chapter.