Software Installation
Pre-requisite#
- Xavier NX Development Kit Hardware
- Flashed with the lastest OS from nvidia, as well as CUDA (recommand to install using recovery mode + SDK manager). Remarks: Install NVIDIA SDK manager in a Linux machine; Use jumper wire to short RCV pin with GND pin on Xavier module.
- Assume username to be
nvidia
Install tiscamera Camera Driver#
- Build from source and install tiscamera core driver
- Install from
.debfile thetiscamera-dutilspackage, insturctions here
Install ROS Melodic#
- Install ROS
- Install Catkin Tools
- Create the workspace, for example:
cd /home/nvidiamkdir catkin_wscd catkin_wsmkdir srccatkin build # this command should suceed - Done, from now on all source code should be place within the
./srcfolder
Install Basic ROS Dependencies#
- Mavlink, install by apt manager:
ros-melodic-mavlink - Mavros, the modified monotonic version is needed: (https://github.com/chengguizi/mavros, monotonic branch, Notes: clone the source code, the source code should be place within the ./src folder. Then go to catkin_ws folder to build the code using cmd
catkin build) - Install
cv_bridgefrom source, refer here
Install Camera ROS Wrapper#
Installation refer to here.
Take special note of the device_list.yaml file, which is called by the corresponding .launch file. If the serial number of the cameras do not match, the driver will not run.
Install VIO Code#
Refer here.