I am currently developing an app that need to set ROS MASTER URI by hardcoded inside the code.I need to avoid popping MasterChooser class every time i start new Ros Activity.
I tried Setting URI inside constructor but it doesn't work.It Throws :
IllegalStateException error.
My Constructor looks like this:
public Samplechat() {
super("samplechat", "samplechat", URI.create("http://192.168.0.108:11311/"));
}
I am currently developing an app that need to set ROS MASTER URI by hardcoded inside the code.I need to avoid popping MasterChooser class every time i start new Ros Activity. I tried Setting URI inside constructor but it doesn't work.It Throws : IllegalStateException error. My Constructor looks like this: public Samplechat() { super("samplechat", "samplechat", URI.create("http://192.168.0.108:11311/")); }