Search found 15 matches

Go to advanced search

by emerckx
Tue Oct 25, 2016 10:10 pm
Forum: How to... ?
Topic: Get values omni directional camera in Lua
Replies: 7
Views: 13358

Re: Get values omni directional camera in Lua

Hello Carlo,

Thank you very much, it works now :D
However, I had to start with i = 1, because robot.colored_blob_omnidirectional_camera[0] doesn't seem to be defined.

Sincerely yours,
Ewout Merckx
by emerckx
Mon Oct 24, 2016 10:55 pm
Forum: How to... ?
Topic: Get values omni directional camera in Lua
Replies: 7
Views: 13358

Re: Get values omni directional camera in Lua

Hello Carlo,

When copying the example, I noticed that the color value was causing problems.
So it seems partly fixed, however the color still doesn't appear on the screen...

Sincerely yours,
Ewout Merckx
by emerckx
Mon Oct 24, 2016 10:10 pm
Forum: How to... ?
Topic: Get values omni directional camera in Lua
Replies: 7
Views: 13358

Re: Get values omni directional camera in Lua

Hello Carlo,

Unfortunately, your solution doesn't work for me.
The output still doesn't appear on the screen.

The version of ARGoS that I'm currently using is 3.0.0-beta41.
Might that be the cause?

Sincerely yours,
Ewout Merckx
by emerckx
Thu Oct 20, 2016 11:06 pm
Forum: How to... ?
Topic: Get values omni directional camera in Lua
Replies: 7
Views: 13358

Get values omni directional camera in Lua

Hello all, I'm coding my foot-bot controller in Lua, and I'm trying to get the readings from the omnidirectional camera of the foot-bot. I'm able to get the table (= the readings), but I'm unable to iterate over it. You can view this in the code below. function init() robot.colored_blob_omnidirectio...
by emerckx
Sat May 28, 2016 3:39 pm
Forum: How to... ?
Topic: Perspective camera eye-bot
Replies: 6
Views: 12108

Re: Perspective camera eye-bot

Hello Carlo, Apparently I didn't call the method... :? So I added a call to the method, as you can see in the code below, and now it works! :D m_pcCamera = GetSensor<CCI_ColoredBlobPerspectiveCameraSensor>("colored_blob_perspective_camera"); m_pcCamera->Enable(); Thank you so very much Car...
by emerckx
Thu May 26, 2016 10:57 pm
Forum: How to... ?
Topic: Rotate the camera's sight (without interaction)
Replies: 3
Views: 7704

Re: Rotate the camera's sight (without interaction)

Hello Carlo, Thank you for the solution, it works. I've added some random number numbers after the decimal point, to obtain the slight rotation. The used values can be seen in the code below. <placement idx="0" position="1.9243,0.0426,1.9041" look_at="0.0314,-0.0028,1.0041&q...
by emerckx
Thu May 26, 2016 10:41 pm
Forum: How to... ?
Topic: Altitude sensor eye-bot
Replies: 4
Views: 9613

Re: Altitude sensor eye-bot

Hello Carlo, In the experiment that I'm implementing, an eye-bot is flying around in the arena. But when it encounters an obstacle (a box, a cylinder, a self implemented sphere, ...), the eye-bot needs to ascend in the z-direction to go over the object. After that, the eye-bot goes forward to pass t...
by emerckx
Thu May 26, 2016 10:03 pm
Forum: How to... ?
Topic: Perspective camera eye-bot
Replies: 6
Views: 12108

Re: Perspective camera eye-bot

Hello Carlo,

I've added the (simplified) .argos file in the attached compressed file.

Sincerely yours,
Ewout Merckx
by emerckx
Thu May 26, 2016 7:05 pm
Forum: How to... ?
Topic: Perspective camera eye-bot
Replies: 6
Views: 12108

Re: Perspective camera eye-bot

Hello Carlo,

I've also tested it with lights, but still the readings remain empty...

In the picture below you can see the previous experiment, but now lights were added.
I have also tried to add lights of different colors, but got no result.
frame_00111.png
frame_00111.png (20.93 KiB) Viewed 12104 times
Sincerely yours,
Ewout merckx
by emerckx
Thu May 26, 2016 6:59 pm
Forum: How to... ?
Topic: Altitude sensor eye-bot
Replies: 4
Views: 9613

Re: Altitude sensor eye-bot

Hello Carlo,

Thank you for the quick reply.
We will figure something out then, because we want to know how much the eye-bot can decline before he's landed on an object.

Sincerely yours,
Ewout Merckx

Go to advanced search