MATLAB에서의 ROS 네트워크 액세스
MATLAB®을 사용하여 ROS 네트워크와 메시지에 액세스
ROS는 메시지를 사용하여 정보를 공유합니다. 메시지는 데이터 공유를 위한 간단한 데이터 구조입니다. 메시지를 수신하거나 서브스크라이브하려면 rossubscriber를 사용합니다. 메시지를 보내거나 퍼블리시하려면 rospublisher를 사용합니다. 메시지 전송에 대한 자세한 내용은 ROS Publisher 및 ROS Subscriber를 사용해 데이터 교환하기 항목을 참조하십시오.
ROS 서비스 및 액션을 통해 사용자는 작업을 수행할 수 있습니다. ROS 서비스는 요청-응답 통신을 통해 정보를 수집하고 ROS 네트워크에서 콜백 함수를 트리거합니다. 액션은 작업이나 목표를 트리거하고 작업을 실행하는 동안 피드백을 받는 데 사용할 수 있습니다.
함수
블록
도움말 항목
ROS Publisher 및 Subscriber
- Work with Basic ROS Messages
Create, explore, and populate ROS messages in MATLAB, that are commonly encountered in robotics applications. - Built-In Message Support
List of supported ROS message types in MATLAB. - ROS Publisher 및 ROS Subscriber를 사용해 데이터 교환하기
ROS 네트워크에서 토픽을 퍼블리시하고 서브스크라이브합니다. - Work with Specialized ROS Messages
Handle message types for laser scans, uncompressed and compressed images, point clouds, camera info, occupancy grid, and octomap messages. - Publish Variable-Length Nested ROS Messages and Deploy as ROS Node Using MATLAB
Work with complex ROS messages in MATLAB, such as messages with nested submessages and variable-length arrays. - Improve Performance of ROS Using Message Structures
Demonstrates the use of ROS message structures, and their benefits and differences from message objects.
ROS 서비스 및 액션
- Call and Provide ROS Services
Set up service servers to advertise a service to the ROS network. - ROS Actions Overview
ROS action workflow and communication protocols - Move a Turtlebot Robot Using ROS Actions
This example shows how to use the/turtlebot_moveaction with a Turtlebot robot.