|
| 1 | +--- |
| 2 | +title: Piwars 2018 Robot - Panic Sets In |
| 3 | +date: 2018-04-18 |
| 4 | +tags: [robot building, piwars, opencv, electronics, power, raspberry pi robotics project, raspberry pi opencv project, python, raspberry pi camera] |
| 5 | +--- |
| 6 | +As we realise how close we are to going to the event, panic Sets In. 2 days before we leave! Our robot should be ready for the 22nd of April - not everything works! |
| 7 | + |
| 8 | +We have a task list, but it's too far from realistic. this is a mix of things we've done, and what we were hoping to do. We have a lot of work to do. |
| 9 | + |
| 10 | +* Finish the code conversion to the method for HC-04 used in the piconzero library. - done |
| 11 | +* Finish assembling the motors. - done |
| 12 | +* Test each distance sensor in it's enclosure on the Tester made with the microview - ensure there isn't any weird values. |
| 13 | + * Check that that breadboard is wired correctly. -done |
| 14 | + * Left - done |
| 15 | + * Right - done |
| 16 | + * Front - done |
| 17 | + * Conclusion - the 3d printed cases are not a problem. |
| 18 | + * Try three together on multiple microviews. - nah - lets not. |
| 19 | + * Fix the distance code - the GpioZero is the wrong way to do it for now - done. |
| 20 | +* Test the motors with keypad drive. - done |
| 21 | +* Test the distance code again. |
| 22 | +* Find out why the lights aren't working - get them working. |
| 23 | + * Use a microview with some code to test that first strip and connector |
| 24 | + * Replace that connector if I need it. |
| 25 | + * Now try to get at least one light under pi control, can I use my logic analyser to see if anything is coming out on that SPI output bus I made? |
| 26 | +* Finish the MENU module - and blend it with drive - so menu is Manual Drive and launch auto. |
| 27 | +* Write the sysv/systemd script to launch this as user Pi when powered up. |
| 28 | +* Make the rainbow module - give it the sequence of colour hues - test with skittles. |
| 29 | + * It is the hue divided by 2 to fit in the range. |
| 30 | + * Find the hue for red - range -15 - 15, |
| 31 | + * hue range green - 45 - 75 |
| 32 | + * hue range blue - 80 - 145 |
| 33 | + * hue range yellow - 20 - 40 |
| 34 | + * Create code to go through the sequence: red, blue, yellow, green |
| 35 | + * Drive up. |
| 36 | + * Pull back. |
| 37 | + * Next |
| 38 | + * When done - exit back to drive. |
| 39 | + * Test it. |
| 40 | +* Test the avoid module - see how I can branch it for fast straight line. |
| 41 | +* Make a simple maze - use cardboard in the house. |
| 42 | +* Test the robot with a simple maze test. |
| 43 | +* Play robot skittles with the kids. |
| 44 | + |
| 45 | +* PACK! |
| 46 | + * Screwdrivers |
| 47 | + * Cables + crimps? |
| 48 | + * laptop |
| 49 | + * Batteries (charger?) |
| 50 | + |
| 51 | +The next update will be after the event, a debrief. |
0 commit comments