fdcl-gwu / demo_ros_python_matlab

Communication between different programming languages through ROS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

demo_ros_python_matlab

Communication between different programming languages through ROS

Usage instructions

  1. catkin_make
  2. source devel/setup.zsh (or setup.bash)
  3. Start a ROS master : roscore
  4. Build custom service for MATLAB and start server : matlab_server.m
  5. Run the python_client.py

Relevant information

Start with a base catkin workspace (http://wiki.ros.org/ROS/Tutorials/InstallingandConfiguringROSEnvironment)

  • cd src/
     catkin_create_pkg demo_package std_msgs rospy
  • cd ../demo_ros_python_matlab & catkin_make

Custom message or service description (http://wiki.ros.org/msg#Building_.msg_Files)

If existing standard formats (http://wiki.ros.org/common_msgs) are not applicable

Demo service and client

About

Communication between different programming languages through ROS


Languages

Language:CMake 83.4%Language:MATLAB 9.2%Language:Python 7.4%