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

Topics not working #2

Open
shoemakerlevy9 opened this issue Apr 14, 2017 · 10 comments
Open

Topics not working #2

shoemakerlevy9 opened this issue Apr 14, 2017 · 10 comments

Comments

@shoemakerlevy9
Copy link

Hi,

The only topic that's working for me is the Joystick topic. I've tested the Image topic, Odometry Topic, and GPS Topic by changing the topic names in the app to be the same as my ROS topics. Anyone else having this issue?

@shoemakerlevy9 shoemakerlevy9 changed the title Topics no working Topics not working Apr 14, 2017
@mtbii
Copy link
Owner

mtbii commented Apr 16, 2017

Are you able to connect the the ROS node and see any output in the terminal. There may be error messages there that can tell you more.

The app expects specific sensor messages for each topic and fails if these messages don't match. The joystick is also an output-only feature. You may also have some networking issues that prevent you from receiving the sensor messages properly. What network setup do you have? Are you connected directly to the machine/robot running ROS or are you over an indirect WiFi network?

@shoemakerlevy9
Copy link
Author

Sorry for the delayed response.

I have verified that the topic names in the app are the same as my ROS topics. I am able to see the output of the ROS node and no errors show up. My logging level is set to DEBUG.

I have tried on several different WiFi networks with several different android devices. None of the networks are complicated, ie the robot and my phone are both connected to the same router, same ssid, I can ping the robot, I can use the joystick, I just cant use anything else.

I am thinking it may be the that when I set the topic name in the app it may not actually change the topic that its looking for, but I have to do more testing to confirm that.

I am working on a web app to mimic this app, but then it would work on IOS as well. So it would be nice to have this app working to compare with.

@DavidHan008
Copy link

i met same problems. only Joystick topic is work.
503752678
1543751895
1978510559
511160004
can you tell me how to solve the problem?

@timFinn
Copy link

timFinn commented Aug 7, 2017

I'm also experiencing this issue. Going to try one of the forked projects to see if the issue has been resolved. https://github.com/ros-autom/RobotCA

@DavidHan008
Copy link

@timFinn Hi I use the ros-autom/RobotCA app but also have some problem. the camera is white picture
the topic is normal
734828725
881717259
do you meet same issues?

@DavidHan008
Copy link

I use android studio 2.3.3 JDK8 my android is 4.4.4 API19

@blubbi321
Copy link

Same issue here. Were you able to find a solution in the meantime?

@blubbi321
Copy link

Update: was able to fix the white camera image by relaying my image topic into /image_raw/compressed using http://wiki.ros.org/topic_tools/relay

@iamzhuang
Copy link

@DavidHan008 I had forked a new branch to fix the bug..It supported to change the camera topic name and display normal(display white screen before).
here is core and release apk. https://github.com/iamzhuang/RobotCA

@Razbotics
Copy link

@DavidHan008 I had forked a new branch to fix the bug..It supported to change the camera topic name and display normal(display white screen before).
here is core and release apk. https://github.com/iamzhuang/RobotCA

Thanks Zhuang the camera stream is working

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

7 participants