Page 6 of 19 FirstFirst 12345678910111213141516 ... LastLast
Results 51 to 60 of 182

Thread: Harmony - Mac Front End Worklog

  1. #51
    Constant Bitrate
    Join Date
    Jun 2005
    Location
    California
    Posts
    142
    Thanks as always, Jirka, you're the best!

  2. #52
    Newbie minicoopS007's Avatar
    Join Date
    Sep 2005
    Location
    Gaithersburg
    Posts
    31
    Quote Originally Posted by Jirka Jirout
    BTW: I always thought that programming is more about the concepts, techniques and ways of thinking. Once you learn these, it is not a big deal to learn a new language. One language more or less, who cares? ;-)
    I'm the other programmer bugbyte is referring to. I agree it's all about concepts, but the way of thinking in Obj-C is reversed. I'm going to get hammered for this, but you "one does not call a method; one sends a message" in Obj-C. I guess I have to change my way of thinking.

    Thanks for the sample code.

  3. #53
    QCar Creator Jirka Jirout's Avatar
    Join Date
    Jul 2005
    Location
    Netherlands
    Posts
    590
    Quote Originally Posted by minicoopS007
    "one does not call a method; one sends a message" in Obj-C.
    Well, isn't that one of the very basic principles of the object-oriented programming? ;-) Unfortunately the world is going crazy these days and so the term OO is often (mis)used for things, that have very little to do with a real object-oriented approach (such as C++).

  4. #54
    Admin. Linux loser.
    Auto Apps:loading...
    Bugbyte's Avatar
    Join Date
    Sep 2004
    Location
    Corning, NY
    Posts
    7,359
    Blog Entries
    2
    Jirka - thank you so much! You've inspired minicoop to head to the drawing board and incorporate the serial port handling usin Obj-C inside Harmony. We'll ditch the HXM application and go with a simple implementation of serial control via Harmony/Obj-C.

    Many thanks and I'm sure we'll have some questions for you.
    Quote Originally Posted by ghettocruzer View Post
    I was gung ho on building a PC [until] just recently. However, between my new phone having internet and GPS and all...and this kit...Im starting to have trouble justfiying it haha.
    Want to:
    -Find out about the new iBug iPad install?
    -Find out about carPC's in just 5 minutes? View the Car PC 101 video

  5. #55
    Variable Bitrate
    Join Date
    Feb 2006
    Posts
    262
    hey wouldn't it be faster if jirka just joined the team?

    me? anxious for a release? YES!!!

  6. #56
    Admin. Linux loser.
    Auto Apps:loading...
    Bugbyte's Avatar
    Join Date
    Sep 2004
    Location
    Corning, NY
    Posts
    7,359
    Blog Entries
    2
    Jirka has his own front end. Of course he's welcome to join the team, but he's been awfully nice to give us a hand with the serial port stuff.

    I know you want a front end but frankly, you'll be underwhelmed, probably even when we get it to where we think it works okay. Just keep the expectations low and you won't be disappointed.

    Right now, we've decided that since minicoop is reworking the XM communications, that we'll implement the improved layout, what we call the 'H' layout. I have a rudimentary version of that playing on the Mac right now. I'll now have to build a skin file to deal with location of buttons, graphics that go on them, etc.

    Honestly guys, we're gaining on it even though it's been a lot of time. We've got day jobs, life obligations and such. But we're making progress.
    Quote Originally Posted by ghettocruzer View Post
    I was gung ho on building a PC [until] just recently. However, between my new phone having internet and GPS and all...and this kit...Im starting to have trouble justfiying it haha.
    Want to:
    -Find out about the new iBug iPad install?
    -Find out about carPC's in just 5 minutes? View the Car PC 101 video

  7. #57
    FLAC sdashiki's Avatar
    Join Date
    Aug 2004
    Location
    Floreeda
    Posts
    1,085
    Serial control....

    can we say obdII?

    pyobd anyone...?
    (All done)
    iPad Mini 128GB, RF 600.5 amp, JL12W0V2, 8 Infinity Components

  8. #58
    Constant Bitrate
    Join Date
    Jun 2005
    Location
    California
    Posts
    142
    sdashiki,

    If you want that, you need create an Applescript to parse and use ODBII messages. We're not planning to use Python as a part of Harmony.

  9. #59
    Newbie minicoopS007's Avatar
    Join Date
    Sep 2005
    Location
    Gaithersburg
    Posts
    31

    Question data encoding

    Hi Jirka,
    Thanks for the JJSerialText example. I'm getting a can't find path error back. I'm trying to connect to /dev/tty.usbserial-3B1. Should I use the open method rather than fileHandleForUpdatingAtPath? I think this is a minor issue. The other question I have is how do you send the byte codes. Per the XM spec I need to send "5AA50003740001EDED". Don't I need to encode this text string or should NSASCIIStringEncoding work fine?

    Cheers

  10. #60
    QCar Creator Jirka Jirout's Avatar
    Join Date
    Jul 2005
    Location
    Netherlands
    Posts
    590
    You should try to connect to /dev/cu.usbserial... not /dev/tty/usbserial.. the fileHandleForUpdatingAtPath is a correct way of opening the file, never had any problems with it. (I do not think that NSFileHandle has any method like -open)

Similar Threads

  1. which front end for no touch screen?
    By turbochris in forum Newbie
    Replies: 4
    Last Post: 08-30-2005, 10:59 AM
  2. This is an awesome front end, and here is why:
    By WhiteRabbit in forum NeoCar Media Center
    Replies: 47
    Last Post: 08-27-2005, 10:43 PM
  3. Front End Challange!
    By SEGgeek in forum MacCar
    Replies: 30
    Last Post: 08-16-2005, 11:16 AM
  4. Front end needed for semi commercial venture
    By Orange Bus in forum Software & Software Development
    Replies: 10
    Last Post: 04-28-2005, 02:59 AM
  5. BASIC Stamp question
    By Banderon in forum General Hardware Discussion
    Replies: 18
    Last Post: 05-07-2004, 09:33 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •