Ignore:
Timestamp:
07/31/13 17:02:07 (7 years ago)
Author:
Jonathon Horsman <jonathon@…>
Branches:
master, RawEEG, Servo, Tab_Interface, pyramid
Children:
de10cbc, 0ab8242
Parents:
9015b1e
Message:

Port Android AudioService? to iOS
Dummy page for tutorial
icons for tabs (which don't work)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • iOS/Orbit/Orbit/controllers/AdvancedViewController.m

    rab9d63b rce0a7ee  
    88 
    99#import "AdvancedViewController.h" 
     10#import "SignalConverter.h" 
     11#import "AppDelegate.h" 
    1012 
    1113@interface AdvancedViewController () 
     
    1315@end 
    1416 
    15 @implementation AdvancedViewController 
     17@implementation AdvancedViewController { 
     18    SignalConverter *signalConverter; 
     19} 
    1620 
    1721@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} 
    1829 
    1930- (IBAction) pitchChanged:(id) sender 
    2031{ 
    2132    pitchPercent.text = [self percentStringFromSlider:pitch]; 
     33    [self adjustValues]; 
    2234} 
    2335 
     
    2537{ 
    2638    yawPercent.text = [self percentStringFromSlider:yaw]; 
     39    [self adjustValues]; 
    2740} 
    2841 
     
    3043{ 
    3144    throttlePercent.text = [self percentStringFromSlider:throttle]; 
     45    [self adjustValues]; 
    3246} 
    3347 
     
    3751} 
    3852 
     53- (void) adjustValues 
     54{ 
     55     
     56} 
     57 
    3958@end 
Note: See TracChangeset for help on using the changeset viewer.