Commit graph

23 commits

Author SHA1 Message Date
96a137ad2f Simplify - remove duplicate command types in favor of a better defined Command type in proto 2020-07-10 00:12:54 +01:00
87af905bc8 Rename charge command to recharge 2020-07-04 22:56:58 +01:00
e875f82b13 Add command "charge" to charge up the rover's energy store 2020-07-04 22:42:20 +01:00
b116cdf291 Convert Atlas to infinite lazy growth
The atlas will now expand as needed for any query, but only initialise the chunk tile memory when requested

	While this may still be a pre-mature optimisation, it does simplify some code and ensures that our memory footprint stays small, for the most part
2020-06-27 14:48:21 +01:00
2f6465987d More de-scope - remove duration on move command
This isn't even needed, as commands can just be queued up
2020-06-26 22:26:27 +01:00
db3c2c2c2e De-scope, remove rover speed 2020-06-26 18:48:07 +01:00
7ee340e976 Move Rover position into main class 2020-06-26 18:22:37 +01:00
7ababb79f6 Migrate to gRPC rather than REST with swagger
Will also be adding in a RESTful endpoint to the server as well so it can consume both types
2020-06-12 22:51:18 +01:00
14c4e61660 Fix up gocritic issues 2020-06-10 12:34:04 +01:00
2ee68e74ac Enqueue the incoming commands at the next tick
This sync commands for all users and in the future will let you view which moves and commands are currently being executed
2020-06-09 20:44:25 +01:00
51fe918090 Split out maths functions into maths, vector and bearing 2020-06-09 18:08:07 +01:00
de94b39a50 Fix TestCommand_Move instability by increasing the size of the atlas 2020-06-08 23:39:13 +01:00
43588c0e4b Fix world spawning and radar
Also expand test coverage a little to ensure it's correct
2020-06-08 23:32:52 +01:00
43648926ca Large refactor to properly implement radar
/radar now returns a set of non-empty tile blips
2020-06-07 22:30:03 +01:00
5e1f9b0d31 Refactor rover attributes to add a name 2020-06-06 16:52:30 +01:00
573bfbf9c7 Add cron tick of command queue 2020-06-06 15:52:03 +01:00
0a0a32cf58 Implement a command queue on the world
Not currently executed
2020-06-06 14:44:59 +01:00
e3ce87e964 Simplify duplicate command types 2020-06-06 12:45:45 +01:00
be0f4f1aff Convert bearings to compass points and locations to int coords 2020-06-05 16:37:52 +01:00
6461b51c5c Fully implement the bearing based movement
Instant, and without limit, for now
2020-06-04 21:59:00 +01:00
0fbad15c01 Huge Instance -> Rover refactor, for clarification 2020-06-04 21:19:25 +01:00
33f25a7414 Prepare to refactor movement to be based on attributes 2020-06-04 18:54:33 +01:00
e5d5d123a6 Add the concept of commands to the world and executing them 2020-06-03 18:12:08 +01:00