Search found 41 matches

Go to advanced search

by Elendurwen
Wed Aug 22, 2018 1:45 pm
Forum: How to... ?
Topic: Understanding the way noise is applied to sensors
Replies: 2
Views: 4356

Re: Understanding the way noise is applied to sensors

Thanks for your answer. So are you basically saying, that with a real robot, you are: a) more likely to have a small error on distance measurement, rather than a big error (thus Gaussian error) b) as likely to have a small error on angle as a large error? (thus uniform distribution) It seems odd to ...
by Elendurwen
Wed Jul 11, 2018 11:46 am
Forum: How to... ?
Topic: Understanding the way noise is applied to sensors
Replies: 2
Views: 4356

Understanding the way noise is applied to sensors

Hi, I am using the blob omnidirectional camera of footbot. I want to add noise to the simulation using the noise_std_dev XML attribute. I am struggling to understand the way in which noise is added. I found this code in colored_blob_omnidirectional_camera_rotzonly_sensor.cpp: /* If noise was setup, ...
by Elendurwen
Wed Jun 06, 2018 4:30 pm
Forum: Bugs
Topic: Distributing lights doesn't work
Replies: 3
Views: 7757

Re: Distributing lights doesn't work

Done
by Elendurwen
Wed Jun 06, 2018 2:33 pm
Forum: Bugs
Topic: Distributing lights doesn't work
Replies: 3
Views: 7757

Distributing lights doesn't work

I am trying to use the distribute tag in order to randomly placed some lights: <distribute> <position method="uniform" min="-2,-2,0" max="2,2,0" /> <orientation method="uniform" min="0,0,0" max="360,0,0" /> <entity quantity="5" max_trials="100"> <light id="wallLight" color="yellow" intensity="1.0" m...
by Elendurwen
Fri May 25, 2018 11:21 am
Forum: How to... ?
Topic: Add entities programatically into a prototype
Replies: 6
Views: 6942

Re: Add entities programatically into a prototype

After playing with this for a while, I found that you can add LEDs programatically to a prototype via prototypeEntity.GetLEDEquippedEntity().AddLED(CVector3(-0.1,-0.5,0), prototypeEntity.GetEmbodiedEntity().GetAnchor("base"), CColor::RED); However, LEDs added programatically are NOT picked up by the...
by Elendurwen
Wed May 23, 2018 8:17 am
Forum: How to... ?
Topic: Add entities programatically into a prototype
Replies: 6
Views: 6942

Re: Add entities programatically into a prototype

Hi,

the reason I need to attach CLights programatically is that in my experiment, there is simply too many different objects with different lights. Is there no way to do this in ARGoS?

Can CLEDEntity be attached to a prototype programatically?
by Elendurwen
Tue May 22, 2018 4:04 pm
Forum: How to... ?
Topic: Add entities programatically into a prototype
Replies: 6
Views: 6942

Re: Add entities programatically into a prototype

Yes, that is right, I am trying to add a CLight entity (the led entities on a prototype do not seem to be readable by footbot's blobl detection camera).

I do not necessarily need to use prototypes. So I guess my question then is, how do you attach CLights to any object (say a simple box) properly?
by Elendurwen
Tue May 22, 2018 2:57 pm
Forum: How to... ?
Topic: Add entities programatically into a prototype
Replies: 6
Views: 6942

Add entities programatically into a prototype

Hi, I am trying to attach LED entities to a prototype entity. The prototype entity is specified in the .argos file as a box and a loop function should get all prototype entities, and attach LEDs to them so that when a prototype moves, the LED moves with it. The code I currently have a) doesn't attac...
by Elendurwen
Mon May 21, 2018 2:23 pm
Forum: How to... ?
Topic: Creating a custom widget / ui window
Replies: 2
Views: 4548

Re: Creating a custom widget / ui window

Thanks Carlo, for now I dumped QTPainter methods into QTLoopFunctions::DrawOverlay(QPainter& c_painter) in order to draw a simple overlay with text.

But I will look into the Lua editor example to see how I could also make a new "window".

Lenka
by Elendurwen
Wed Apr 11, 2018 3:57 pm
Forum: How to... ?
Topic: Creating a custom widget / ui window
Replies: 2
Views: 4548

Creating a custom widget / ui window

Hi, I would like to add a window with some qt elements, like circles, text, etc. to the argos window. Ideally, this window would show up when a robot is clicked, and let user know which robot has been clicked (display a robot id or similar). How could I achieve this? I have started with putting the ...

Go to advanced search



cron