Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing full articles (90 articles)
Browse article index
↧

rosservice geometry_msgs/Posearray example

$
0
0
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 do so. Whenever I request the service from script2.py it should give me the array of poses from script1.py. Is this possible? How it works? I have read the tutorials http://wiki.ros.org/ROS/Tutorials/CreatingMsgAndSrv and http://wiki.ros.org/ROS/Tutorials/WritingServiceClient%28python%29, but I'm not sure to proceed for this particular message type. I cannot find any examples to look into. Also when I save the array of poses as a PoseArray in script1.py, Should I also save the header too? I'm bit confused here. Can someone give an hint here? Thanks in advance.
↧

Viewing full articles (90 articles)
Browse article index

Latest Images

Trending Articles



Latest Images