Welcome, Guest. Please Login.
Surveyor Corporation Surveyor SRV-1
Home Help Search Login

Surveyor Robotics Forum

Welcome to the user support forum for Surveyor SRV-1 robots, SRV-1 robot controllers and SVS stereo vision systems. To register for this forum, please send an email to support@surveyor.com which includes your desired forum user name, your registration email address, and a brief explanation of why you wish to join, and we will create a forum account for you.

Please note that there is a Search button in the forum toolbar for forum topics. Another effective search method for the entire surveyor.com site is to use Google, e.g. "xyz site://www.surveyor.com" where "xyz" is the search topic.



Pages: 1 2 3 
Send Topic Print
iPhone, iPad and OSX SRV.. (Read 9142 times)
NickK1066
Senior Member
****




Posts: 299
Re: iPhone, iPad and OSX SRV..
Reply #30 - 08/03/10 at 12:01pm
 
It's just occurred to me that the map stuff isn't in that.
 
I've located the map stuff that was in prior to the restructuring. It's basic and was a starting point - I'll upload that into the SVN too. Although by all counts this is a very active area for apple (they bought a mapping company recently so it wouldn't surprise me if they came out with a mapping system themselves).
 
One last point - my apple developer account has expired. For the meantime I will see how the job hunt + gf goes before I fork out more money. Also if you're in the US you probably don't need a developer account now with the Jailbreak ruling.
Back to top
 
 

  IP Logged
yvesB
YaBB Newbies
*




Posts: 46
Re: iPhone, iPad and OSX SRV..
Reply #31 - 08/03/10 at 12:05pm
 
Quote from NickK1066 on 08/03/10 at 11:27am:
...I could recommend a good security consultancy for code inspection, penetration testing and processes...

 
LOL... thanks but this isn't CIA or the FBI Smiley  the application is for a quick and dirty remote video/facilities assessment tool for underground garages.  If the SRV gets hacked in the process, no big deal.
 
Looking forward to opening up your code.
Back to top
 
 
  IP Logged
yvesB
YaBB Newbies
*




Posts: 46
Re: iPhone, iPad and OSX SRV..
Reply #32 - 08/03/10 at 12:07pm
 
Quote from NickK1066 on 08/03/10 at 12:01pm:
One last point - my apple developer account has expired. Also if you're in the US you probably don't need a developer account now with the Jailbreak ruling.

 
Canada, but I've got a dev account anyway.
 
Cheers,
Back to top
 
 
  IP Logged
NickK1066
Senior Member
****




Posts: 299
Re: iPhone, iPad and OSX SRV..
Reply #33 - 08/03/10 at 12:13pm
 
Quote from yvesB on 08/03/10 at 12:05pm:
Quote from NickK1066 on 08/03/10 at 11:27am:
...I could recommend a good security consultancy for code inspection, penetration testing and processes...


LOL... thanks but this isn't CIA or the FBI Smiley  the application is for a quick and dirty remote video/facilities assessment tool for underground garages.  If the SRV gets hacked in the process, no big deal.

 
That should be easy - the code will build for straight for the simulator with SVS.
 
The things of interest will be:
 "SRVCommon" - this is main blackfin interface library
 "iPhoneOS/UISharedComponents/SRVUICameraView" - which is the image display view
 "iPhoneOS/iPhone" - the SRVConnectionViewController and ImmediateViewController will also be of interest
Back to top
 
 

  IP Logged
yvesB
YaBB Newbies
*




Posts: 46
Re: iPhone, iPad and OSX SRV..
Reply #34 - 08/05/10 at 10:22pm
 
Nick, I am getting the following linking errors when compiling the iPhoneSRV target.  I noticed the dependency on the SRVGetVersionOperation.m module within the SRVCommon library, however, it is unclear to me why you would have a common library which refers to OSX.
 
Ld build/Debug-iphonesimulator/iPhoneSRV.app/iPhoneSRV normal i386
cd "/Users/ybradette/Documents/iPhone Projects/SRV"
setenv MACOSX_DEPLOYMENT_TARGET 10.6
setenv PATH "/DeveloperIOS40GM/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Develop
erIOS40GM/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/DeveloperIOS40GM/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -arch i386 -isysroot /DeveloperIOS40GM/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimula
tor4.0.sdk "-L/Users/ybradette/Documents/iPhone Projects/SRV/build/Debug-iphonesimulator" "-F/Users/ybradette/Documents/iPhone Projects/SRV/build/Debug-iphonesimulator" -filelist "/Users/ybradette/Documents/iPhone Projects/SRV/build/SRV.build/Debug-iphonesimulator/iPhoneSRV.build/Objects-norma
l/i386/iPhoneSRV.LinkFileList" -mmacosx-version-min=10.6 -framework Foundation -framework UIKit -Xlinker -objc_abi_version -Xlinker 2 -framework Foundation -framework CoreGraphics -o "/Users/ybradette/Documents/iPhone Projects/SRV/build/Debug-iphonesimulator/iPhoneSRV.app/iPhoneSRV"
 
