Search found 10 matches

by Yehia Soliman
06 Mar 2021, 17:00
Forum: General questions
Topic: How to detect spotlight intensity by kilobot robot?
Replies: 1
Views: 451

How to detect spotlight intensity by kilobot robot?

Hello I added a spotlight object in the scene to measure the light intensity by the kilobot robot. when the robot was in the spotlight circle the value of kilobot ambient light equal zero. How can I get the kilobot to detect spotlight intensity or at least to change the recorded value when near/in t...
by Yehia Soliman
28 Jan 2020, 13:14
Forum: General questions
Topic: How to alignment two kilobot robots in the same direction?
Replies: 3
Views: 613

Re: How to alignment two kilobot robots in the same direction?

I want to align while the simulation is running but if you say the both ways, it will be fine.

Greetings
by Yehia Soliman
27 Jan 2020, 17:50
Forum: General questions
Topic: How to alignment two kilobot robots in the same direction?
Replies: 3
Views: 613

How to alignment two kilobot robots in the same direction?

Hello,

If I have two kilobot robots in experiment but each one in different direction. How to alignment these two kilobot robots in the same direction?
by Yehia Soliman
17 Jan 2020, 23:06
Forum: General questions
Topic: How to define global variable? (Kilobot robot)
Replies: 3
Views: 1225

Re: How to define global variable? (Kilobot robot)

Excuse me, can you give me an example, please? or where can I write the global variable that allow all kilobots child scripts see it?
by Yehia Soliman
17 Jan 2020, 14:09
Forum: General questions
Topic: How to define global variable? (Kilobot robot)
Replies: 3
Views: 1225

How to define global variable? (Kilobot robot)

Hi

how to define global variable where all kilobots robots scripts can see this variable in V-REP?

thanks in advance.
by Yehia Soliman
09 Oct 2019, 20:50
Forum: General questions
Topic: Expert in Kilobot robots using Lua language
Replies: 1
Views: 585

Re: Expert in Kilobot robots using Lua language

Dear Coppelia && fferri
Do you have a solution ?
by Yehia Soliman
08 Oct 2019, 23:03
Forum: General questions
Topic: Expert in Kilobot robots using Lua language
Replies: 1
Views: 585

Expert in Kilobot robots using Lua language

Hi I have low background about using Lua language and I have five kilobot robots for example (A-B-C-D and E)on VREP and I want to implement what in the below link photo to obtain value for each robot, like Robot(B) is equal = 5, Robot(A) is equal = 8, Robot(C) is equal = 8, Robot(D) is equal = 6 and...
by Yehia Soliman
25 Sep 2019, 16:09
Forum: General questions
Topic: How to get the kilobot robot with the lowest distance?
Replies: 7
Views: 1354

Re: How to get the kilobot robot with the lowest distance?

fferri wrote: 25 Sep 2019, 15:54 You can do whatever computation you want with the returned distances.
OK, could you tell me How to get the distance between R2 and R5? However R2 can't send and receive message to/from R5 because the maximum distance about 10cm for sensor!
by Yehia Soliman
25 Sep 2019, 15:29
Forum: General questions
Topic: How to get the kilobot robot with the lowest distance?
Replies: 7
Views: 1354

Re: How to get the kilobot robot with the lowest distance?

Dear fferri, the two functions (distance calculation module and sim.checkDistance) calculate distance between to objects but I assumed the distance equal one between any two robots so if you calculate manually you find. The R1 = 1+1+2+3 = 7 The R2 = 1+1+2+2 = 6 ===> is the lowest one The R3 = 1+2+3+...
by Yehia Soliman
25 Sep 2019, 14:44
Forum: General questions
Topic: How to get the kilobot robot with the lowest distance?
Replies: 7
Views: 1354

How to get the kilobot robot with the lowest distance?

Hey If I have four kilobots robots and I want to get the kilobot robot with the lowest distance between all kilobots robots. Is anyone know how to implement these robots to obtain the right result? Example:- R2------R1------R3 | | | R4 | | | R5 In this example the (R2) is the lowest distance to othe...