Commit Graph

168 Commits

Author SHA1 Message Date
Danny Staple a4f71ef889 Be explicit about the value and tb parameters.
See https://github.com/adafruit/circuitpython/issues/7482
2023-01-24 22:38:38 +00:00
Danny Staple dd3fd206dc Add amended version of 4.3 with performance reporting and some fixes. 2023-01-22 22:56:12 +00:00
Danny Staple 172daae295 Base the boundary on tweakable values 2023-01-21 23:20:32 +00:00
Danny Staple 7208a9472f Another rewording 2023-01-21 20:04:14 +00:00
Danny Staple 7b894dd5a8 Simplify code wording 2023-01-21 20:00:43 +00:00
Danny Staple 2b720cedca This rename makes the code easier to type and read. 2023-01-21 19:54:31 +00:00
Danny Staple 2d785f90ec Leave utf-8 to be implicit. 2023-01-21 09:43:17 +00:00
Danny Staple 368b9ed361 Reviewer comment - Extend ax into axes. 2023-01-19 23:19:43 +00:00
Danny Staple fa67d9e21a Make a nicer error when the robot isn't found. 2023-01-19 23:12:21 +00:00
Danny Staple a509fa540c where did that come from 2023-01-19 23:07:32 +00:00
Danny Staple ccb94f4091 Add the device match check to find devices.
Leave the example only in the section it is used.
2023-01-19 23:04:02 +00:00
Danny Staple 7907a3fecf Rename folders as per suggestion from Rajat 2023-01-18 13:57:13 +00:00
Danny Staple a7e7d55d62 Time budget override not needed - 50 is default. 2023-01-18 13:41:59 +00:00
Danny Staple 2db7a0fe3c Chapter 13 reduction 2023-01-08 23:11:35 +00:00
Danny Staple 68cfd39a19 Organising the chapter 2023-01-08 22:54:13 +00:00
Danny Staple f7695b4290 Ch-11 make teh robot stop. 2023-01-05 21:49:49 +00:00
Danny Staple 9fa461fb2a Chapter 12 TR 2023-01-04 23:11:28 +00:00
Danny Staple fe92edb605 Propagate the send_line change down 2023-01-04 22:50:25 +00:00
Danny Staple 9e39796cf2 Chapter 11 TR 2023-01-03 22:05:12 +00:00
Danny Staple dd22da9d3d Error handling. Simpler prints. 2023-01-03 21:40:11 +00:00
Danny Staple a9072b523e PID controller for TR11 matches text. 2023-01-02 13:18:25 +00:00
Danny Staple d56b89787e Simplify 2023-01-02 12:26:53 +00:00
Danny Staple 92e3f85094 TR-11 Swapping out G command. Making line sending more compact 2023-01-02 12:04:49 +00:00
Danny Staple a137464ced Clear up old versions 2022-12-28 20:50:51 +00:00
Danny Staple d168b2664d We now have the distance sensor full code working 2022-12-28 20:49:55 +00:00
Danny Staple 6ebb615044 Making the numbers match topic numbers 2022-12-28 18:44:53 +00:00
Danny Staple 6e8606fbeb Make the example numbering consistent 2022-12-28 18:40:46 +00:00
Danny Staple 180bc33561 Add section 3.1 - generating weights and resampling 2022-12-28 18:38:06 +00:00
Danny Staple b47fa45a20 Another removed example 2022-12-28 16:52:40 +00:00
Danny Staple 2923c6e125 Remove examples we have replaced. 2022-12-28 16:52:27 +00:00
Danny Staple 44509f515b Stop teh collision avoider task - so the robot stops moving on error. 2022-12-28 16:52:08 +00:00
Danny Staple 6535128a06 Movement with uncertainty 2022-12-28 13:26:38 +00:00
Danny Staple c87ef96477 Move the computer folder up - a bit easier to manage.
Integrate fixes found in earlier examples.
2022-12-28 11:27:16 +00:00
Danny Staple 9cff9fe1f1 Rename this. Also break down the apply method. 2022-12-28 11:26:40 +00:00
Danny Staple 584e189cd1 Encoder based pose movement. 2022-12-23 21:28:58 +00:00
Danny Staple 411baece11 More unwatned repeat busio imports 2022-12-23 10:52:38 +00:00
Danny Staple 661edf9133 Remove the extra busio import 2022-12-23 10:51:20 +00:00
Danny Staple 1ed91022ae Collision avoidance section ready 2022-12-22 10:44:25 +00:00
Danny Staple c14c83e286 Displaying a pose written up. 2022-12-21 14:16:37 +00:00
Danny Staple 752c298f8d Examples firmed up for first section. 2022-12-21 13:23:44 +00:00
Danny Staple 66738da6d9 Resampling and angle calculation fixes. 2022-12-18 15:06:45 +00:00
Danny Staple d896e2a80a Ch13 current state 2022-12-17 20:27:39 +00:00
Danny Staple 45ba981386 Ch-10 TR feedback 2022-12-17 16:05:25 +00:00
Danny Staple b2228889e8 Beam endpoint works. 2022-12-14 23:54:31 +00:00
Danny Staple f57add5106 Instrumented version - to look at timings
Including:
- replacing guassian with simpler triangle distribution
- Timing calculations -resulting in using only 50 points.
- Changes (which may need to be reconsidered) for optimization. These are likely to be simplified back.
2022-12-11 20:44:50 +00:00
Danny Staple 46daf66024 Fixes - found the heading was incorrect.
Make the loops tighter.
Remove some debug output.
Simplify the collision avoidance.
2022-12-06 21:58:22 +00:00
Danny Staple 389f2f768a Display working. Sensors starting to work.
Clusters are forming.
2022-12-06 21:32:47 +00:00
Danny Staple d3e128e010 Bugfixing monte carlo 2022-12-06 13:53:57 +00:00
Danny Staple 9b98bd4db7 Remember to eliminate points outside the arena 2022-12-06 08:48:07 +00:00
Danny Staple 543f4f3f0b Try again - using resampling and weighted observation model 2022-12-05 22:27:51 +00:00