Reaction Wheel Actuated Satellite Dynamics Test Platform
Diploma Thesis in Aerospace Engineering, January 2014
University of Applied Sciences Munich, Faculty 03
Electronics:
- 1x mbed NXP LPC 1768 Microcontroller
- 2x XBee S1 Radios + Sparkfun USB Adapter
- 1x CHR UM6-lt IMU
- 4x Graupner BEC 8 Motor Controllers
- 4x ROXXY 2826/09 Brushless Motors
- 1x Hacker TopFuel LiPo 1300mAh Battery
- 1x big Selfmade BreakOutBoard to connect all components
- 1x small BreakOutBoard to connect IMU
Hardware developed with Catia V5R20
Manufactoring Technology: Rapid Prototyping - EOS Formiga P110
Controlled via text based menu with DockLight
__________________
MODSERIAL/MODSERIAL_IRQ_INFO.cpp@0:1447d2f773db, 2014-07-09 (annotated)
- Committer:
- DimitriGruebel
- Date:
- Wed Jul 09 07:35:50 2014 +0000
- Revision:
- 0:1447d2f773db
Dynamics Test Platform
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
DimitriGruebel | 0:1447d2f773db | 1 | /* |
DimitriGruebel | 0:1447d2f773db | 2 | Copyright (c) 2010 Andy Kirkham |
DimitriGruebel | 0:1447d2f773db | 3 | |
DimitriGruebel | 0:1447d2f773db | 4 | Permission is hereby granted, free of charge, to any person obtaining a copy |
DimitriGruebel | 0:1447d2f773db | 5 | of this software and associated documentation files (the "Software"), to deal |
DimitriGruebel | 0:1447d2f773db | 6 | in the Software without restriction, including without limitation the rights |
DimitriGruebel | 0:1447d2f773db | 7 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
DimitriGruebel | 0:1447d2f773db | 8 | copies of the Software, and to permit persons to whom the Software is |
DimitriGruebel | 0:1447d2f773db | 9 | furnished to do so, subject to the following conditions: |
DimitriGruebel | 0:1447d2f773db | 10 | |
DimitriGruebel | 0:1447d2f773db | 11 | The above copyright notice and this permission notice shall be included in |
DimitriGruebel | 0:1447d2f773db | 12 | all copies or substantial portions of the Software. |
DimitriGruebel | 0:1447d2f773db | 13 | |
DimitriGruebel | 0:1447d2f773db | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
DimitriGruebel | 0:1447d2f773db | 15 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
DimitriGruebel | 0:1447d2f773db | 16 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
DimitriGruebel | 0:1447d2f773db | 17 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
DimitriGruebel | 0:1447d2f773db | 18 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
DimitriGruebel | 0:1447d2f773db | 19 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
DimitriGruebel | 0:1447d2f773db | 20 | THE SOFTWARE. |
DimitriGruebel | 0:1447d2f773db | 21 | |
DimitriGruebel | 0:1447d2f773db | 22 | @file MODSERIAL_IRQ_INFO.cpp |
DimitriGruebel | 0:1447d2f773db | 23 | @author Andy Kirkham |
DimitriGruebel | 0:1447d2f773db | 24 | */ |
DimitriGruebel | 0:1447d2f773db | 25 | |
DimitriGruebel | 0:1447d2f773db | 26 | #include "MODSERIAL.h" |
DimitriGruebel | 0:1447d2f773db | 27 | |
DimitriGruebel | 0:1447d2f773db | 28 | namespace AjK { |
DimitriGruebel | 0:1447d2f773db | 29 | |
DimitriGruebel | 0:1447d2f773db | 30 | int |
DimitriGruebel | 0:1447d2f773db | 31 | MODSERIAL_IRQ_INFO::rxDiscardLastChar(void) |
DimitriGruebel | 0:1447d2f773db | 32 | { |
DimitriGruebel | 0:1447d2f773db | 33 | if (!serial) return -1; |
DimitriGruebel | 0:1447d2f773db | 34 | |
DimitriGruebel | 0:1447d2f773db | 35 | return serial->rxDiscardLastChar(); |
DimitriGruebel | 0:1447d2f773db | 36 | } |
DimitriGruebel | 0:1447d2f773db | 37 | |
DimitriGruebel | 0:1447d2f773db | 38 | }; // namespace AjK ends |