mtbii / RobotCA

No longer actively maintained. Android app for remote controlling a ROS robot - University of South Carolina Capstone Project
http://mtbii.github.io/RobotCA
GNU General Public License v3.0
78 stars 95 forks source link

Topics not working #2

Open shoemakerlevy9 opened 7 years ago

shoemakerlevy9 commented 7 years ago

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?

mtbii commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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

timFinn commented 7 years ago

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 commented 7 years ago

@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 commented 7 years ago

I use android studio 2.3.3 JDK8 my android is 4.4.4 API19

blubbi321 commented 6 years ago

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

blubbi321 commented 6 years ago

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 commented 6 years ago

@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 commented 5 years ago

@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