ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

thomasL's profile - activity

2016-07-01 16:52:25 -0500 received badge  Famous Question (source)
2016-04-04 16:21:07 -0500 received badge  Student (source)
2015-02-04 19:47:05 -0500 received badge  Taxonomist
2014-12-30 11:00:04 -0500 received badge  Famous Question (source)
2014-12-14 23:12:25 -0500 received badge  Notable Question (source)
2014-07-27 09:13:06 -0500 answered a question Service in Android

It might be an issue with Network configuration : NetworkSetup. See the paragraph "Setting a name explicitly".

2014-07-21 15:53:53 -0500 received badge  Famous Question (source)
2014-07-21 15:53:53 -0500 received badge  Popular Question (source)
2014-07-21 15:53:18 -0500 received badge  Famous Question (source)
2014-07-07 14:58:53 -0500 received badge  Notable Question (source)
2014-07-04 18:21:11 -0500 received badge  Popular Question (source)
2014-05-29 02:07:35 -0500 asked a question RVIZ Interactive Markers - color change runtime

Hi,

I was wondering if it was possible to change the color of an Interactive Markers during run time? I tried to change the color of the mesh embedded in the Interactive Markers but nothing occurs when I update the Server:

server.get()->applyChanges();

The architecture of my Interactive Markers is :

visualization_msgs::Marker robot_mesh;
visualization_msgs::InteractiveMarkerControl robot_control; //contain robot_mesh
visualization_msgs::InteractiveMarker robot_marker; //contain robot_control

Thanks

2014-05-28 22:33:00 -0500 received badge  Notable Question (source)
2014-05-27 11:29:59 -0500 asked a question Equivalent of ros::ok() in rosjava?

Hi,

I was wondering if there was an equivalent of ros::ok() for RosJava and more particularly for ROS Android?

Thanks

2014-05-25 21:07:44 -0500 commented question Subscriber Android from C++ node

Android Studio has been recently update (version 0.5.7). I'm also unable to create a Client (Android) / Server (Computer) Service as in this post : http://answers.ros.org/question/55922...

2014-05-25 21:04:09 -0500 received badge  Popular Question (source)
2014-05-23 23:55:15 -0500 answered a question Service in Android

The solution is to add a Thread.sleep(100) after client = node.newServiceClient("HMMv2Cont/JointState", HMMv2.get_Joint_State._TYPE);

A similar issue was raised here : rosjava-service-serverclient-example

2014-05-23 22:01:19 -0500 received badge  Citizen Patrol (source)
2014-05-23 10:54:13 -0500 received badge  Supporter (source)
2014-05-22 09:31:02 -0500 asked a question Subscriber Android from C++ node

Hi everybody! I tried to use the rosTextView of Android to display messages from a topic. The publisher is on my computer (ROS Hydro, rqt). There is no effect (the application doesn't crash), I just get this error :

E/UpdatePublisherRunnable﹕ org.ros.internal.node.xmlrpc.XmlRpcTimeoutException: org.apache.xmlrpc.client.TimingOutCallback$TimeoutException: No response after waiting for 10000 milliseconds.
I/dalvikvm﹕ Jit: resizing JitTable from 4096 to 8192

    rosTextView = (RosTextView<std_msgs.String>) findViewById(R.id.text);
    rosTextView.setMessageType(std_msgs.String._TYPE);
    rosTextView.setTopicName("/textView");
    rosTextView.setMessageToStringCallable(new MessageCallable<String, std_msgs.String>() {
        @Override
        public String call(std_msgs.String message) {
            return "ok";
        }
    });

This code worked last month and since I might have update some part of ROS, there is a bug.

Have anyone experience this case? Thank you

2014-05-22 09:07:23 -0500 commented answer Service in Android

I have the same issue : org.ros.exception.RosRuntimeException: Connection exception: ubuntu:38403 at org.ros.internal.transport.tcp.TcpClient.connect(TcpClient.java:109) Have you find a solution?

2014-05-19 20:43:21 -0500 received badge  Enthusiast
2014-05-12 06:08:03 -0500 received badge  Notable Question (source)
2014-05-08 16:55:13 -0500 received badge  Popular Question (source)
2014-05-07 04:29:27 -0500 received badge  Self-Learner (source)
2014-05-07 04:29:27 -0500 received badge  Teacher (source)
2014-05-07 02:40:42 -0500 commented answer ROS Android Server - ERROR: Unable to load type [closed]

new ServiceServer<my_custom_servicerequest, my_custom_serviceresponse=""> ros java generate my_custom_serviceRequest.class, my_custom_serviceResponse.class & my_custom_service.class

2014-05-07 02:33:17 -0500 answered a question ROS Android Server - ERROR: Unable to load type [closed]

1) The matter is that "std_msgs/Bool" is an identifier for msg and not srv. I generate a custom srv and replace by "my_custom_service._TYPE"

2) rosjava won't generate a new .jar file for msg & srv if one exist already : you have to delete the whole folder "build" each time you want to add a new message or service. I followed this way to generate new msg/srv Unofficial Messages

2014-05-06 12:52:00 -0500 received badge  Editor (source)
2014-05-06 06:45:20 -0500 asked a question ROS Android Server - ERROR: Unable to load type [closed]

Hi everyone,

1) I didn't succeed in creating a ServiceServer on Android ROS node.

rosservice call /Robot1/waypoint_srv std_msgs/bool 'true'
ERROR: Unable to load type [std_msgs/Bool].
Have you typed 'make' in [std_msgs]?

Here is the code for the Server (the name of the Robot is "Robot1":

private ServiceServer<Bool, Bool> server_waypoints;

    this.server_waypoints=node.newServiceServer(mainActivity.getRobotName()+"/waypoint_srv", "std_msgs/Bool", new ServiceResponseBuilder<Bool, Bool>() {
        @Override
        public void build(Bool bool1, Bool bool) throws ServiceException {
            bool.setData(true);
        }
    });

--> ROS seems to be not able to match "std_msgs/Bool" from Android with Ubuntu one. "Service Caller" in rqt is not able to find what kind of message it has to send.

ServiceCaller.on_refresh_services_button_clicked(): could not get class of service /Robot1/waypoint_srv

2) The next step is to create my own message for the request (waypoint for the robot). Do I have to generate a .msg or a .srv for Android Studio (I guess it is a .msg) and would it be compatible with a C++ node client?

Thank you very much