If I create a drone at (3,3,0) for example, and call SetTargetPosition() with (5,4,0), and then wait, the drone does not go to that location. Instead, it goes to ~(3,10,0). The code doesn't have any documentation, but I think SetTargetPosition() is relative to where the drone was created at, from reading the Lua docs. But that's not right either, because then the drone should end up at (8,7,0), which it doesn't. What's the correct behavior here, and does the code implement it?
While this is my immediate issue with using the drone, there are others:
- Other robots have a constructor which takes the ID and the controller ID as the first two arguments, and the drone does not, so you can't change what it is looking for the controller as, as far as I can tell. This also makes it difficult to create new robots appropriately in the loop functions.
- You can't construct a drone at an arbitrary location in the arena, which you can do with other robots (I use this ability a lot for other robots).
- There are no C++ (or even Lua) examples to look at in argos3-examples. There is the README in the ARGoS source, but that only has Lua snippets.
I was able to patch the drone and add a new constructor which allows me to create drones. I would be happy to create the lacking examples, but I can't figure out how to use it to the point where I could create some :-(.
Overall, my experience thus far trying to use the drone is much different than the other robots, which worked as I expected out of the box. It seems much less mature, and marking it as "usable" like the foot-bot doesn't seem right, because of the issues above. Maybe "beta" would be better?
If I create a drone at (3,3,0) for example, and call
SetTargetPosition()with(5,4,0), and then wait, the drone does not go to that location. Instead, it goes to ~(3,10,0). The code doesn't have any documentation, but I thinkSetTargetPosition()is relative to where the drone was created at, from reading the Lua docs. But that's not right either, because then the drone should end up at(8,7,0), which it doesn't. What's the correct behavior here, and does the code implement it?While this is my immediate issue with using the drone, there are others:
I was able to patch the drone and add a new constructor which allows me to create drones. I would be happy to create the lacking examples, but I can't figure out how to use it to the point where I could create some :-(.
Overall, my experience thus far trying to use the drone is much different than the other robots, which worked as I expected out of the box. It seems much less mature, and marking it as "usable" like the foot-bot doesn't seem right, because of the issues above. Maybe "beta" would be better?