Your Sanbot Nano follows you with its 3D camera
Follow Astra uses the Nano’s Orbbec Astra depth camera — the 3D camera the motion games use — to see your whole body and measure exactly how far away you are. It locks on to you, keeps about a metre behind, and stops to wait if it loses you.
It installs alongside Sanbot Human Follow and works the way Qihan’s own follow did on the larger Sanbot Elf: slowly and steadily, never reversing, and without spinning round looking for you.
Version 0.2.8 · Free · Runs on the Sanbot Nano
Highlights
- Real distance: the depth camera measures where you are in centimetres, so it doesn’t mistake a picture or a lamp for a person, and “too close” means too close.
- One person at a time: it only locks on to a real person (head and body), then follows only you — people walking past are ignored.
- Steady steering: when you step aside it pauses, turns a little towards you and carries on, instead of swinging past you.
- Talk to it: “follow me”, “stop”, “turn left 30 degrees”, “turn around”, “I’m on your left”, “follow my voice”, “hurry up”, “slow down” — no wake word.
- Waits when lost: if you leave its view it turns once after you, then waits and says “I lost you. Please step in front of me.”
Install
Two ways to install it
Follow Astra is published with the other robot apps, so the robot can install it itself. The setup guide (PDF) walks through every step, including connecting a computer with adb.
-
From My Sanbot (easiest)
In My Sanbot, open Software, tap Check for updates, find Follow Astra and tap Install. Then tap Install on the robot’s screen when Android asks. Needs OpenSDK Proxy 1.3.85 or later on the robot.
-
By hand
Download the Follow Astra APK, then with the robot connected over
adb:adb push followastra-0.2.8.apk /data/local/tmp/fa.apkandadb shell pm install -r /data/local/tmp/fa.apk. -
Open it
Open Follow Astra on the robot and wait for “Astra ready — stand in front of the robot”. Close any Orbbec game or other app using the 3D camera first. If Android asks to let it use the USB device, tick Use by default and tap OK.
How to use it
Start, follow, stop
Keep an eye on the robot while it follows. Use it on a clear floor, away from stairs, with children and pets out of the way.
-
Stand in front
Stand about 1.5 metres in front of the robot, facing it.
-
Start
Tap Start follow or say “follow me”. When it says “I see you. Following you.”, walk slowly.
-
Walk
It follows about a metre behind. Closer than that it stays put and only turns to face you; it never reverses. Step aside and it pauses, turns towards you and carries on.
-
Stop
Tap Stop, say “stop”, or press the robot’s emergency stop. Detect shows who it can see without moving.
Voice
What you can say
No wake word: it listens while the app is open (Google speech, needs Wi‑Fi with internet).
Follow and stop
“Follow me” · “stop”, “stay there”
Turn
“Turn left” / “turn right” (45°) · “turn left 30 degrees” (5° to 180°) · “a little left” (15°) · add “twice” to double · “turn around”
Where you are
“I’m on your left” / “I’m on your right” (60°) · “I’m behind you” (180°) · “I’m here” (turns towards your voice)
Follow my voice
“Follow my voice” — if it loses you, it turns towards your voice using the robot’s microphones, then finds you with the camera.
Speed
“Hurry up” / “slow down” — three speeds; it remembers your choice.
Speech
“Can you see me?” · “speech off” / “speech on”
On the robot’s screen
Map, status and buttons
Map from above
The white dot is the robot, teal is the person it follows, grey is anyone else. Rings at 1, 1.5, 2.5 and 3.5 m. It’s a mirror: face the robot, step right, and your dot moves right.
Status
What it’s doing, and where it sees you — for example “You are on my LEFT · 1.62 m away”.
Switches
Speech and Google listening on or off. Leave Swap left/right off.
Help
If something goes wrong
-
“No Astra camera found on USB”
Another app is using the 3D camera — an Orbbec game, Qihan’s Follow, or ROS Bridge’s body camera stream. Close it and reopen Follow Astra.
-
It never says “I see you”
Stand 1–2 m away, facing it, with your head and body in view.
-
It doesn’t hear you
Check Google listening is ticked and the robot has internet. Speak clearly.
-
“Something is in my way”
Its own sensors see an obstacle. It won’t drive forward, but it still turns to face you.
Technical details
For tinkerers
Package
au.com.brien.followastra, version 0.2.8 (version code 13). Shown on its screen as v0.2.8 (13).
Start from scripts
am broadcast -n au.com.brien.followastra/.FollowAstraReceiver -a au.com.brien.followastra.SET_FOLLOWING --ez enabled true (or false; .SET_DETECTING for detect only).
Vision
Orbbec Astra SDK 2.1.3 body tracking at 320×240, 30 fps. Driving after Qihan’s Elf Human Follow; measured turns for steering.
Licence
MIT licence for the Follow Astra code. The Orbbec Astra SDK and its body tracking remain Orbbec’s; the Sanbot OpenSDK remains Qihan’s.
Get Follow Astra
Install it from the Software screen in My Sanbot, or download the APK and follow the setup guide. Use the contact form and choose My Sanbot for help.