Skip to content
TheChatArchiveThe Chat Archive
Perplexitysonar-reasoning-pro-high· PerplexityHugging Face LMArena Search Arena 24K

What OS does unitree's humanoid robot run? How am I supposed to run my own programs?…

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with gpt-4o-mini-search-preview’s answer.
  1. User

    What OS does unitree's humanoid robot run? How am I supposed to run my own programs? What specific softwares or libraries should I use?

  2. Perplexity Assistant

    Unitree humanoid robots (including the H1 and G1 series) run on Linux, specifically Ubuntu. This can be seen from the terminal commands and file paths used in the development examples[6][10].

    Development Environment

    Operating System

    • The robots use Ubuntu as their underlying operating system
    • They have multiple onboard computers - for example, the H1 has "PC1" and "PC2" for different control functions[10]
    • The G1 EDU series is powered by NVIDIA Jetson Orin (available in 40 TOPS or 100 TOPS configurations)[5]
    • The H1 uses dual Intel Core i7-1265U processors for control and perception computing[9]

    SDK Options

    To run your own programs on Unitree's humanoid robots, you have several options:

    1. Unitree SDK2 - Primary development kit for newer robots:

      • Supports Go2, B2, H1, and G1 robots[3][6]
      • Provides both high-level and low-level control interfaces
      • Available in C++ and Python versions[6]
    2. ROS2 Integration:

      • Unitree provides dedicated ROS2 packages (unitree_ros2)[6]
      • Uses cyclonedds (version 0.10.2) as the communication middleware[6]
      • Requires specific setup steps for proper communication with the robot[6]
    3. Low-level Motor Control:

      • Direct torque, position, and velocity control via the "/lowcmd" topic[6]
      • Uses unitree_go::msg::LowCmd message format[6]

    Setting Up Your Development Environment

    1. Install dependencies:
      sudo apt install ros-foxy-rmw-cyclonedds-cpp
      sudo apt install ros-foxy-rosidl-generator-dds-idl
      ```[6]
      
      
    2. Compile cyclonedds (required specific version 0.10.2):
      cd ~/unitree_ros2/cyclonedds_ws/src
      git clone https://github.com/ros2/rmw_cyclonedds -b foxy
      git clone https://github.com/eclipse-cyclonedds/cyclonedds -b releases/0.10.x
      cd ..
      colcon build --packages-select cyclonedds
      ```[6]
      
      
    3. Compile Unitree packages:
      source /opt/ros/foxy/setup.bash
      colcon build
      ```[6]
      

    Running Your Programs

    For connection and testing:

    source ~/unitree_ros2/setup.sh
    ros2 topic list
    ```[6]
    
    To build and run examples:
    ```bash
    source ~/unitree_ros2/setup.sh
    cd ~/unitree_ros2/example
    colcon build
    ./install/unitree_ros2_example/bin/read_motion_state
    ```[6]
    
    ## Specific Control Interfaces
    
    1. **Sportmode Control**:
       - Uses request/response mechanism
       - Send unitree_api::msg::Request messages to "/api/sport/request" topic[6]
    
    2. **Motor Control**:
       - Subscribe to "/lowcmd" topic
       - Send unitree_go::msg::LowCmd messages for torque, position and velocity control[6]
    
    3. **Advanced Features**:
       - AI and Machine Learning integration via NVIDIA Jetson Orin[5][7]
       - Sensor integration (LiDAR, depth cameras)[9]
       - For G1 models with dexterous hands, additional setup is required[10]
    
    Both Python and C++ are supported across all these interfaces, giving you flexibility in how you develop your applications[5][6]. The G1 EDU specifically mentions support for multiple programming languages including block-coding for educational purposes[5].
    

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.