[ros-users] [Discourse.ros.org] Ros-melodic projects

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: Mathieu Lauret via ros-users
Dato:  
Til: ros-users
CC: Mathieu Lauret
Emne: [ros-users] [Discourse.ros.org] Ros-melodic projects


Hello,

You don't need a ROS-Vrep connection, it's integrated in VREP by default now : http://www.coppeliarobotics.com/helpFiles/en/rosInterf.htm

For example, launch a roscore, then launch vrep.sh, you should see these lines :

    Plugin 'RosInterface': loading...
    Plugin 'RosInterface': load succeeded.


Then put this Non-Threaded Lua script in any object (Cuboid for example) :

    function sysCall_init()
      handle = simROS.advertise("/chatter", "std_msgs/String")
    end


    function sysCall_sensing()
      msg = {} 
      msg["data"] = "Hello World"
      simROS.publish(handle, msg)
    end


The chatter topic should be displayed in "rostopic list" and sending "Hello world" as a message (check with "rostopic echo /chatter".

There is also the example scene "rosInterfaceTopicPublisherAndSubscriber.ttt" given with V-rep that show image view, and the scene "controlTypeExamples.ttt" who show other type of Ros Interface


And for melodic package, we need to wait for the maintainer for porting their packages, there is only a quarter of the package available yet : https://discourse.ros.org/t/ros-melodic-morenia-release/





---
[Visit Topic](https://discourse.ros.org/t/ros-melodic-projects/4991/2) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list

http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>