MATLAB Answers

rosservice call not implemented

Luca Spanò Cuomo 님이 질문을 제출함. 5 Aug 2019
최근 활동 Cam Salzberger 님이 답변함. 7 Aug 2019
Hi everyone. I am trying to use Matlab with MavRos inorder to command a drone in Gazebo. The drone is equipped with a virtual Pixhawk oard running PX4. I can retrieve information aout some sensors. My problem is I cannot call the rosservices. Matlab has Rosservice function. It implements 'list', info', 'type' and 'url' but not 'call', the most important to me. Can I bypass the problem? Thanks

  댓글 수: 0

로그인 to comment.

답변 수: 1

Cam Salzberger 님의 답변 7 Aug 2019

Hello Luca,
The rosservice function is designed to give introspection information from the network about available services. For actual setting up of service clients and servers, you can use the rossvcclient and rossvcserver functionality. See here for a comprehensive example.
-Cam

  댓글 수: 0

로그인 to comment.



Translated by