Home User CP Donate Chat Register Today!  
  Get New posts Faq / Help?
   


Go Back   Hackint0sh > Projects and Hacks > iPhone > Applications & Development > Free Toolchain Software

Reply
 
LinkBack Thread Tools Display Modes
  #391 (permalink)  
Old 07-17-2008, 11:25 AM
lovemygti's Avatar
lovemygti
Status: Offline
Member
 
Join Date: Mar 2008
Posts: 61
Rep Power: 9
lovemygti will become famous soon enough
Default

[QUOTE=Jim Danner;318663]There must be people on this thread with good Photoshop skills who can help... Anyone?

If anyone manages to drive above 200 km/h, I think the dial going on beyond 200 is a nice little bonus for them. QUOTE]


RE: Speedo Designs.. just ask.. i'm sure people will be able to knock some funky stuff up in no time. Then maybe you can add the option to choose between various graphics for the speedo surround, and just keep a standard indicator (the moving bit??)..

Oh and the 200 km/h thing.. thats only 125 mph.. most can hit that.. i've only taken the golf to 135mp/h which is about 220 km/h and it still had more left in it... but i was a bit scared. - put the easter egg... or have a top speed log.. that would be wicked...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #392 (permalink)  
Old 07-17-2008, 11:41 AM
rjshearman
Status: Offline
Senior Member
 
Join Date: Sep 2007
Posts: 370
Rep Power: 25
rjshearman will become famous soon enough
Default

Quote:
Originally Posted by Jim Danner View Post
There must be people on this thread with good Photoshop skills who can help... Anyone?
Be warned people, although this will be a free community app I am a bit of a perfectionist so only the best designs will be included.

