Ask Your Question

Milow's profile - activity

2021-09-16 13:13:19 -0600 received badge  Famous Question (source)
2019-04-11 10:02:16 -0600 received badge  Notable Question (source)
2018-12-18 08:29:55 -0600 received badge  Popular Question (source)
2018-07-09 14:01:21 -0600 marked best answer How to use services ?

According to this tutorial [ http://wiki.ros.org/ROS/Tutorials/Wri... ], I thought we could use a service like :

    client = n.serviceClient<std_srvs::Empty>("/reset_positions");
    ros::service::waitForService("/reset_positions");
    std_srvs::Empty reset_srv;
    client.call(reset_srv);

But execution is blocked on the waitForService instruction and return :

[ INFO] [1495007235.234008766]: waitForService: Service [/reset_positions] has not been advertised, waiting...

Is there something I missed to run this service ?

2017-09-08 00:45:24 -0600 received badge  Famous Question (source)
2017-07-18 06:39:08 -0600 received badge  Notable Question (source)
2017-05-22 02:18:31 -0600 received badge  Popular Question (source)
2017-05-19 04:38:05 -0600 commented question Running ros service

Okay it's working, thanks

2017-05-18 05:57:12 -0600 commented question Running ros service

On [ https://github.com/ros-simulation/stage_ros/blob/lunar-devel/CHANGELOG.rst ] it's write : Added reset_positions ser

2017-05-18 05:56:56 -0600 commented question Running ros service

On [ https://github.com/ros-simulation/stage_ros/blob/lunar-devel/CHANGELOG.rst ] it's write : Added reset_positions ser

2017-05-18 05:47:11 -0600 commented question Running ros service

I thought reset_positions could reset the position of my turtlebot without I had to implement the foo function.

2017-05-18 05:46:55 -0600 commented question Running ros service

I thought reset_positions could reset the position of my agent without I had to implement the foo function.

2017-05-18 05:46:36 -0600 commented question Running ros service

I thought reset_positions` could reset the position of my agent without I had to implement the foo function.

2017-05-18 05:46:14 -0600 commented question Running ros service

As I understand ros, there are services implemented by ros (which I would like to call) and services users can code by t

2017-05-18 04:50:13 -0600 commented question Running ros service

Okay for roscore. I don't see what I have to advertise. I can do : ros::ServiceServer service = n.advertiseService("res

2017-05-18 04:48:50 -0600 commented question Running ros service

Okay for roscore. I don't see what I have to advertise. I can do : ros::ServiceServer service = n.advertiseService("res

2017-05-18 04:18:36 -0600 asked a question Running ros service

Running ros service How to run a ros service (not a personnal one, I have already read the tutorial about create personn

2017-05-18 02:47:33 -0600 commented answer How to use services ?

So to reword, I know how to create my own service, but it's not what I want to do. I would like to run an existing servi

2017-05-17 09:38:02 -0600 commented answer How to use services ?

I did it, I created a ServiceServer who is running a personnal service. I can call this service (only displaying a "hel

2017-05-17 09:33:05 -0600 commented answer How to use services ?

I did it, I created a ServiceServer who is running a personnal service. I can run this service (only displaying a "hell

2017-05-17 07:37:50 -0600 received badge  Famous Question (source)
2017-05-17 06:49:38 -0600 received badge  Supporter (source)
2017-05-17 04:05:24 -0600 received badge  Notable Question (source)
2017-05-17 03:31:47 -0600 received badge  Popular Question (source)
2017-05-17 03:07:29 -0600 commented answer How to use services ?

There is only this two lines : /rosout/get_loggers /rosout/set_logger_level How can I launch the node to provide the s

2017-05-17 03:07:19 -0600 commented answer How to use services ?

There is only this two lines : /rosout/get_loggers /rosout/set_logger_level How can I launch the node to provide the s

2017-05-17 03:07:08 -0600 commented answer How to use services ?

There is only this two lines : /rosout/get_loggers \n /rosout/set_logger_level How can I launch the node to provide the

2017-05-17 03:06:58 -0600 commented answer How to use services ?

There is only this two lines : /rosout/get_loggers /rosout/set_logger_level How can I launch the node to provide the se

2017-05-17 02:53:48 -0600 edited question How to use services ?

How to use services ? According to this tutorial [http://wiki.ros.org/ROS/Tutorials/WritingServiceClient(c++)], I though

2017-05-17 02:53:02 -0600 edited question How to use services ?

How to use services ? According to this tutorial, I thought we could use a service like : client = n.serviceClient&

2017-05-17 02:52:35 -0600 received badge  Editor (source)
2017-05-17 02:52:35 -0600 edited question How to use services ?

How to use services ? According to this tutorial), I thought we could use a service like : client = n.serviceClient

2017-05-17 02:52:22 -0600 edited question How to use services ?

How to use services ? According to this tutorial, I thought we could use a service like : client = n.serviceClient&

2017-05-17 02:51:52 -0600 asked a question How to use services ?

How to use services ? According to this tutorial, I thought we could use a service like : client = n.serviceClient&

2017-05-12 08:37:49 -0600 asked a question reset_positions service - nothing happens

reset_positions service - nothing happens I'm trying to reset the position of my turtlebot after a collision against a w