Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
net.cpp AND what on earth is vector<string>::const_ite
06-06-2006, 09:41 AM,
#6
 
Code:
vector<string>::const_iterator i

That part was in main.cpp. I am still not sure how to convert this type to an integer. Ill check those docs, maybe ill find something.

As for the udp, I am doing this for the motion base I am working on (i.e. the flight simulator):
I modified the vamos source to calculate accelerations in all 6 dimensions. Those will be sent using udp to another computer that would map those accelerations to movements for the motion base. I did the same for FlightGear- a flight simulator and now I am working on a race car simulation. FlightGear had options that allow the user to split the physics engine from the game and graphics itself thus improving the response time of the motion base. The computer running the physics engine on FlightGear would then write to a udp port and the root FlightGear node would read from it.

I need the conversion to integer because I need it to output at 60Hz for example so that the motion base can operate properly.

If you know of any library function that would do this, that would be great.

Thanks.[/code]
Reply


Messages In This Thread
[No subject] - by thelusiv - 06-05-2006, 05:41 PM
[No subject] - by joevenzon_phpbb2_import3 - 06-05-2006, 09:44 PM
[No subject] - by thelusiv - 06-06-2006, 12:36 AM
[No subject] - by nael - 06-06-2006, 09:41 AM
[No subject] - by thelusiv - 06-06-2006, 12:49 PM
[No subject] - by joevenzon_phpbb2_import3 - 06-06-2006, 08:02 PM
[No subject] - by nael - 06-07-2006, 01:51 PM
[No subject] - by joevenzon_phpbb2_import3 - 06-07-2006, 08:52 PM
[No subject] - by matthew_i - 06-11-2006, 03:12 PM
[No subject] - by nael - 06-12-2006, 09:30 AM
[No subject] - by joevenzon_phpbb2_import3 - 06-12-2006, 08:09 PM
[No subject] - by nael - 06-13-2006, 10:59 AM
[No subject] - by thelusiv - 06-13-2006, 02:02 PM
[No subject] - by nael - 06-14-2006, 01:21 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)