The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 94 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 573 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 573 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $can_access_moderationqueue - Line: 752 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 752 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 34 - File: global.php(959) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/global.php(959) : eval()'d code 34 errorHandler->error
/global.php 959 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 1024 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 1024 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5308 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 5308 errorHandler->error
/global.php 1024 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1474 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1474 errorHandler->error
/inc/functions.php 1429 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(257) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/printthread.php(257) : eval()'d code 2 errorHandler->error
/printthread.php 257 eval
/printthread.php 117 printthread_multipage
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Forums
net.cpp AND what on earth is vector<string>::const_ite - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Project (https://www.vdrift.net/Forum/forumdisplay.php?fid=4)
+--- Forum: Development (https://www.vdrift.net/Forum/forumdisplay.php?fid=9)
+--- Thread: net.cpp AND what on earth is vector<string>::const_ite (/showthread.php?tid=235)

Pages: 1 2


- nael - 06-14-2006

Its a cockpit mounted ontop of a Moog 6DoF platform. 6 ppl can sit inside, but we are thinking of removing one row of chairs and just making it fit 4 instead. Theres one screen inside, but we are mounting 1 or 2 more for a wider view. There will be two joysticks and a yolk and paddle connected inside as well to play the simulations. Right now its running FlightGear flight sim, and I am working on having Vdrift work in there as well. There are 4 machines on the network, one with a 64 bit AMD processor and a high-end Nvidia card that will produce all the graphics and display them on the screens. This is easily done with Flight Gear as their command line options are more developed than vdrift. They allow for the phsysics engine to be run on one machine and the graphics produced by another while both communicate to run the simulation. I am programming similar abilities for the Vdrift command line.

Rather mucking around with networking code, we are using DTK Diverse to manage shared memory. It comes with lots of tools and libraries that allow writing to a DTK shared memory on one machine, and sharing it with any number of machines on the network. So I write accelerations in all 6 dimensions to the shared memory, and read them from another computer that will control the platform. These accelerations are mapped to a range between -1 and 1 and sent to the Moog onboard computer to control the platform.

So to sum up, one graphics computer, one physics engine computer. the on board Moog computer and another operator/monitor computer outside to oversee the operation. I developed an interface using FLTK that can be used to start/stop and test the platform. The FLTK library is used by the programs that come with DTK Diverse. These are very usefull for test purposes as they come with scopes and other displays that visually show you whats happening in the shared memory. The really neat thing is what they call GnomeDisplay and its a 3D axis and when you run it with the shared memory it starts moving according to whatever is written to it - so you can see whats the platform supposed to do.

I am not sure how hard its going to be to split vamos from the rest of the vdrift but the professor I am working with wants one computer to just deal with the graphics.

I still didnt get a chance to see the platform in motion, as the university engineers are taking their sweet time to connect electricity to the room with the simulator..I think it will be ready next week and I can start testing.