| 1 | /* |
| 2 | Copyright (C) 2015 Daniel Watson |
| 3 | See the end of the file for license conditions. |
| 4 | */ |
| 5 | // challenge-bot |
| 6 | // GNU AGPLv3 (or later at your option) |
| 7 | // project available here: |
| 8 | // https://challenge-bot.com/ |
| 9 | |
| 10 | /* |
| 11 | this holds an hc-sr04 sonar sensor to a 3/16 inch deck. |
| 12 | http://fritzing.org/projects/hc-sr04-project |
| 13 | it can hold the sonar sensor either facing down, or forwards. |
| 14 | when facing down, it can detect if it passes over the edge of a table. |
| 15 | when facing forwards, it can detect and follow something in front of it. |
| 16 | */ |
| 17 | |
| 18 | $fn = 60; |
| 19 | |
| 20 | include <deck-holder-data.scad> |
| 21 | |
| 22 | for (jj = [0:0]) { |
| 23 | for (ii = [0:0]) { |
| 24 | translate([ii * (sonar_holder_length + 10), |
| 25 | jj * (26 + deck_depth * 3), |
| 26 | 0]) { |
| 27 | deck_holder(); } } } |
| 28 | |
| 29 | /* |
| 30 | This file is part of challenge-bot. |
| 31 | |
| 32 | Challenge-bot is free software: you can redistribute it and/or modify |
| 33 | it under the terms of the GNU Affero General Public License as published by |
| 34 | the Free Software Foundation, either version 3 of the License, or |
| 35 | (at your option) any later version. |
| 36 | |
| 37 | GNU Affero Emacs is distributed in the hope that it will be useful, |
| 38 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 39 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 40 | GNU Affero General Public License for more details. |
| 41 | |
| 42 | You should have received a copy of the GNU Affero General Public License |
| 43 | along with challenge-bot. If not, see <http://www.gnu.org/licenses/>. |
| 44 | */ |