Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Browsing all 90 articles
Browse latest View live

Changing MPC_XY_VEL_MAX in flight, in offboard, with python script

Hello, I am trying to figure out how to change the MPC_XY_VEL_MAX parameter in the px4 parameters via this code: At the top I have: from mavros_msgs.srv import * Then in a function under a class called...

View Article


ROS Service global name not defined

I am trying to make my node a ROS service which gets triggered when it receives boolean value of true, thus I have added the following to its constructor: self.imgproc_srv =...

View Article


catkin_make issue updating .srv and .cpp file simultaneously

Think of a situation where rosnode (written in c++) is using messages generated by a .srv file. You want to add a field to the .srv file and use it in the rosnode. If you make these changes...

View Article

In which order are callback functions in a node which offers a service and...

I want to use a node that both offers a service and subscribes to a topic. If, when ros::spin() is called I have both a new message in the topic and a request from the service, which callback function...

View Article

Call a rosservice from inside another rosservice

Hi, I want to have a rosservice, “/update_goal” for example, which takes goal position (x, y, theta) as request. Once the goal is given as input, the agent should request planner for a path.I have...

View Article


rosservice geometry_msgs/Posearray example

So, I'm getting an array of poses from the robot(from a python script say script1.py). And I want this array of poses to be used in another python script(script2.py). I would like to use rosservice to...

View Article

Calling predefined service from python script

Hi all, I am wondering how to pass an arguments when trying to call rosservice from python script. I have this server called bcap_service which takes 2 arguments. (This is bcap.srv) int32 func_id...

View Article

Service server and client in python following tutorial does not work

I'm trying to make a service that I could call to change a pose of a robotic arm using MoveIt!. I follow [this tutorial](http://wiki.ros.org/ROS/Tutorials/WritingServiceClient%28python%29), but I get...

View Article


RECALLED: This goal was canceled because another goal was recieved by the...

I am running a service that is using `moveit_commander` for planning and executing a Cartesian trajectory with the panda robotic arm. It seems, that a few seconds after initialization of the moveit...

View Article


ERROR: Unable to communicate with service [/clear], address...

Hi, I'm a freshman for ROS. Here I meet a problem as shown in the title: ERROR: Unable to communicate with service [/clear], address [rosrpc://xxx-GP62MVR-6RF:36963] when I type the "rosservice type...

View Article
Browsing all 90 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>