This guide is based on my experience getting started with the AgileX Robotics Piper arm.
It aims to help others quickly understand and start using the robot without the usual setup difficulties.
Suggestions and contributions are always welcome!
piper_beginner_guide/
├── piper_kinematics/ # Standalone FK/IK library (no ROS required)
└── piper_ros_control/ # Custom ROS 2 Humble package for robot control
You can visualize the Piper arm’s kinematic chain in 3D using the standalone visualizer (no ROS required):
This tool helps with:
- Visualizing the robot’s kinematic structure
- Verifying forward and inverse kinematics behavior
python3 ./piper_kinematics/piper_kinematics_visualizer.pyBuild the package and source the install file. This may be done only once.
conda deactivate
colcon buildCreate a conda environment to actually use the piper controller. This may be also done only once.
conda create -n piper_beginner_guide python=3.10
conda activate piper_beginner_guide
conda install pinocchio=3.6.0 casadi -c conda-forge
conda deactivateOn a bash terminal, activate the CAN interface first (requires the piper_ros driver):
source scripts/launch_piper_arm.bashThis demo allows you to control the robot arm using keyboard inputs.
It is useful for understanding how the PiperController node works in practice.
Currently uses an IK solver for position command due to issues caused by recent firmware updates.
source scripts/demo_piper_arm.bash