On how to use the camera:The problem I am facing here is to make the robot search for these cylinders. I know there is a "robot-omnidirectional-camera" but how can use this in Lua to see a cylinder and go near it.
The example is setup so that the robots use the camera to detect the cylinders. The trick is that red LEDs are placed on top of the cylinders, and these LEDs are detected by the camera. This way, if a robot sees a red blob with the camera, it readily knows that a cylinder is there. Refer also to the commandcan I be able to differentiate the approaching object, if it is a wall or another robot or a movable-cylinder using proximity sensor
Code: Select all
$ argos3 -q cylinder
No. As I have answered in a previous post, Lua is for robot controllers only. If you want to draw, you need to use C++ like it's shown in the existing examples.Can a circle be drawn on the Argos floor using Lua like it has been done in the forging example here.