Skip to main content

Questions tagged [rosservices]

Filter by
Sorted by
Tagged with
0 votes
0 answers
26 views

How to use ros_gz_interfaces to bridge ign services into ros2 Humble? Only WorldControl service is working and the rest are not

I was able to use ros_gz_interfaces WorldControl service only by bridging ign services with ros2 services. ...
Ad-Deen's user avatar
0 votes
1 answer
76 views

How to query Quality of Service (QoS) Parameters of a ROS 2 Service from Command line

I know how to list ROS 2 services using the following command: ros2 service list I also know that we can display the QoS properties of a ROS 2 topic using the ...
NINAD PREMDAS RATHOD's user avatar
0 votes
1 answer
45 views

How to print out multiple responses from service

Hello, I'm currently trying to create a service which can send multiple responses. I edited the tutorial service ( http://wiki.ros.org/ROS/Tutorials/WritingServiceClient%28python%29 ) to: ...
user avatar
0 votes
1 answer
68 views

create a service with multiple responses

Hi I would like to write a service in python as described in the .srv file. I read the tutorial but I don't understand how to get multiple response in one service. ...
user avatar
0 votes
2 answers
6 views

Call Time Stamped Services From Node

How can I call a time stamped service from a ROS node? For example, RVZ launches 3 services (regarding logging etc.) but they are all time stamped (or have some other PID) that makes the service name ...
user avatar
0 votes
1 answer
10 views

Send Request Funcion

The add_two_ints_client.cpp file in the ros2/demos repository has the following send request function. Is there a way to make this send request function generic for other services I have created? ...
user avatar
0 votes
1 answer
69 views

How to optimize service calls

I'm trying to optimize my code so I was measuring how long different parts of ROS process take. Specifically ...
user avatar
0 votes
1 answer
7 views

UR10 tool flange 24V power control

Hi, i have been working on controlling a relay with the power output of the UR10 flange connector. i recently got the ur_modern_driver/io_states publisher working and noticed that it does not publish ...
user avatar
0 votes
1 answer
27 views

Call service from arduino?

Hi, I am trying to call a ROS service to turn on/off relays from an arduino. The service works from the command line and also from a python service client call. How do I call a service from an ...
user avatar
0 votes
1 answer
1 view

what is the diffrence between topics and services

Hello! i am pretty new to ROS and i want to know that if we see practically then both topic and service are performing the same task then how we can differentiate between the two in real life robot ...
user avatar
0 votes
1 answer
1 view

using the latest message in a service

I have looked at a bunch of tutorials and read a bunch of similar question about this but am still struggling to figure it out and I would appreciate some insight. I am running a bunch of programs ...
user avatar
0 votes
1 answer
3 views

high-performance status checking

Each time I read and write from and to the servos in my symmetric robot, I want to check a mode that determines which servos to talk to (the frames of this robot can change while it's running). ...
achille's user avatar
  • 363
0 votes
1 answer
11 views

How do you change a rosservice parameter in python?

I'm using the robot_localization package, specifically the ekf_localization and ...
user avatar
0 votes
1 answer
21 views

rossrv show not showing the service

I have created a service "WordCount.srv", it gave no error while compiling but when I try to run command rossrv show WordCount.srv it doesnt show the ...
user avatar
0 votes
1 answer
12 views

Service is not showing up

I wrote a service but is not showing up when I'm trying to call it. I've modified both my CMakelist and my package.xml but not luck. What am I missing. Here's my service: sensor_msgs/NavSatFix ...
user avatar
0 votes
1 answer
84 views

rqt_graph colors and arrows

What is the color code for rqt_graph? And do the bi-directional arrows mean a service between two nodes or just that the node subscribes to AND publishes to the other node or both? Is there some sort ...
user avatar
0 votes
1 answer
9 views

Get Service type from C++

In this code there is a function to get the type of a Service "get_service_type()": http://ros-win32.servicerobotics.eu/trunk/cturtle/tools/rosservice/src/rosservice.py How can I do that ...
user avatar
0 votes
1 answer
6 views

getTopics equivalent for services (C++)

I am using "getTopics" in ros/master.h to get a list of possible topics and their types. There doesn't appear to be any equivalent for getting a list of services and types because services ...
user avatar
0 votes
1 answer
7 views

How to import module to service code in Python?

Hello, everyone! I'm writing a ROS service for my robot in Python. I have one file which contains all code in arm_mover.py . The code has become too big and I need to replace a part to another module ...
user avatar
0 votes
1 answer
2 views

Parameters to be included in the following rosservice call:rosservice call /re_comm/request_2d_map

Could anyone please let me know what parameters have to included in the following service call to get 2d map from roboearth: rosservice call /re_comm/request_2d_map I didn't get any result when I ...
user avatar
0 votes
1 answer
6 views

ROS Beginner Tutorials: Examining the Simple Service and Client (python) - need some help with Client 2

Hey guys, I'm following the ROS Tutorials and, using the Python language, I'm currently having some issues trying to solve the item Examining the Simple Service and Client item (http ://www.ros .org/...
user avatar
0 votes
1 answer
4 views

ROS Beginner Tutorials: Examining the Simple Service and Client (python) - need some help

Hey guys, I'm following the ROS Tutorials and, using the Python language, I'm currently having some issues trying to solve the item Examining the Simple Service and Client item ([link text](http: // ...
user avatar
0 votes
1 answer
19 views

ros service - Why do I have multiple definitions of main?

Hello, I'm working on designing a ROS system that monitors various systems in my home. I'm currently setting up my door to work with an RFID reader. The problem I am having is that I am somehow ...
user avatar
0 votes
1 answer
4 views

Roslaunch across multiple machines failing when calling nodes

I currently have a two machine robotic set-up one that is operating internally on the robot itself and an "external" machine which is used for heavier computations and graphical processing. ...
user avatar