I've found the following photoshop tutorial which i'd like to try and use to create the dial. Would be good if someone could take a look and give it a go (the final result looks good - and it's also the Apple clock):
http://www.pstut.info/tutorials/crea...shboard-clock/

Quote:
Originally Posted by Jim Danner View Post
so probably staying at 0 makes sense? In that case (if a max function exists):
Code:
var w = (max(u,0) - 100)*0.020944;
Agreed - thank you.

Quote:
Originally Posted by Jim Danner View Post
If anyone manages to drive above 200 km/h, I think the dial going on beyond 200 is a nice little bonus for them. (Maybe you should put in an Easter egg there...)
I'll think about this - leave it with me.

Quote:
Originally Posted by Jim Danner View Post
It depends what we want to use it for, how scarce storage space is (I'd think, for a 5 minute test, 300 * 100 = 30,000 data points, each consisting of a time, acceleration, speed in m/s, speed in km/h, speed in mph, distance in m, distance in yd, timestamp: 240,000 data points, each consisting of ~7 bytes: 1,680,000 B = 1.60 MB out of the 116 MB RAM the iPhone has: that should not be too much. But I don't know about RAM allocations in Mac OS X Mobile), and it also depends on how much time there is: is there sufficient processor capacity to do all the smoothing calculations during the test? Or should we store data and work on it later? Such software development decisions are hard for me to make.
I'd have to run a few tests to check but I would prefer to just add all the information into arrays during the test and then process it afterwards.

I'm not sure how possible this is yet but it is my aim to have a list of all saved runs on the monitor page in a table (grouped by the auto-stop type and sorted by time). The user will hopefully be able to see a high level overview of the run and then click it to see a graph of the run.

Based on this I would assume the user would save quite a few runs. I was just wondering if all the data was still required after the run and could we shorten it by running averages over time?

I guess further down the line we could try and allow the user to enter multiple cars and record runs against each. (one step at a time though).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #393 (permalink)  
Old 07-17-2008, 12:11 PM
Jim Danner
Status: Offline
Respected Member
 
Join Date: Dec 2007
Posts: 1,042
Rep Power: 69
Jim Danner is a jewel in the roughJim Danner is a jewel in the roughJim Danner is a jewel in the rough
Default

Quote:
Originally Posted by lovemygti View Post
Oh and the 200 km/h thing.. thats only 125 mph.. most can hit that.. i've only taken the golf to 135mp/h which is about 220 km/h and it still had more left in it... but i was a bit scared. - put the easter egg... or have a top speed log.. that would be wicked...
If the indicator goes round, it gets to 0 at a speed of 300 km/h (186 mph). That should be abovbe the limit for most cars. We could simply put some more numbers on the dial, maybe in a darker color...
__________________
iPhone 3GS / 3.1.2 JB (PwnageTool) / 04.26.08 carrier-locked, Carrier Logo Fixer / Cydia / 1000 posts on Hackint0sh

Installing Cydia programs on a phone that has no internet connection: read this.

Editing binary .plist, .strings, .nib and .xib files:
* on your computer: Windows tool / conversion website.
* on your iPhone: convert those files in a terminal with plutil (installed with Erica Utilities) or edit them with iFile (Cydia links).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #394 (permalink)  
Old 07-17-2008, 12:13 PM
rjshearman
Status: Offline
Senior Member
 
Join Date: Sep 2007
Posts: 370
Rep Power: 25
rjshearman will become famous soon enough
Default

If people do want to try and create the dials / graphics please create each individual part in it's own file (ie: dial, needle etc).

Note: As mentioned the dial needs to go from 0 to 200 km/h
0 should be placed at the 8 o'clock point on a clock
200 should be placed at the 4 o'clock point on a clock
(it would also be handy to have a version in mph)

As mentioned above i'm liking the final result of the clock in this tutorial (http://www.pstut.info/tutorials/crea...shboard-clock/) perhaps it could be modified to fit our project (or something similar)?

You can download the Carbon Fiber wallpaper I used from here:
http://ebin.wordpress.com/2007/03/11...ber-wallpaper/

As check out the project so far on the following:
http://img512.imageshack.us/img512/1...enshotsvm2.gif

I'd like some nice 80 x 80 pixel graphics to place on the homepage (instead of the icon graphics). These will be flush to the edges of the table row and so will join each other - hope that makes sense.

Finally, it would be nice to create a few small icons for the settings page. (same as the "Settings" screen on your iPhone/iTouch).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #395 (permalink)  
Old 07-17-2008, 01:19 PM
rjshearman
Status: Offline
Senior Member
 
Join Date: Sep 2007
Posts: 370
Rep Power: 25
rjshearman will become famous soon enough
Default

Jim,

I've just seen your post on this thread: [Verbose mode] Neat hack !

Quote:
Originally Posted by Jim Danner View Post
You're gonna love that manual, man! Here is the full list of headphone "hacks":

To Pause a song or video Click the mic button once. Click again to resume playback.
To Skip to the next song Click twice quickly.
To Answer an incoming call Click once.
To End the current call Click once.
To Decline an incoming call Press and hold for about two seconds, then let go. When you let go, two low beeps confirm you declined the call.
To Switch to an incoming or on-hold call and put the current call on hold Click once. Click again to switch back to the first call.
To Switch to an incoming or on-hold call and end the current call Press and hold for about two seconds, then let go. When you
let go, two low beeps confirm you ended the first call.

See http://manuals.info.apple.com/en/iPhone_User_Guide.pdf and enjoy!

Please don't give me any rep points for such an obvious thing ppl.
I'm trying to find out how to access this button through the SDK. Would be awesome for starting the recording!

(If I can get it working then I could also play a sound to tell the user it's started).

If I get it working you CAN give me rep points
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #396 (permalink)  
Old 07-17-2008, 01:43 PM
Jim Danner
Status: Offline
Respected Member
 
Join Date: Dec 2007
Posts: 1,042
Rep Power: 69
Jim Danner is a jewel in the roughJim Danner is a jewel in the roughJim Danner is a jewel in the rough
Default

Quote:
Originally Posted by rjshearman View Post
If I get it working you CAN give me rep points
Don't worry, we can always rep one another up when we're done...
__________________
iPhone 3GS / 3.1.2 JB (PwnageTool) / 04.26.08 carrier-locked, Carrier Logo Fixer / Cydia / 1000 posts on Hackint0sh

Installing Cydia programs on a phone that has no internet connection: read this.

Editing binary .plist, .strings, .nib and .xib files:
* on your computer: Windows tool / conversion website.
* on your iPhone: convert those files in a terminal with plutil (installed with Erica Utilities) or edit them with iFile (Cydia links).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #397 (permalink)  
Old 07-17-2008, 07:50 PM
lovemygti's Avatar
lovemygti
Status: Offline
Member
 
Join Date: Mar 2008
Posts: 61
Rep Power: 9
lovemygti will become famous soon enough
Default

Does the sdk allow apps to select a picture from your photo roll or wallpaper and use that as a background page for an app??

If so you could have a couple of backgrounds/speedos to choose from that are distributed within the app itself (the best ones of course), but you could ultimately leave it to the end user to change the background / speedo as and when they wish, by selecting wallpaper/image from photo library. all the end user would need to do is make sure the image has the right dimensions. that would be an awesome feature!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #398 (permalink)  
Old 07-19-2008, 08:17 PM
rjshearman
Status: Offline
Senior Member
 
Join Date: Sep 2007
Posts: 370
Rep Power: 25
rjshearman will become famous soon enough
Default

Quick update:

I've added:
  • ability of recording 0-60-0 and 0-100-0. (with sound at mid-point)
  • the needle on the dial now shows the correct speed (looks quite cool)
  • support for themes (different image sets)
  • pop-up "About" page to give credit to people from here
  • I've also merged the settings "Record Distance" and "Record Speed". Basically the user can only select MPH & Miles or KM/H & KM. Instead of a mixture of both.

Finally, i've worked out how to get the graphs displayed (see concept example below).

The graphs are created in a view (1920 x 1280 pixels) which should give us plenty of room to display all the results. The view is initially displayed at 25% so that it fits the screen. The user can then double tap the screen to zoom to 50% and then again to zoom to 75%. One final double tap and you're back at 25%. Hopefully this should be enough.
UPDATE: I'm getting mixed results working at this resolution (works great in simulator but I think it's too resource hungary on device (i've got a few crashes). I think we should work with either: (960x640) or maybe (1440x960) - i'll know more once we can test with real data.

Jim, are you able to help with the graph? I need a way to find the appropriate scales (based on recorded data) and at what intervals to put the horizontal lines. (i'm guessing we'd search the arrays for max values etc). I also need help with working out how to display the values. The screen is laid out with x,y values (0,0) is in the top left hand corner and (1920, 1280) in bottom right. Are you able to write a formula that will work out the best way to fill the graph and at what pixels to place the values?

What do people want to be displayed (just speed over time)? how many different graphs are we going to populate from our recorded data?

Oh, and I also still need more info about the G-Meter (sent you a PM Jim)


Let me know if you think of anything else we need.

Richard

Last edited by rjshearman; 07-19-2008 at 09:01 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #399 (permalink)  
Old 07-19-2008, 09:15 PM
neFAST
Status: Offline
Junior Member
 
Join Date: Apr 2008
Posts: 7
Rep Power: 0
neFAST is on a distinguished road
Default

This looks awesome! When do plan to release a beta version of your app?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #400 (permalink)  
Old 07-19-2008, 11:20 PM
saxosuper1600
Status: Offline
Senior Member
 
Join Date: Oct 2007
Location: Santiago, Chile
Posts: 221
Rep Power: 18
saxosuper1600 will become famous soon enough
Default

RICHARD, WHAT AN AMAZING JOB YOU'VE JUST DONE! it looks amazing! thanks a lot from here....wll i will explanin the G-meter.. so the g meter is a real time g forces visualizer, it's just a circle with a dot in the center (indicating 0 G's), for example you accelerate at 1G and this dot moves to the bottom of the circle to a 1g value on the graph (circle) if you brake for example this dot moves upward to a 1G value ( if you can add an option to leave a trace with a switch on/off would be great) i'll post some images below to explain the idea.

VIDEO (LOOK FOR THE CIRCLE IN THE RIGHT DOWN CORNER THERE IS THE DOT THAT MOVES WHEN THE CAR ACCELERATE, BRAKE OR TURNING
http://www.youtube.com/watch?v=1XOwSTasTzg

PIC



HOPE IT HELPS ANYTHING YOU WANT ASK I'LL BE HERE BYE! SORRY IF I ANSWER TOMORROW BUT IM NOT IN MY HOUSE AND I DONT HAVE INTERNET BYE!

EDIT: CAN YOU FOR EXAMPLE HAVE STORED VALUES FOR MULTIPLE CARS SO IF I MEASURE ONE CAR I CAN CHANGE IT FORM THE STORED VALUES I SAVED EARLY TO MEASURE ANOTHER ONE? IF THIS IS THE IDEA WE'LL HAVE TO CREATE A "MAIN SETTINGS MENU" FOR EACH CAR SO I PUT THE WEIGHT, WHEELBASE, RIMS AND A DESCRIPTION OF THAT CAR ,ETC... GOT THE IDEA? ANOTHER THING WOULD BE IF YOU MEASURE A RACE FOR EXAMPLE, DOWNLOAD THE DATA TO A PC/MAC TO SEE IT IN A NORMAL SCREEN, MM WHAT ELSE....AAA YES WERE MISSING THE 1/4 MILE, SO WHAT IF WE PUT A START BUTTON AND IT SAYS ACCELERATE WHEN READY OR SOMETHING FOR EXAMPLE AND WHEN YOU ACCELERATE IT MEASURES THE DISTANCE YOU'VE TRAVELLED, AND THE TIME AND BHP STOPS WHEN THAT DISTANCE IS REACHED SO WE'VE GOT THE 1/4 MILE TIME AND BHP (AND G'S) REACHED ON THAT RUN AND OVIOUSLY IT HAS TO BE SAVED (IF YOU WANT WITH A BUTTON)

EDIT2: ANOTHER THING JUST PASSED FOR MY HEAD (THIS IS MORE TECHNICAL AND CAN BE KINDA HELPFUL IN A TRACK WITH BENDS) SO WHAT IF THIS G METER IS ON A SCREEN WITH THE CIRCLE SHOWING EEE g'S (HAHA) AND BELOW WE PUT SOMETHING LIKE NUMBERS MEASURING HOW MUCH ANGLE THE CAR GETS TROUGH THE BEND (HOW MUCH THE SUSPENSION GETS COMPRESSED) DON'T KNOW IF IT CLEAR BUT ITS COMPLICATED TO EXPLAIN, MM LET ME EXPLAIN THE BASIS IF YOU PUT YOUR IPHONE ON THE CAR IN THE COPILOT SEAT WITH IT'S SIM TRAY POINTING THE HOOD IT'S LATELAR ANGLE IS 0 BUT WHAT HAPPENS IF YOU PUT A FAT MAN SEATING OVER THE SUSPENSION (TECHINICALLY IT GETS COMPRESSED NOT MUCH BUT IT'S COMPRESSED AND THE CAR TENDS TO LOWER THAT SIDE OF THE CAR SO THE LATERAL ANGLE CHANGES) WE CAN USE THAT ANGLE TO MEASURE IN A BEND HOW MUCH THE SUSPENSION GETS COMPRESSED.....I'TS A LITTLE CRAZY IDEA BUT WITH MORE INPUT (MEASURING) WE GET THE APP IS MORE POWERFUL AND WE CAN ADD ANOTHER THINGS USING THESE VALUES

EDIT3: AS WE CANNOT USE THE NAME "IGTECH" (FOR SOME REASONS), WHAT DO YOU THINK IF WE CHANGE THE NAME FOR OTHER ONE? I'VE THINKING ABOUT NAMES AND I CAME WITH SOME (IF YOU THINK YOU HAVE ANOTHERONE JUST NAME ITSO EVERYONE IN HERE CAN DISCUSS IT, "PLEASE POST INTELLIGENT NAMES" WHAT DO YOU THINK...
1:TEST TRACK
2-METER (P STANDS FOR PERFORMANCE)
3:RACETECH
4OWER LOG
__________________
Please we need help in developing an application to measure (HP, Lateral G's, Braking distance) in our cars...

http://www.hackint0sh.org/forum/show...ght=likes+cars PLEASE CODERS AND DEVELOPERS....HELP NEEDED READ POST #80 FOR MORE INFO!
THIS IS NOT AN OVERSIZED LETTER SIZE!

REP UP IF MY POST HELPED YOU IN ANY WAY!

Last edited by saxosuper1600; 07-20-2008 at 12:19 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +2. The time now is 06:31 AM.



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2 Ad Management by RedTyger
follow us on Twitter!

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407