Jump to content

Michael_Burgess

Members
  • Posts

    27
  • Joined

  • Last visited

    Never

Everything posted by Michael_Burgess

  1. unbelievable! I have just posted a problem, but would like to think I approached it: a) in a pleasant manner b) actually show an understanding of the problem at hand and c) haven't asked someone to do my assignment lol - merely asked for someone to possibly suggest a very basic framework which may allow sync'd comms - the rest of it, despite being mammoth, I can get my head round 'in theory'
  2. Hi all, got a uni assignment on @ the moment - revolves around a car simulator running on 2 PCs, one is the controls, one is the 'car' itself talking over serial port I have got a bit of the way into it but think my underlying framework is wrong - as for the workings of the car itself I have a fairly good idea of what needs to be done. It's the sync'ing of comms that's the issue really as it stands i have one while loop housing each vi. within that, on the controls VI I have a while loop that continually collates the value of the controls (steering etc) and whacks them into a string. Another while loop sends this string to the serial port. Another loop reads from the serial port. Another loop is dealing with the returned data and processing. on the car itself VI the same principles apply. One is reading from the serial port and extracting the data, one is writing stuff back to the serial port, one is dealing with the received controls I suppose the problem lies in the syncing of sending and receiving the delay from moving the steering wheel to the wheels (for now using a meter to represent) moving on the car is bad - takes about 2 seconds which seems wrong anyone got any suggestions on the basic framework upon which to build - thinking about starting again, but reusing a lot of my functionality on a more sound framework christmas is going to be fun!!!! any help would be very much appreciated thanks - this is causing serious stress right now!!! :thumbup:
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.