I also found [this github repo](
https://github.com/eborghi10/AndroidSensors) and it nearly works out of the box for android sensor messages to ROS.
Two important mentions:
-add maven2 to gradle file otherwise it will not work
-build the app from the linux terminal because then Gradle helps a lot
---
[Visit Topic](
https://discourse.ros.org/t/using-your-smartphones-built-in-sensors-as-a-ros-node/4305/4) or reply to this email to respond.
If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
ros-users@lists.ros.org
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <
http://lists.ros.org/mailman//options/ros-users>