[ros-users] Remote simple action clients

Daniel Stonier d.stonier at gmail.com
Sat Nov 13 02:19:17 UTC 2010


On 13 November 2010 01:49, Blaise Gassend <blaise at willowgarage.com> wrote:
> Actions are just a few topics working together, so if topics work,
> actions really should to. Did you actually manage to send data in both
> directions using topics before setting ROS_IP? You might not have had
> any error message, but that doesn't necessarily mean that data was
> flowing.

I suspect I only tested rostopic subcriptions (c++ subscribers and
command line echo) and rosservice calls. I'll do a full test both ways
monday morning to check.

> On Fri, Nov 12, 2010 at 2:51 AM, Daniel Stonier <d.stonier at gmail.com> wrote:
>> On 12 November 2010 19:20, Dejan Pangercic <dejan.pangercic at gmail.com> wrote:
>>> Did u try setting ROS_IP? d.
>>>
>>
>> Oh, brilliant, thanks. A little strange that the same setup doesn't
>> work across topics, services and action clients though.
>>
>> Cheers,
>> Daniel.
>>
>>> On Nov 12, 2010 4:34 PM, "Daniel Stonier" <d.stonier at gmail.com> wrote:
>>>
>>> Hi all,
>>>
>>> I'm having trouble getting simple action clients to work across a
>>> remote connection.
>>>
>>> I've got roscore running on an embedded board, everything fine and
>>> locally contactable there. However, over the LAN (exporting
>>> ROS_MASTER_URI appropriately) I can publish and subscribe to topics,
>>> call services, but I can't do the following with a simple action
>>> client:
>>>
>>>
>>>        typedef
>>> actionlib::SimpleActionClient<manipulation_comms::MoveArmAction>
>>> ActionClient;
>>>        ActionClient action_client("/move_arm");
>>>
>>>        if ( !action_client.waitForServer( ros::Duration(1.5)) ) {
>>>                ROS_WARN_STREAM("Could not connect to the move_arm action
>>> server.");
>>>        } else {
>>>                ROS_INFO_STREAM("Connected to the move_arm action server.");
>>>        }
>>>
>>> Is this expected?
>>>
>>> Regards,
>>> Daniel Stonier
>>>
>>> --
>>> Phone : +82-10-5400-3296 (010-5400-3296)
>>> Home: http://snorriheim.dnsdojo.com/
>>> Yujin Robot: http://www.yujinrobot.com/
>>> Embedded Ros : http://www.ros.org/wiki/eros
>>> Embedded Control Libraries: http://snorriheim.dnsdojo.com/redmine/wiki/ecl
>>> _______________________________________________
>>> ros-users mailing list
>>> ros-users at code.ros.org
>>> https://code.ros.org/mailman/listinfo/ros-users
>>>
>>> _______________________________________________
>>> ros-users mailing list
>>> ros-users at code.ros.org
>>> https://code.ros.org/mailman/listinfo/ros-users
>>>
>>>
>>
>>
>>
>> --
>> Phone : +82-10-5400-3296 (010-5400-3296)
>> Home: http://snorriheim.dnsdojo.com/
>> Yujin Robot: http://www.yujinrobot.com/
>> Embedded Ros : http://www.ros.org/wiki/eros
>> Embedded Control Libraries: http://snorriheim.dnsdojo.com/redmine/wiki/ecl
>> _______________________________________________
>> ros-users mailing list
>> ros-users at code.ros.org
>> https://code.ros.org/mailman/listinfo/ros-users
>>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>



-- 
Phone : +82-10-5400-3296 (010-5400-3296)
Home: http://snorriheim.dnsdojo.com/
Yujin Robot: http://www.yujinrobot.com/
Embedded Ros : http://www.ros.org/wiki/eros
Embedded Control Libraries: http://snorriheim.dnsdojo.com/redmine/wiki/ecl



More information about the ros-users mailing list