Repository navigation
ASR Android Runtime 1.0.3 turns a phone into a ROS 2 sensor node. This release makes it ready for a phone mounted on a robot. It is signed, and it isn't on Google Play.
New to ROS 2? Start with the illustrated manual.
New
- Remote config over ROS 2 topics: camera, resolution, sensors and IMU rate (
config/set,config/state), off by default - Keeps publishing while the phone is locked
ROS_DOMAIN_ID, node name andROS_STATIC_PEERSin the app, locked behind EDIT- Optional SROS2 encryption, off by default
- Camera selection, 16:9 sizes and live FPS
/tf_staticand a separate frame for each sensor- Battery optimization warning, and optional start on boot
Fixed
- ROS 2 timestamps now use Unix time
- IMU orientation and covariance, GPS fix status, and guessed camera calibration
- A shutdown deadlock risk, a thread detach bug and a reference leak in native code
- Stale camera frames are dropped instead of arriving late
Compatibility
- 16 KB page size: ran on an Android 37 16 KB emulator with no compatibility mode
- Requires a 64-bit (
arm64-v8a) phone with Android 9 or newer
Known limits
- Tested on a Redmi Note 10 and Redmi Note 11 Pro with a Mac host. Ubuntu, Windows and Raspberry Pi hosts aren't tested yet.
- Longest test was one hour.
- Front and back cameras can't run together on the tested phones.
- SROS2 needs an RMW with security support on the host. Copying keys with
adb pushworked on Android 12 and 13 but failed on Android 37. - Start on boot varies by phone maker.
- Installing over an earlier debug build needs that build removed first, because the signature differs.
Files
ASR-Android-Runtime-1.0.3-cyclone.apk: install this on the phoneros2_android_install-v1.0.0.zip: only for building from source