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:
- 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 themkdir
command. - Navigate to the sample application directory.
- Copy the default configuration file and modify your copy for your needs.
- Run the sample application.