To run a sample application

If the /home/username/drive-linux/samples/nvmedia directory does not exist on the DRIVE AGX Orin Platform, and you wish to copy all samples, us the copytarget-samples command and reflash the board as described previously in Building the NvMedia Samples.

If the /home/username/drive-linux/samples/nvmedia directory does not exist on the DRIVE AGX Orin platform, copy a single rebuilt sample:

  1. Copy the sample to the target system. For example, from the target execute:
    cd /home/<username>/
    mkdir drive-linux/samples/nvmedia
    rcp -r <host_user>@<host_ip>:/<complete_host_install_path>
    /drive-linux/samples/nvmedia/<sample_dir> /home/<username>/
    drive-linux/samples/nvmedia

    If the /home/username/drive-linux/samples/nvmedia directory already exists, update a single rebuilt sample using the previous procedure without the mkdir command.

  2. Navigate to the sample application directory.
  3. Copy the default configuration file and modify your copy for your needs.
  4. Run the sample application.