HUMANNODEBajie Developer GuideProduct page →

1 · Set up & connect

Goal: log in to Bajie, prepare its ROS 2 environment, install hnbot and see every interface go green.

What you need

  • Bajie, charged and on its dock, on the same Wi-Fi network as your laptop.
  • A laptop with an SSH client: Terminal on macOS/Linux, or PowerShell / Windows Terminal on Windows.
  • hnbot, open source under the MIT license: github.com/nonameisready/hnbot.
  • The ECOVACS message package ecovacs-bajie-rosmsg, from the official ECOVACS developer repository.

Step 1: Finish the ECOVACS first-time setup

Follow the ECOVACS quick-start sheet to:

  1. connect Bajie to your Wi-Fi
  2. update its system
  3. map your home, using the ECOVACS app or the robot's exploration mode

Room navigation needs the semantic map, which is the list of rooms with names like 客厅 (living room) and 厨房 (kitchen).

Step 2: Log in over SSH

Find the robot's IP address. It is shown on the touchscreen, or in your router's list of connected devices. Then run:

ssh Agi@192.168.1.50        # use your robot's IP

The password is in the ECOVACS developer documentation that came with the robot. If your laptop and the robot can't see each other, check that they are on the same network and that guest-network isolation is off.

Tip: to avoid typing the password every time, run ssh-copy-id Agi@<robot-ip> from your laptop.

Step 3: Set up the ROS 2 environment

Bajie runs Ubuntu 22.04 + ROS 2 Humble and talks over CycloneDDS. Every terminal that talks to the robot needs these lines. Add them to ~/.bashrc on the robot so they run automatically:

source /opt/ros/humble/setup.bash
export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp
export CYCLONEDDS_URI=file:///factory/default.xml

Step 4: Build the official message package

Bajie's abilities are ROS 2 actions and topics. Their message types live in the common_msgs package. Build it once:

mkdir -p ~/bajie_ws/src && cd ~/bajie_ws/src
# copy or clone ecovacs-bajie-rosmsg here
cd ~/bajie_ws
colcon build --packages-select common_msgs
echo 'source ~/bajie_ws/install/setup.bash' >> ~/.bashrc
source ~/.bashrc

Check that it worked:

ros2 interface show common_msgs/action/Search

You should see the goal, result and feedback fields of the object-search action.

Step 5: Install hnbot

On the robot:

git clone https://github.com/nonameisready/hnbot.git ~/hnbot
pip install --user -e ~/hnbot
hnbot --help

To update later, run cd ~/hnbot && git pull. The examples used in these tutorials are in ~/hnbot/examples/.

If hnbot is "command not found", add ~/.local/bin to your PATH:

echo 'export PATH=$HOME/.local/bin:$PATH' >> ~/.bashrc
source ~/.bashrc

Want to try everything on your laptop first? Clone and install it there the same way and leave out --robot bajie. You then get the simulator.

Step 6: Run the health check

hnbot --robot bajie doctor

doctor checks:

  • every action hnbot uses
  • the head camera
  • the battery
  • the rooms in your semantic map

A good result looks like this:

✅ /map_manager                       MapManager
✅ /nav2_area_navi_points             AreaNav
✅ /navigate_to_pose                  NavigateToPose
✅ /searching_manager_action          Search
✅ /arm/adaptive                      ArmAdaptivePose
✅ /hand_controller/gripper_cmd       GripperCommand
✅ /robot/control                     RobotControl
✅ /recharge/action                   Recharge
✅ /berxel_upper/berxel_upper/color/image_raw   receiving
✅ /power/battery/state               87%
✅ semantic map rooms                 客厅, 厨房, 主卧
All good.

A ❌ tells you exactly what is missing. See Troubleshooting.

Step 7: First safe commands

Run these in order:

hnbot --robot bajie status                    # battery and state
hnbot --robot bajie photo -o /tmp/a.jpg       # head-camera snapshot
hnbot --robot bajie gripper open              # the first thing that moves: just the fingers
hnbot --robot bajie gripper close
hnbot --robot bajie rooms                     # rooms the robot knows

✅ Done. Your robot is ready for development. Next: Explore the ROS 2 interfaces →

Questions? Email contact@humannode.dev. Developer Platform customers get 3 months of direct technical support.