Commit Graph

162 Commits

Author SHA1 Message Date
MayaTheShy
882dc75762 feat: Add state management and modes for turtle commands in Pocket Computer 2026-02-20 01:59:37 -05:00
MayaTheShy
4c774ac306 feat: Enhance turtle command handling with legacy support and eval response endpoints 2026-02-20 01:57:09 -05:00
MayaTheShy
e38551dfc2 feat: Update command polling endpoint to support combined eval and legacy commands for turtles 2026-02-20 01:54:59 -05:00
MayaTheShy
87c103ea9e feat: Update WebSocket handling for turtle commands and status updates, transitioning to Turtle instance methods for state management 2026-02-20 01:54:43 -05:00
MayaTheShy
836e7b61c7 feat: Enhance turtle instance management with improved state handling and event forwarding 2026-02-20 01:54:15 -05:00
MayaTheShy
f8baadce3a feat: Implement eval command protocol and response handling in web bridge 2026-02-20 01:53:43 -05:00
MayaTheShy
a5aec5800e Refactor turtle.lua for v4: Implement eval/response protocol, streamline state management, enhance GPS and movement functions, and improve command handling. 2026-02-20 01:50:55 -05:00
MayaTheShy
0e41ee12c5 feat: Add Turtle class to manage state machine and command execution for server-side turtles 2026-02-20 01:46:39 -05:00
MayaTheShy
bdc4dade9f feat: Implement RefuelingState class for turtle state machine to manage fuel replenishment 2026-02-20 01:46:09 -05:00
MayaTheShy
e8ef1d669b feat: Implement MiningState class for turtle state machine to autonomously mine and explore 2026-02-20 01:46:05 -05:00
MayaTheShy
3dfc4237c6 feat: Add index.js to export state classes for turtle state machine 2026-02-20 01:46:01 -05:00
MayaTheShy
1492f59de7 feat: Implement GoHomeState class for turtle state machine to navigate back to home position 2026-02-20 01:45:57 -05:00
MayaTheShy
d2185ac493 feat: Implement FarmingState class for turtle state machine to automate farming operations 2026-02-20 01:45:46 -05:00
MayaTheShy
fa98e86055 feat: Implement ExploringState class for turtle state machine to autonomously explore and discover the world map 2026-02-20 01:45:39 -05:00
MayaTheShy
1b08777f88 feat: Implement DumpInventoryState class for turtle state machine to manage inventory dumping 2026-02-20 01:45:29 -05:00
MayaTheShy
68d4ee52c9 feat: Implement MovingState class for turtle state machine to navigate to target positions 2026-02-20 01:42:16 -05:00
MayaTheShy
6f73fdd0ed feat: Implement IdleState class for turtle state machine to handle idle behavior 2026-02-20 01:42:06 -05:00
MayaTheShy
0f22c8e49b feat: Add BaseState class for turtle state machine with async generator support 2026-02-20 01:41:58 -05:00
MayaTheShy
9796f73e64 feat: Implement PriorityQueue class for D* Lite pathfinding with min-heap functionality 2026-02-20 01:41:01 -05:00
MayaTheShy
6da90fc560 feat: Add pathfinding module exports for Point, Node, PriorityQueue, and DStarLite 2026-02-20 01:40:53 -05:00
MayaTheShy
afc4c1f97a feat: Implement D* Lite pathfinding algorithm with node management and dynamic replanning 2026-02-20 01:40:48 -05:00
MayaTheShy
9a294f0c98 feat: Add Point class to represent 3D coordinates with distance calculations and neighbor retrieval 2026-02-20 01:40:39 -05:00
MayaTheShy
1f803fbde6 feat: Implement Node class for D* Lite pathfinding algorithm with traversal cost calculation 2026-02-20 01:40:32 -05:00
MayaTheShy
207f6901d6 fix: Update mining stats and top miners endpoints to return structured data for single and multiple turtles 2026-02-20 01:32:35 -05:00
MayaTheShy
d2e0deb945 fix: Add UNIQUE constraint to mining blocks table for turtle_id, block_type, and session_start 2026-02-20 01:32:01 -05:00
MayaTheShy
9fd9180087 fix: Update loadTasks function to handle server responses with flat arrays or single task objects 2026-02-20 01:31:56 -05:00
MayaTheShy
558fb92c41 fix: Update miningStats and topMiners loading logic to handle single object responses and ensure correct state setting 2026-02-20 01:31:49 -05:00
MayaTheShy
bd68a79cd5 feat: Enhance PathRecorder component; implement path playback functionality and improve path loading logic 2026-02-20 01:31:45 -05:00
MayaTheShy
f0afbca74b fix: Handle server response for mining areas; ensure areas state is set correctly for non-array responses 2026-02-20 01:31:40 -05:00
MayaTheShy
35c76cbdca fix: Ensure groups state is set correctly by handling non-array responses in loadGroups function 2026-02-20 01:31:36 -05:00
MayaTheShy
7a3b30bbbf feat: Enhance mining area API; add formatting helper, support for multiple input formats, and new endpoints for updating and deleting areas 2026-02-20 01:29:29 -05:00
MayaTheShy
d7433b8bcc feat: Enhance path and task management APIs; add detailed responses and optional filters 2026-02-20 01:29:03 -05:00
MayaTheShy
3c0f72acf1 feat: Enhance database functions for turtle paths and mining areas; add support for optional parameters and improve data handling 2026-02-20 01:28:54 -05:00
MayaTheShy
75b2088b4f feat: Update API and WebSocket URLs to use environment variables for better configuration 2026-02-20 01:28:41 -05:00
MayaTheShy
0eac9497de feat: Implement block discovery endpoint and update worldBlocks state on discovery 2026-02-20 01:23:05 -05:00
MayaTheShy
855874576d fix: Update turtle state references to use mode instead; adjust command transmission channels 2026-02-20 01:22:58 -05:00
MayaTheShy
0c925036d9 feat: Add action buttons for turtle commands in control mode 2026-02-20 01:22:51 -05:00
MayaTheShy
68e21d9c82 feat: Update installation instructions in README; add auto-update system details and wireless control interface 2026-02-20 01:15:37 -05:00
MayaTheShy
1cccfb5baa feat: Update README for Docker installation; add setup instructions and commands 2026-02-20 01:13:07 -05:00
MayaTheShy
4bd999d394 feat: Forward discovered blocks to server; log block details and handle errors 2026-02-20 01:06:09 -05:00
MayaTheShy
8d66ef637e feat: Implement comprehensive block scanning; report discovered blocks to server 2026-02-20 01:05:18 -05:00
MayaTheShy
5a4fd000fe feat: Enhance debugging output; log open channels and modem messages in the main event loop 2026-02-20 01:00:01 -05:00
MayaTheShy
86250deba3 feat: Improve command processing output; list command names instead of serializing the commands table 2026-02-20 00:59:19 -05:00
MayaTheShy
b1d68565cd feat: Enhance message logging in webbridge; add detailed output for received status updates and turtle tracking 2026-02-20 00:56:03 -05:00
MayaTheShy
922e6ab25d feat: Enhance status broadcasting in turtle; include additional logging for better visibility 2026-02-20 00:55:56 -05:00
MayaTheShy
5b23ab1a14 feat: Enhance logging for modem communication in turtle and webbridge; improve command transmission feedback 2026-02-20 00:52:35 -05:00
MayaTheShy
5fb8ddf68e feat: Improve command handling for turtles; clean up old commands and enhance logging 2026-02-20 00:48:24 -05:00
MayaTheShy
91918bd124 feat: Enhance command processing feedback in turtle; improve sleep duration for command acknowledgment in webbridge 2026-02-20 00:48:19 -05:00
MayaTheShy
8d43c0dc99 feat: Redesign TurtleModel with enhanced shell, head, and leg details; add LED indicators and ambient glow 2026-02-20 00:36:19 -05:00
MayaTheShy
6b45682fac feat: Adjust turtle rotation logic for Three.js to correctly align based on facing direction 2026-02-20 00:35:21 -05:00