Weird behavior with android ndk [closed]

asked 2015-03-31 10:29:25 -0600

jmr gravatar image

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.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Gary Servin
close date 2015-07-14 16:07:00.483494

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

jmr gravatar image jmr  ( 2015-03-31 13:50:14 -0600 )edit