Ask Your Question

r2doesinc's profile - activity

2016-02-22 03:25:33 -0600 received badge  Famous Question (source)
2016-02-05 00:23:31 -0600 received badge  Student (source)
2016-02-05 00:23:26 -0600 received badge  Favorite Question (source)
2016-01-07 08:43:58 -0600 received badge  Famous Question (source)
2015-08-03 18:15:52 -0600 received badge  Notable Question (source)
2015-08-03 18:15:52 -0600 received badge  Popular Question (source)
2015-03-30 10:32:22 -0600 received badge  Notable Question (source)
2015-03-19 11:13:35 -0600 received badge  Enthusiast
2015-03-17 04:38:09 -0600 received badge  Popular Question (source)
2015-03-16 16:01:13 -0600 asked a question RosCore on Android fails

Hello. I have put together the most basic project I could to show this error. https://github.com/FutureHax/BrokenRos

When ros core is started on the Android device, message fail to be passed through.

Start the app, use the MasterChooser to start a new public master. Point your computer to the ros core instance on your phone. Attempt to push a message.

What I see when attempting this steps is the following.

03-16 16:51:16.012  30235-30842/com.cloudspace.coretester E/XmlRpcErrorLogger﹕ No such handler: system.multicall
org.apache.xmlrpc.server.XmlRpcNoSuchHandlerException: No such handler: system.multicall
        at org.apache.xmlrpc.server.AbstractReflectiveHandlerMapping.getHandler(AbstractReflectiveHandlerMapping.java:214)
        at org.apache.xmlrpc.server.XmlRpcServerWorker.execute(XmlRpcServerWorker.java:45)
        at org.apache.xmlrpc.server.XmlRpcServer.execute(XmlRpcServer.java:86)
        at org.apache.xmlrpc.server.XmlRpcStreamServer.execute(XmlRpcStreamServer.java:200)
        at org.apache.xmlrpc.webserver.Connection.run(Connection.java:208)
        at org.apache.xmlrpc.util.ThreadPool$Poolable$1.run(ThreadPool.java:68)

I have seen a few other issues mention this "system.multicall" line, but none have been resolved.

Am I doing something incorrect or is there a bug in the ros code?

2015-03-16 15:10:38 -0600 answered a question Network with rosjava RosCore and ubuntu hydro nodes not working

I am getting very similar behavior, have you been able to resolve your issue?

2015-03-02 07:54:52 -0600 received badge  Editor (source)
2015-02-27 13:40:20 -0600 asked a question Usage of MessageDeserializer to create message from byte array

Hello! I am working on rebuilding ros_serial for android and have run into a problem creating the actual Message object from the byte array.

In the last supported version, it was as simple as

TopicInfo tI = new TopicInfo();
tI.deserialize(byteBuffer);

Ros now uses the MessageDeserializer and MessageSerializer, and for the life of me, I cant seem to get the ChannelBuffer to cooperate. The obvious usage would be,

 ChannelBuffer channelBuffer = ChannelBuffers.copiedBuffer(ByteOrder.LITTLE_ENDIAN, buffer);
 MessageDeserializer<Message> serializer = node.getMessageSerializationFactory().newMessageDeserializer(type);
 serializer.deserialize(channelBuffer);

but this crashes with the following error.

E//node ( 2549): Unable to read input stream E//node ( 2549): java.lang.IndexOutOfBoundsException: Invalid combined index of 458881, maximum is 72 E//node ( 2549): at org.jboss.netty.buffer.SlicedChannelBuffer.<init>(SlicedChannelBuffer.java:46) E//node ( 2549): at org.jboss.netty.buffer.HeapChannelBuffer.slice(HeapChannelBuffer.java:200) E//node ( 2549): at org.jboss.netty.buffer.AbstractChannelBuffer.readSlice(AbstractChannelBuffer.java:323) E//node ( 2549): at org.ros.internal.message.field.PrimitiveFieldType$14.deserialize(PrimitiveFieldType.java:584) E//node ( 2549): at org.ros.internal.message.field.PrimitiveFieldType$14.deserialize(PrimitiveFieldType.java:555) E//node ( 2549): at org.ros.internal.message.field.ValueField.deserialize(ValueField.java:68) E//node ( 2549): at org.ros.internal.message.DefaultMessageDeserializer.deserialize(DefaultMessageDeserializer.java:45) E//node ( 2549): at com.cloudspace.rosserial.Protocol.parsePacket(Protocol.java:285) E//node ( 2549): at com.cloudspace.rosserial.ROSSerial.handleByte(ROSSerial.java:344) E//node ( 2549): at com.cloudspace.rosserial.ROSSerial.run(ROSSerial.java:227) E//node ( 2549): at java.lang.Thread.run(Thread.java:818)

How do you deserialize a message passed from ros_serial?

2014-12-15 11:17:36 -0600 answered a question Writing an image listener on android device; need debugging tips (why running out of memory?)

Perhaps try the CompressedImage message type. I have been using this type with no issues.

2014-12-15 09:41:25 -0600 commented question Android VirtualJoystickView not sending left/right?

using ros android indigo. I just want to know how to catch those y values. There seems to be a bug in the virtualjoystickview class.

2014-12-15 09:33:40 -0600 asked a question Android VirtualJoystickView not sending left/right?

Using the VirtualJoystickView class from the ros android project, I never get anything other than an x value.

How can I resolve this? Using the teleop app with no modifications also gives this behavior.

Using ROS Indigo.

---
linear: 
  x: 0.273473592227
  y: -0.0
  z: 0.0
angular: 
  x: 0.0
  y: 0.0
  z: -0.96187951135
---
linear: 
  x: 6.12323399574e-17
  y: -0.0
  z: 0.0
angular: 
  x: 0.0
  y: 0.0
  z: -1.0
---