Setting up NavQ for use on the NXP Cup Car

Setting up the FMU

Run this on an Ubuntu 20.04 machine.

Install Fast-DDS

$ cd ~
$ mkdir src && cd src
$ git clone --recursive https://github.com/eProsima/Fast-DDS.git -b v2.0.0 FastRTPS-2.0.0
$ cd FastRTPS-2.0.0
$ mkdir build && cd build
$ cmake -DTHIRDPARTY=ON -DSECURITY=ON ..
$ make
$ sudo make install

Install Fast-DDS-Gen

$ cd ~/src
$ git clone --recursive https://github.com/eProsima/Fast-DDS-Gen.git -b v1.0.4 Fast-RTPS-Gen
$ cd Fast-RTPS-Gen
$ ./gradlew assemble
$ sudo ./gradlew install

Clone & build PX4-Autopilot from rudislabs repo

Setting up NavQ

Flash NavQ with fresh image

To flash NavQ with a fresh image, follow the instructions on the page linked below:

Run setup script to install ROS2 Foxy and microRTPS

FTP the zip file linked below to NavQ, then unzip using

10KB
Open
navq-install

and then run the script inside using

Install ROS2 camera tools

Install ROS2 camera tools so we can publish camera data to the /image topic. Use

Clone and build `nxp_cup_vision`

Clone nxp_cup_vision and then build it using the commands below

Once that is done, source the setup.bash file

You should have everything installed now.

Running simulated PixyCamera

Running cam2image

Spin up the camera publisher by running the command below

Running nxp_tack_vision

Spin up the vision code by running

Last updated

Was this helpful?