Search found 52 matches

by formica
07 Feb 2014, 17:43
Forum: General questions
Topic: How to set Linear Velocities of an object?
Replies: 1
Views: 1933

How to set Linear Velocities of an object?

Hi guys, I would like to set the linear velocity (vx,vy,vz) of an object, through ROS, using simros_strmcmd_set_object_float_parameter. Unfortunately it seems, reading this http://www.coppeliarobotics.com/helpFiles/en/objectParameterIDs.htm, that the linear velocity can only be read but not set. Is ...
by formica
29 Jan 2014, 11:24
Forum: General questions
Topic: RangeFinder PC2 Data meaning
Replies: 2
Views: 1989

Re: RangeFinder PC2 Data meaning

Thanks coppelia.
I just discovered that is it possible to convert the message to pcl::PointCloud<pcl::PointXYZ> using pcl::fromROSMsg().

Regards
formica
by formica
29 Jan 2014, 09:43
Forum: General questions
Topic: RangeFinder PC2 Data meaning
Replies: 2
Views: 1989

RangeFinder PC2 Data meaning

Hi Coppelia, looking at the PointCloud2 sent by the Hokuyo through a ROS topic I do not understand the meaning of the values in the cloud. They are formatted in this way: every 12 values there is a point. The first three value are interesting for me since they are the x,y,z coordinates. The question...
by formica
28 Jan 2014, 12:27
Forum: Bug reports
Topic: Transformation Matrix ROS Publisher
Replies: 1
Views: 2262

Transformation Matrix ROS Publisher

I'm trying to enable a ros publisher to stream the transformation matrix (wrt the world frame) of an object.
Unfortunately, the publisher does not appear...

Code: Select all

TransformationMatrixPub=simExtROS_enablePublisher('RWTF',1,simros_strmcmd_get_transform,Object,-1,'')
Any idea?
by formica
22 Jan 2014, 17:18
Forum: General questions
Topic: Drawing multiple lines for each simulation step
Replies: 3
Views: 2689

Re: Drawing multiple lines for each simulation step

Ok. But the problem is that I have to delete the previous lines(at the previous time step) and draw the new ones.
The number of lines between to different simulation step may change.

formica
by formica
22 Jan 2014, 14:24
Forum: General questions
Topic: Drawing multiple lines for each simulation step
Replies: 3
Views: 2689

Drawing multiple lines for each simulation step

Hi coppelia, I'm not able to draw a collection of lines at each simulation step, redrawing it at every step (clearing the previous and drawing the new one). This is the code snippet if (simGetScriptExecutionCount()==0) then drawingObjectHandle = simAddDrawingObject(sim_drawing_lines+sim_drawing_cycl...
by formica
22 Jan 2014, 13:10
Forum: General questions
Topic: StringSignal - Packing and Unpacking values
Replies: 1
Views: 1860

StringSignal - Packing and Unpacking values

Hi coppelia, how should be formatted the float inside the string in the ROS NODE in order to successfull communicate with a subscriber of the type "append_string_signal"? I used UnpackFloats in the past and it was a little bit tricky! Do I need to separate the values by a comma? How the UnpackFloats...
by formica
22 Jan 2014, 12:39
Forum: General questions
Topic: Markers
Replies: 4
Views: 2398

Re: Markers

Do I need to separate the values by a comma?
How the UnpackFloats and UnpackInts does read the values?

I basically don't know how to format the string in the ROS node.

Thanks in advance
Roberto
by formica
22 Jan 2014, 11:24
Forum: General questions
Topic: Markers
Replies: 4
Views: 2398

Re: Markers

Hi coppelia,
how should be formatted the float inside the string in the ROS NODE in order to successfull communicate with a subscriber of the type "append_string_signal"?

I used UnpackFloats in the past and it was a little bit tricky!

Regards
formica
by formica
19 Dec 2013, 11:23
Forum: General questions
Topic: Particles meaning
Replies: 1
Views: 2068

Particles meaning

Hi Coppelia, in order to a deep understanding of the simulation I ask you: what do you exactly mean for "particles"? Why did you introduced this concept in the simulator? For example: to simulate a propeller doesn't be enough to apply a force/torque on a body (in function of the angular velocity)? H...