Search found 175 matches

by fferri
09 Jul 2018, 10:56
Forum: General questions
Topic: python / bluezero
Replies: 5
Views: 97

Re: python / bluezero

It seems b0_subscriber_poll has been recently added to the python bindings (see commit 77bfd9f9).

So you'll need to get the latest source code from the bluezero git repository.
by fferri
05 Jun 2018, 08:23
Forum: General questions
Topic: bulldozer on a plane
Replies: 4
Views: 147

Re: bulldozer on a plane

It can be changed from Material properties.
by fferri
02 Jun 2018, 19:15
Forum: General questions
Topic: Bitwise shift and logical operators in Lua script inside V-REP v3.4
Replies: 1
Views: 80

Re: Bitwise shift and logical operators in Lua script inside V-REP v3.4

A left shift by n bits is equivalent to multiplying the number by 2^n.
The resulting numbers have zeros in their lower bits, so you can replace | with +.

Code: Select all

rgb = r * 65536 + g * 256 + b
Also make sure that r, g, and b are in the valid range of 0..255
by fferri
02 Jun 2018, 11:25
Forum: General questions
Topic: Increasing length of console log
Replies: 3
Views: 96

Re: Increasing length of console log

The number of lines that are kept as scrollback buffer it does not depend by V-REP, it's a setting in your terminal application.

The latest release (3.5.1) has some utility functions (print, printf) that are able to print tables contents.
by fferri
31 May 2018, 17:42
Forum: General questions
Topic: How to Implement a new ROS topic type?
Replies: 17
Views: 8051

Re: How to Implement a new ROS topic type?

After editing meta/messages.txt you have to recompile the plugin successfully (make sure to follow the README , and install the new library file (called libv_repExtRosInterface.so, or .dll, or .dylib) into the same directory where the vrep executable is located (on MacOS that would be inside the app...
by fferri
29 May 2018, 22:54
Forum: General questions
Topic: In threaded child script call another child script to run again
Replies: 5
Views: 123

Re: In threaded child script call another child script to run again

you can consider setting a boolean signal to true from the robot script, that will trigger obstacle detection in the sensor's script i.e. you repeatedly check if this signal value is true and if so start the computation, and set the signal value back to false after that
by fferri
29 May 2018, 18:38
Forum: General questions
Topic: In threaded child script call another child script to run again
Replies: 5
Views: 123

Re: In threaded child script call another child script to run again

how would you identify when the robot has to stop?

do you repeatedly check if the robot's position is close to some landmark (i.e. their distance is below some threshold)?
by fferri
29 May 2018, 14:45
Forum: General questions
Topic: How to get the 3D point cloud of a scene from Kinect
Replies: 9
Views: 264

Re: How to get the 3D point cloud of a scene from Kinect

You can combine 3D points with color information, by accessing image pixel at similar index. Note that it's not the depth frame size that matters, but the x/y point count specified in the "Extract coordinates" filter in the depth sensor filter pipeline. Anyway, you don't need a matching size, but yo...