ros2-java / ros2_android_examples

Example Android apps for the ROS2 Java bindings
Apache License 2.0
37 stars 5 forks source link

Talker and listener example not doing anything #9

Closed ayu135 closed 6 years ago

ayu135 commented 6 years ago

I have been trying to get ros2 on Android installed and did the steps outlined here https://github.com/esteve/ros2_java#android and the build process finished successfully. I got two .apk files in the install_isolated/ros2_listener_android/ dir, one debug and one unsigned release with a bunch of other files, similar for the the talker example. I didn't get any apk in the rclandroid directory just an .aar file in the share sub directory. I then installed the listener and talker debug apk on the same device and ran them both at the same time in split screen mode. After clicking the start button I just get a toast message saying start button was pressed and nothing happens. After this I also tried it on two different android devices, with one running talker and one as listener connected over wifi and again nothing happened just the same toast messages for pressing start and stop button. I think I am missing a few steps somewhere or doing something wrong. I would be glad for some possible solutions to get this working.

ayu135 commented 6 years ago

Made some small changes in the apps for split screen mode and got it working