Search found 9 matches

by rick187
26 Aug 2016, 17:47
Forum: Feature requests
Topic: V-Rep should publish to the /clock topic
Replies: 19
Views: 25678

Re: V-Rep should publish to the /clock topic

This topic is quite old, but this command also works rosrun topic_tools transform /vrep/info /clock rosgraph_msgs/Clock 'rospy.Time.from_sec(m.simulationTime.data)' --import rospy and it can also be included in a launch file with: <node name="sim_time" pkg="topic_tools" type=&quo...
by rick187
11 Jun 2016, 18:27
Forum: Bug reports
Topic: v_repExtRosInterface not working
Replies: 10
Views: 8743

Re: v_repExtRosInterface not working

This fixed it for me too! Thank you both for your help.
by rick187
29 May 2016, 13:26
Forum: Bug reports
Topic: v_repExtRosInterface not working
Replies: 10
Views: 8743

Re: v_repExtRosInterface not working

Hi,

simExtRRS1_CANCEL_EVENT() is highlighted in red.
Thanks for the help. In the meantime I will get by with the old ros plugin

Cheers.
by rick187
26 May 2016, 16:02
Forum: Bug reports
Topic: v_repExtRosInterface not working
Replies: 10
Views: 8743

Re: v_repExtRosInterface not working

Hi,

I did what you asked but I don't see any message referring to RosInterface in the debug log.
The whole file is here https://gist.github.com/ricsp/2a708986f ... 15a4d421fd
Cheers,

Riccardo
by rick187
26 May 2016, 12:54
Forum: Bug reports
Topic: v_repExtRosInterface not working
Replies: 10
Views: 8743

Re: v_repExtRosInterface not working

Hello, this is what my registerScriptStuff looks like bool registerScriptStuff() { try { std::cout << "start registering simExtRosInterface functions..." << std::endl; simRegisterScriptCallbackFunctionE("simExtRosInterface_subscribe@RosInterface", "number subscriberHandle=si...
by rick187
26 May 2016, 10:26
Forum: Bug reports
Topic: v_repExtRosInterface not working
Replies: 10
Views: 8743

v_repExtRosInterface not working

Hello, I am not sure this is a bug or something due to my own configuration. I wanted to try the new v_repExtRosInterface. I followed the instructions here http://www.coppeliarobotics.com/helpFiles/en/rosTutorialIndigo.htm to compile it and copied the following files: libv_repExtRosInterface.so libv...
by rick187
03 Jul 2014, 08:19
Forum: General questions
Topic: Set advanced projection model in vision sensor.
Replies: 3
Views: 3488

Re: Set advanced projection model in vision sensor.

Hello, thanks for the reply. I was indeed considering the filter plugin as a possible solution. However, as far as I understood, in the filter I have, as input, the image already taken by the sensor, while my plugin should operate on the image formation itself. Assume, for example, that I want to si...
by rick187
02 Jul 2014, 12:50
Forum: General questions
Topic: Set advanced projection model in vision sensor.
Replies: 3
Views: 3488

Set advanced projection model in vision sensor.

Hallo, I would like simulate as best as possible a real camera for which I have all the intrinsic parameters obtained from a calibration, but in the vision sensor it seems that I can only set a "perspective angle" which, I guess, is equivalent to the focal length. Is there a way to specify...
by rick187
02 Jul 2014, 09:19
Forum: General questions
Topic: Distortion parameters from vision sensor?
Replies: 10
Views: 5581

Re: Distortion parameters from vision sensor?

Hello Hendrik, you can find a simple way to compute the camera_info for a vision sensor in the ros plugin. In particular in the file ROS_server.cpp you can find the following code: if (publishers[pubI].cmdID==simros_strmcmd_get_vision_sensor_info) { int resol[2]; int handle = publishers[pubI].auxInt...