ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2015-07-02 07:31:23 -0500 | received badge | ● Taxonomist |
2014-08-27 10:17:11 -0500 | received badge | ● Famous Question (source) |
2014-08-16 20:24:15 -0500 | received badge | ● Famous Question (source) |
2014-08-16 20:24:13 -0500 | received badge | ● Student (source) |
2014-07-09 09:20:25 -0500 | received badge | ● Notable Question (source) |
2014-07-09 09:20:25 -0500 | received badge | ● Popular Question (source) |
2014-05-20 07:15:02 -0500 | received badge | ● Notable Question (source) |
2014-05-16 07:19:35 -0500 | asked a question | Matlab's rosmatlab i/o extension and service calls I've successfully set up Matlab's "official" io extension for working with ROS nodes and can successfully publish and listen to ROS nodes under Matlab. Sometimes however, we want to be able to call upon services. Matlab's documentation makes no mention of services and examples are sparse. I've tried treating services as suscribable and have tried sending messages to them. Some services require multiple input types however and it is unclear how to do this under Matlab. For the sake of completeness, I am running ROS on linux 64-bit, as well as Matlab 2013a. The ROS nodes run under linux and I can contact them/publish/subscribe from Matlab just fine. I'm just asking how to deal with service calls. Can anyone please answer the question of how to use services from Matlab using their recent rosmatlab extension package please? |
2014-05-15 09:42:37 -0500 | commented answer | ROSmatlab + hydro + ardrone I figured that out a little before seeing your comment. Happy to say that a quick crash course on Gradle and rosjava builds saved the day. Now I'm just trying to figure servces and rosmatlab out... |
2014-05-14 03:17:04 -0500 | received badge | ● Popular Question (source) |
2014-05-14 02:12:59 -0500 | received badge | ● Scholar (source) |
2014-05-14 02:12:55 -0500 | commented answer | ROSmatlab + hydro + ardrone Many thanks for taking the time to answer, I believe you are quite correct. Unfortunately building a custom message package seems fairly onerous given the present state of rosjava. Nevertheless, thanks a lot :) |
2014-05-13 09:57:35 -0500 | asked a question | ROSmatlab + hydro + ardrone I'm trying to use hydro from matlab 2013a on ubuntu. I've so far installed ROS, and the autonomy/ardrone code, as well as the ardrone_tutorials code and verified both work from the command line (i.e. I can roslaunch the demo code, control the drone, etc). What I need to do next is set up a node in rosmatlab, which I believe I did correctly after setting environment variables etc: node = rosmatlab.node('NODE','localhost',11311); % This completes correctly When I try to add a subscriber, I see an error in the terminal window in which I'm running the drone driver, which leads me to assume the above line is correct. The problem is that rosmatlab does not seem to know what a message of type navdata is, thus the following fails: sub = rosmatlab.subscriber('ardrone/navdata','ardrone_autonomy/Navdata',1,node); java.lang.ClassNotFoundException: ardrone_autonomy.Navdata. I'm not sure how to proceed. Do I need to somehow port the existing code into matlab? |