Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Talker and Listener can't communicate on the same device #7

Open
qh-huang opened this issue May 9, 2018 · 2 comments
Open

Talker and Listener can't communicate on the same device #7

qh-huang opened this issue May 9, 2018 · 2 comments

Comments

@qh-huang
Copy link

qh-huang commented May 9, 2018

I installed the 2 APKs to the same device and run them together. I expected to see listener can receive the messages sent from talker, but nothing happended, even in logcat. Did I miss anything?

@esteve
Copy link
Member

esteve commented May 29, 2018

I think it's because when either app is sent to the background, the nodes are removed from the executor https://github.com/esteve/ros2_android_examples/blob/master/ros2_listener_android/src/main/java/org/ros2/examples/android/listener/ROS2ListenerActivity.java#L108-L113 so if you disable that code, you should be able to run ROS2 apps in the background.

@qh-huang
Copy link
Author

@esteve Thanks! I'll try it later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants