Skip to content

Quick Development

This document introduces rapid development for Adam using pnd_sdk_python.

System Environment

Development is recommended on Ubuntu 22.04 x86_64.
macOS and Windows are not supported at this time.


Environment Configuration

  1. Use an Ethernet cable to connect the robot and the user computer.
    The Ethernet port is located on the back of the robot.
    Wired connection Adam
  2. On the user computer, configure the network to be on the same subnet as the robot.
    Modify the IP address, for example: 10.10.20.XXX

IP address configuration

SDK Installation

Open a new terminal

# Install system dependencies
sudo apt install libyaml-cpp-dev libspdlog-dev libboost-all-dev libglfw3-dev python3-pip

# Install Python SDK
cd ~
git clone https://github.com/pndbotics/pnd_sdk_python.git
cd pnd_sdk_python && sudo pip3 install -e .

🔗 For more details, refer to: pnd_sdk_python

Developer Mode

Ensure the robot is suspended and in Damping Mode, then press the LO + RO combination on the controller to enter Developer Mode. At this point, the SDK can be used for development and debugging.

For detailed instructions, refer to Operation Mode Instructions.

Control_example

# Get network interface name
ifconfig

# Run the control example (replace enp59s0 with the actual wired network interface name)
cd ~/pnd_sdk_python/example/low_level/adam_lite
python3 open_arm.py enp59s0
# Get network interface name
ifconfig

# Run the control example (replace enp59s0 with the actual wired network interface name)
cd ~/pnd_sdk_python/example/low_level/adam_sp
python3 open_arm.py enp59s0
# Get network interface name
ifconfig

# Run the control example (replace enp59s0 with the actual wired network interface name)
cd ~/pnd_sdk_python/example/low_level/adam_pro
python3 open_arm.py enp59s0