Robotics StackExchange | Archived questions

Weird behavior with android ndk

Hi

I was writing some code using roscpp and the android ndk and everything compiles just fine but when I try to run my code, it just hangs. After some research, I found that this happened whenever I tried to instanciate an object with a NodeHandle as an attribute. I am very surprised, since the same code in C++ compiled for an x86 arch (my computer) runs smoothly.

I hope someone can help me.

Asked by jmr on 2015-03-31 10:29:25 UTC

Comments

Nervermind ... My problem was that I forgot to give my android app internet permission. One thing though is that ros::ok() was still returning true anyways

Asked by jmr on 2015-03-31 13:50:14 UTC

Answers