Search found 4 matches

Go to advanced search

by LordJops
Sat Sep 12, 2020 7:18 pm
Forum: How to... ?
Topic: Getting robots coordinates in lua
Replies: 5
Views: 14777

Re: Getting robots coordinates in lua

i had my colleague run my code and he had no error, it seems i have a corrupt Lua installation or something is missing from my machine, i tried to reinstall Lua or add some feature from package manager but nothing worked, and at the current time i can't waste time reinstalling Argos from scratch. an...
by LordJops
Sat Sep 12, 2020 8:41 am
Forum: How to... ?
Topic: Getting robots coordinates in lua
Replies: 5
Views: 14777

Re: Getting robots coordinates in lua

i ran into a problem, when i add that line in sensors in the .argos file, i get an error saying i'm trying to index a nil value [INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_pointmass3d.so" [INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_epuck.so&qu...
by LordJops
Fri Sep 11, 2020 8:15 pm
Forum: How to... ?
Topic: Getting robots coordinates in lua
Replies: 5
Views: 14777

Re: Getting robots coordinates in lua

I found the solution in an old forum post from 2015 and here is Mr pincy's answer if anyone need it in the future: add the positioning sensor in the .argos file (check out argos3 -q positioning for details). Then you can access the data from Lua in the tables robot.positioning.position and robot.pos...
by LordJops
Fri Sep 11, 2020 1:06 am
Forum: How to... ?
Topic: Getting robots coordinates in lua
Replies: 5
Views: 14777

Getting robots coordinates in lua

Hello, i'm a beginner in argos and i may have missed it, i need to collect fotbots positions (x and y coordinates) for my aggregation algorithm so i can use them to calculate the surface and other metrics is there a way to get the positions of fotbots in lua? any other ideas are welcomed. i have ano...

Go to advanced search