56 Commits

Author SHA1 Message Date
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
Danny Staple
41ef282cd7 Remove embelishments 2022-11-13 19:11:40 +00:00
Danny Staple
f6f7e0f2eb Sensor movement of poses 2022-11-13 19:11:20 +00:00
Danny Staple
be73bc3dc3 Improve serial handling - make similar to other examples. 2022-11-13 19:11:04 +00:00
Danny Staple
d3e380ba5f Reduce embellishments 2022-11-13 19:10:03 +00:00
Danny Staple
1d31bee775 Make a little robust with lessons learned later 2022-11-13 18:46:59 +00:00
Danny Staple
e444040b86 The robot moves - not sure the arrows face the right way. 2022-11-10 22:25:09 +00:00
Danny Staple
80076b24bf No longer using this example 2022-11-10 21:50:14 +00:00
Danny Staple
5d25b86732 This can display poses from the robot 2022-11-10 21:50:00 +00:00
Danny Staple
2f3e4193b9 Update for modelling - remove what we don't yet need. 2022-11-10 21:49:43 +00:00
Danny Staple
5a951d3b64 Further simplify for this example 2022-11-03 22:55:02 +00:00
Danny Staple
8e8783d9b2 Further ways to simplify code 2022-11-03 22:13:48 +00:00
Danny Staple
0a8a86960d Do this without the asyncio with. 2022-11-03 16:34:28 +00:00
Danny Staple
d03c48bf8d Simplify a little 2022-11-03 16:24:51 +00:00
Danny Staple
601d0de7dd Fix up the poetry dependancies 2022-11-03 14:28:32 +00:00