Giter Club home page Giter Club logo

coppeliasim_msgs_srvs's Introduction

coppeliasim_msgs_srvs

This package is an update of the vrep_common package -by [Jonathan Cacace][]- which contains the definitation of the required msgs and srvs that enable ros to communicate with the coppeliasim simulator. this package is one of 5 ros packages to have a fully ros-integration of Coppeliasim.

Building

The following instructions assume that a catkin workspace has been created at $HOME/catkin_ws and Coppeliasim directory is placed at the Home directory $HOME/CoppeliaSim. you always can update the paths based on your machine setup.

# change to the src directory in your Catkin workspace
cd $HOME/catkin_ws/src

# Clone coppeliasim_msgs_srvs pkg 
git clone https://github.com/mahmoud-a-ali/coppeliasim_msgs_srvs

# change to the main Catkin workspace
cd ..

# build the workspace (using catkin_tools)
 catkin build
 
 # activate your workspace
 source $HOME/catkin_ws/devel/setup.bash

This package does not generate any excutables, only header files for different messages and services will be generated.

Usage

This package contains 8 msgs and 99 srvs definitions files. Here is an explanation of few msgs/srvs defined in this package:

  • simRosStartSimulation.srv: a ros service to start the simulation in coppeliasim. Request part of the service is empty, The response is an int indicates if the simulation is successfuly started or not.For more information check the simStartSimulation() API.
  • simRosLoadScene.srv: a ros service to load a scene in coppeliasim. Request part of the service contains the scene file, The response is an int indicates if the scene is successfuly loaded or not. For more information check the simLoadScene() API.
  • SimInfo.msg: A ros message contains information about the simulation state inside coppeliasim e.g. simulatorState, simulationTime, and timeStep.
  • ....

For more information about all the services/messages and how it can be used to communicate with Coppeliasim, you can check the coppeliasim_APIs page.

Example

Refer to coppeliasim_ros_services or ur5_coppeliasim_roscontrol packages on how you can use the messages and services generated by the coppeliasim_msgs_srvs package to control the simulation inside coppeliasim using ros.

coppeliasim_msgs_srvs's People

Contributors

jocacace avatar mahmoud-a-ali avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.