124 Commits

Author SHA1 Message Date
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
Danny Staple
be368a6644 Chapter 13 modelling space initial. 2022-11-03 14:16:08 +00:00
Danny Staple
1b8533b459 Know turn behaviour for chapter 12. 2022-10-09 22:33:18 +01:00
Danny Staple
07f3f3c96e Add the updated robot CAD files.
Add the always face north behaviour code.
2022-10-09 16:57:21 +01:00
Danny Staple
88924b38db Ch-12 code to calibrate the sensor 2022-10-09 16:41:00 +01:00
Danny Staple
f6517eda44 Ch-8 connect to sensor code 2022-10-09 16:39:50 +01:00
Danny Staple
3be25e15b0 Tidy up. Remove that handler - circuitpy will stop motors anyway. 2022-09-11 21:30:37 +01:00
Danny Staple
3c47ff9874 Current chapter 11 2022-09-11 20:26:45 +01:00
Danny Staple
df1d67e42d Current state of experiments 2022-09-05 11:08:03 +01:00
Carol Staple
d7ba881234 Current ch-11 state 2022-09-02 18:48:10 +01:00
Danny Staple
b0db885480 Working speed control 2022-08-28 20:39:32 +01:00
Danny Staple
1b71aecddc Updated speed control 2022-08-22 23:39:25 +01:00
Danny Staple
c986d25bf5 Fixed this -we now do not have the glitches 2022-08-13 08:50:09 +01:00
Danny Staple
ad3f30b559 Chapter 11 code changes - async and bluetooth 2022-08-09 21:49:35 +01:00
Danny Staple
6b4660eb23 Chapter 11 and 13 - wifi code (pre bluetooth) 2022-08-01 09:53:21 +01:00
Danny Staple
7eff69d680 Chapter 10 code 2022-08-01 09:52:56 +01:00
Danny Staple
35358211ac Ignroe the 3rd party libs 2022-07-10 15:49:25 +01:00