ROS 2 quick start
Installation¶
Connect the development machine directly to the G02 robot with an Ethernet cable, and configure the development machine's static IP as 10.42.1.102. Make sure ping 10.42.1.101 works correctly.
Install the GDK dependencies on the development machine:
Building¶
Running the example¶
source ~/.cache/agibot/app/gdk/scripts/ros_env.sh gdk_controller
ros2 launch gdk_controller controller.launch.py
You can subscribe to the /hal/joint_state topic to view the robot's joint states.