SDK
The AI Accelerator SDK lets you build your own AI applications based on technology from Universal Robots and NVIDIA
Warning
This guide assumes that you have upgraded the software on the compute module to 2.0.5
Setup of the SDK
The SDK sets up a docker image with all required components (NVIDIA Isaac Manipulator and other 3rd party tools) required to run the included example demo applications. The AI Accelerator will need to be connected to the internet for this installation process and you will need to connect keyboard, mouse, and display to the compute module.
Warning
In this version of the AI Accelerator Software the IP Address of the compute box is fixed to 192.168.0.100, if this is changed the system will not function correctly. This requirement will be relaxed in a future version.
On the robot
Open Settings
Navigate to Secure Shell
Enable SSH access
Navigate to Services
Enable ROS2, tap the input box and select a ROS domain ID greater than 0 (1-5) remember this value so you can configure the compute box on the same domain.
Navigate to Network and configure an IP address in the same range as the compute box (192.168.0.x) with subnet mask 255.255.255.0.
On the compute module
Make sure your robot is powered on and on the same network as the compute module before continuing
Open a terminal
Run
sudo apt updateRun
sudo apt install chrony sshpassInsert the usb with aia-sdk-VERSION.deb file
Install with
sudo dpkg -i PATH/aia-sdk-VERSION.debWhen prompted if you want to setup time sync, answer y
When prompted, input the IP address of the robot. Default is 192.168.0.10
When prompted, input the password for the robot
When prompted, input the password for the compute module
When prompted, reboot the robot
On the robot teach pendant click the hamburger menu in the top left corner of Polyscope X and choose about to view the serial number. Enter your robot serial number in
~/aia_sdk/ros/config/config.yamlprepended with UR - eg UR20255500010.In the same
config.yamlfile on the AI Accelerator, make sure theros_domain_idmatches the domain that you have chosen in the Polyscope X settings when enabling ROS2 communications.In the same
config.yamlfile on the AI Accelerator, make sure therobot_typemodel of robot you will be using - eg ur5e.Run
cd ~/aia_sdk/rosRun
./scripts/run_sdk_setup.sh
After downloading and setting everything up, the SDK will start. On subsequent runs the same script should be used to enter the docker container, but it will skip these setup steps if they have previously been executed.
You are now ready to run the examples and use the tools. Note: all of these must be executed from within the SDK docker container, that is entered by running ./scripts/run_sdk_setup.sh
You can find example polyscope programs in ~/aia_sdk/polyscope/programs that can be saved on a USB disk and imported in Polyscope X