Search found 440 matches

by fferri
12 Dec 2019, 11:11
Forum: General questions
Topic: Streaming video from vision sensor/camera of Vrep to a remote device
Replies: 4
Views: 45

Re: Streaming video from vision sensor/camera of Vrep to a remote device

However consider this: If you are transmitting uncompressed images, UDP is probably a bad idea anyway, especially if anything wireless is involved. A 640x480 image with RGBA color amounts to 1.2M data. Assuming a frame size of 1500 bytes per packet, you have to transmit about 820 packets per image. ...
by fferri
12 Dec 2019, 11:05
Forum: General questions
Topic: Streaming video from vision sensor/camera of Vrep to a remote device
Replies: 4
Views: 45

Re: Streaming video from vision sensor/camera of Vrep to a remote device

I think the latency is caused by the TCP transport.

ROS also supports UDP transport (see the ros::TransportHints class). With a small change in the ROS plugin you can enable that.
by fferri
12 Dec 2019, 11:00
Forum: General questions
Topic: trying c++ hello world program on the youbot model in Vrep
Replies: 3
Views: 30

Re: trying c++ hello world program on the youbot model in Vrep

To program V-REP in C++ you have two options:
  • write a plugin (code runs in the same process)
  • use the remote API (code runs in another process)
by fferri
12 Dec 2019, 10:44
Forum: General questions
Topic: trying c++ hello world program on the youbot model in Vrep
Replies: 3
Views: 30

Re: trying c++ hello world program on the youbot model in Vrep

No, the robot model can be used with the V-REP API (e.g. setting joint target positions, moving ik target, etc...).
If you want to simulate the YouBot's C++ API you would need to write that layer to interface with the V-REP API.
by fferri
11 Dec 2019, 21:29
Forum: General questions
Topic: Streaming video from vision sensor/camera of Vrep to a remote device
Replies: 4
Views: 45

Re: Streaming video from vision sensor/camera of Vrep to a remote device

If possible, using ROS, ROS2 or BlueZero can simplify things a little bit, as you won't have to deal with sockets but with a higher level abstraction.
by fferri
11 Dec 2019, 21:22
Forum: General questions
Topic: Issue with Physics engines.
Replies: 2
Views: 58

Re: Issue with Physics engines.

Make sure to respect all the design considerations from Designing Dynamic Simulations.
by fferri
10 Dec 2019, 12:24
Forum: General questions
Topic: Accessing to the shape triangle minimizing distance in the distance calculation module
Replies: 1
Views: 36

Re: Accessing to the shape triangle minimizing distance in the distance calculation module

It is not available in the CoppeliaSim regular API.

But it is available in the coppeliaGeometricRoutines library, so you should be able to use that in a CoppeliaSim plugin.
by fferri
06 Dec 2019, 20:25
Forum: General questions
Topic: Mass-Spring-Damper system
Replies: 4
Views: 90

Re: Mass-Spring-Damper system

You should be able to set a joint mass/spring mode via the joint dynamics properties, where you can directly specify the spring constant K and the damping coefficient C.
by fferri
03 Dec 2019, 11:46
Forum: General questions
Topic: How to do distance measurement between two dynamic objects
Replies: 3
Views: 107

Re: How to do distance measurement between two dynamic objects

Hi,

the documentation of sim.readDistance looks about right to me: smallestDistance is already in the Lua return values section. C return values applies only to C/C++ API, not to Lua scripts.