Changeset ce0a7ee in orbit for iOS/Orbit/Orbit/controllers/AdvancedViewController.m
- Timestamp:
- 07/31/13 17:02:07 (9 years ago)
- Branches:
- master, RawEEG, Servo, Tab_Interface, pyramid
- Children:
- de10cbc, 0ab8242
- Parents:
- 9015b1e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
iOS/Orbit/Orbit/controllers/AdvancedViewController.m
rab9d63b rce0a7ee 8 8 9 9 #import "AdvancedViewController.h" 10 #import "SignalConverter.h" 11 #import "AppDelegate.h" 10 12 11 13 @interface AdvancedViewController () … … 13 15 @end 14 16 15 @implementation AdvancedViewController 17 @implementation AdvancedViewController { 18 SignalConverter *signalConverter; 19 } 16 20 17 21 @synthesize pitch, pitchPercent, yaw, yawPercent, throttle, throttlePercent; 22 23 - (void)viewDidLoad 24 { 25 [super viewDidLoad]; 26 AppDelegate *appDelegate = (AppDelegate *)[[UIApplication sharedApplication] delegate]; 27 signalConverter = appDelegate.signalConverter; 28 } 18 29 19 30 - (IBAction) pitchChanged:(id) sender 20 31 { 21 32 pitchPercent.text = [self percentStringFromSlider:pitch]; 33 [self adjustValues]; 22 34 } 23 35 … … 25 37 { 26 38 yawPercent.text = [self percentStringFromSlider:yaw]; 39 [self adjustValues]; 27 40 } 28 41 … … 30 43 { 31 44 throttlePercent.text = [self percentStringFromSlider:throttle]; 45 [self adjustValues]; 32 46 } 33 47 … … 37 51 } 38 52 53 - (void) adjustValues 54 { 55 56 } 57 39 58 @end
Note: See TracChangeset
for help on using the changeset viewer.