Undefined symbols:
  "_OBJC_CLASS_$_SRVCancelAllAndCloseOperation", referenced from:
     objc-class-ref-to-SRVCancelAllAndCloseOperation in SRVUIVCResetConnection.o
  "_OBJC_CLASS_$_SRVGetVersionOperation", referenced from:
     objc-class-ref-to-SRVGetVersionOperation in SRVUICVConnectProbe.o
  "_OBJC_CLASS_$_SRVSetImageResolutionOperation", referenced from:
     objc-class-ref-to-SRVSetImageResolutionOperation in SRVUICameraView.o
  "_OBJC_CLASS_$_SRVConnectOperation", referenced from:
     objc-class-ref-to-SRVConnectOperation in SRVUICVConnectProbe.o
  "_OBJC_CLASS_$_SRVGetJPGFrameOperation", referenced from:
     objc-class-ref-to-SRVGetJPGFrameOperation in SRVUICameraView.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
 
 
Can't build this target against anything other than Mac OS in base SDK.
 
However, I was able to run the iPhoneSRV for simulator which makes sense since it is also x86 sdk.
 
How do I get to run the targets for actual device?  Here is a screenshot http://imotioneye.com/images/screenshot.jpg.
 
Thx
Back to top
 
« Last Edit: 08/05/10 at 10:32pm by yvesB »  
  IP Logged
NickK1066
Senior Member
****




Posts: 299
Re: iPhone, iPad and OSX SRV..
Reply #35 - 08/05/10 at 11:45pm
 
Simple one Cheesy
 
This was the restructuring as I moved the simulator target away from using a static library (the static library was to have a SRVCommon library). There was one static library for the iphone and a dynamic one for OSX.
 
The target for the simulator had a completed restructuring (ie no library)- the device target was not fully restructured. Neither device or simulator should be using the OSX library.
 
Simply set the target to include the source files (all those missing files are under SRVCommon). You may also need to ensure that the jpgs are also associated or app will fail to load as it's missing it's image dependancies.
 
When you have your target (device) selected, simply select the top level SRVCommon folder in the file window at the side. You'll see a list appear in the top right window - for each of the sources ensure that the target (tick box under the target symbol) is ticked.
You'll want to leave out the GPSData though as it's untested at the moment.
 
Hope that explains it. I may be able to offer a more better explanation sunday evening.
Back to top
 
 

  IP Logged
yvesB
YaBB Newbies
*




Posts: 46
Re: iPhone, iPad and OSX SRV..
Reply #36 - 08/06/10 at 6:50am
 
Thanks Nick.  I was going to associate the SRVcommon files manually in the end to get it to compile but was just wondering if I as missing something about the SRVCommon-OSX library and which part it played in the project.
 
Any additional info on DesktopSRV and QuartzSRV would be greatly appreciated as well.
 
Cheers,
 
Yves
Back to top
 
 
  IP Logged
NickK1066
Senior Member
****




Posts: 299
Re: iPhone, iPad and OSX SRV..
Reply #37 - 08/06/10 at 1:40pm
 
As the project was getting large with a number of targets (iPhone,iPad,OSX,Quartz) I looked at using libraries for the SRVCommon code. Unfortunately Xcode, IB and iOS don't really have a good grip on libraries and using them in projects resulting in having to return to straight compilation of all the required sources for each target.
 
Although the OSX library does work I just got annoyed with the limitations for Xcode/IB so decided to revert it all. Also it's very annoying that you need a UI and an NS version because iOS and OSX have different classes which may appear the same but work functionally different.
 
There was a largish change in the way that the connect operation worked - currently the QuartzSRV is hard coded and needs work to get connection working again. The Desktop application also needs more work - it uses an NS camera view and that needs to be brought inline with the UI camera view.
 
As I said in my previous posts - it needs work!
Back to top
 
 

  IP Logged
Pages: 1 2 3 
Send Topic Print