Commit Graph

70 Commits

Author SHA1 Message Date
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 fe92edb605 Propagate the send_line change down 2023-01-04 22:50:25 +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 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 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
Danny Staple bac9e4b69c Current state - before further changes 2022-12-04 19:03:49 +00:00
Danny Staple 38e26f9bb9 Move this to 7 - it was closer to that example.
Some further fixes - and an experiment.
2022-11-22 22:19:25 +00:00
Danny Staple 579ed7632b Generate the image shown in this section 2022-11-22 13:15:32 +00:00
Danny Staple bcf9586c5c These sections need testing 2022-11-22 13:15:10 +00:00
Danny Staple fc7ceec136 Test code to reproduce issue seen with newlines 2022-11-22 13:14:49 +00:00
Danny Staple 5a8ea3cd87 try an "all in on numpy" version 2022-11-22 13:14:35 +00:00
Danny Staple 97018fc119 Refinements - ensure gca/gcf are gone. 2022-11-16 22:44:25 +00:00
Danny Staple 66a49b4ec3 Refining the distance sensor part. 2022-11-15 22:48:59 +00:00
Danny Staple 2c91a42160 Using GCA and GCF causes weird stuff to happen when buttons are added. 2022-11-15 22:34:17 +00:00
Danny Staple 1cfd93887b Start on eliminating poses 2022-11-15 21:25:07 +00:00
Danny Staple 605b0afa9b Put into a function.
break down the
large function
2022-11-15 21:24:59 +00:00
Danny Staple 02c1f81756 More removing embelishments 2022-11-13 20:44:15 +00:00
Danny Staple d2264f4421 Simplify the ble connection a little 2022-11-13 19:21:55 +00:00
Danny Staple d1aa653e1b Make robust 2022-11-13 19:11:50 +00:00