Search found 6 matches

Go to advanced search

by germanpatt
Tue Aug 09, 2022 6:32 pm
Forum: How to... ?
Topic: moving objects
Replies: 4
Views: 24826

Re: moving objects

hi again, it seems that in my experiment, cylinders (also tried boxes) are treated as unmovable objects even though I declare them to be movable. the kilobot collides with them and reorients according to the bot's random behavior the experiment file is as follows: <?xml version="1.0" ?> <a...
by germanpatt
Mon Aug 08, 2022 6:24 pm
Forum: How to... ?
Topic: moving objects
Replies: 4
Views: 24826

moving objects

hello pincy, how are you?

is there an easy way to make kilobot push movable cylinders?

thank you in advance!
by germanpatt
Thu Jul 14, 2022 7:36 pm
Forum: How to... ?
Topic: track KB center
Replies: 6
Views: 29316

Re: track KB center

using KILOBOT_ECCENTRICITY and cZAngle.GetValue() solves the centre problem: x = x + KILOBOT_ECCENTRICITY*cos(cZAngle.GetValue()) y = y + KILOBOT_ECCENTRICITY*sin(cZAngle.GetValue()) i am not sure how to fix the communication issue. if commAnchor is not located at the centre of the bot, the communic...
by germanpatt
Thu Jul 14, 2022 12:44 pm
Forum: How to... ?
Topic: track KB center
Replies: 6
Views: 29316

Re: track KB center

hi again, i found this in KilobotEntity. maybe i can save orientations too a make the calculations to get the center position
thank you!
by germanpatt
Thu Jul 14, 2022 1:28 am
Forum: How to... ?
Topic: track KB center
Replies: 6
Views: 29316

Re: track KB center

hi pincy, thanks for your quick response I understand what you say, and the code looks right but, for example, when the kilobots are placed in the arena, it seems that the relevant position is the led. you can see this in Figs.1 and 2 (grid distribution with the same orientations) and Figs. 3 and 4 ...
by germanpatt
Wed Jul 13, 2022 7:07 pm
Forum: How to... ?
Topic: track KB center
Replies: 6
Views: 29316

track KB center

hi there, i would like to track the positions of the centres of kilbots, but i think that what is saving is an off-centre coordinate (maybe the led position) I also found that the communications rays are not from centre to centre but from led to led. is it correct? my tracking function is as follows...

Go to advanced search