[ros-users] Remote simple action clients

Daniel Stonier d.stonier at gmail.com
Fri Nov 12 10:51:42 UTC 2010


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



More information about the ros-users mailing list