Click here to Skip to main content
15,902,938 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Ride Control System Pin
immanis1-Oct-03 22:58
immanis1-Oct-03 22:58 
GeneralRe: Ride Control System Pin
jhwurmbach1-Oct-03 23:44
jhwurmbach1-Oct-03 23:44 
GeneralRe: Ride Control System Pin
David Chamberlain2-Oct-03 3:09
David Chamberlain2-Oct-03 3:09 
GeneralRe: Ride Control System Pin
jhwurmbach2-Oct-03 5:36
jhwurmbach2-Oct-03 5:36 
GeneralRe: Ride Control System Pin
David Chamberlain2-Oct-03 6:31
David Chamberlain2-Oct-03 6:31 
GeneralRe: Ride Control System Pin
immanis2-Oct-03 5:47
immanis2-Oct-03 5:47 
GeneralRe: Ride Control System Pin
David Chamberlain2-Oct-03 6:49
David Chamberlain2-Oct-03 6:49 
GeneralRe: Ride Control System Pin
immanis2-Oct-03 9:07
immanis2-Oct-03 9:07 
Youre right. Making each vehicle its own process is roughly how a real world implementation works, in fact, each vehicle has its own cpu, sensors, and wireless network connection, etc. It thinks for itself. And youre probably right that I shouldnt make the simulation this way. In the real world, the vehicle has to deal with many more variables; variables that would be difficult (if not impossible) to model accurately (such as wheel slippage, motor over/underspeed, brake failure, etc).

But, once I get all the vehicle movement issues down, I do want the program to resemble a real world ride system in many aspects. I dont want it to be a black screen that asks the user for the values to 20 variables, then after a couple seconds, returns the guests per hour. I want to have a live track layout with vehicle location indicators, I want the user to be able to initiate vehicle stop and start commands, and I want the user to be able to change certain settings "on the fly" such as dispatch interval and vehicles on track. I also want there to be different operational modes, such as manual mode, auto mode, test mode and maybe passive mode.
Manual mode would require all vehicle movement inside the station (boarding area and dispatch) to be commanded by the user(through the control system). After the user dispatches a vehicle into the "show" area of the track, vehicle control is given to the iteration system. When the vehicle returns to the station, it will not move unless it is ordered by the user (indirectly through the control system).
Auto mode would be the long term simulation mode, where time could be accelerated, and the station vehicles would be advanced automatically (based on real world load time averages).
Test mode would be where timeinzone and zone safety settings could be modified, to see how the vehicles would behave in a different track environment.
Passive mode is something different. In passive mode, the ride operates in the background, and the user is focused on rider grouping and vehicle load times. The only information displayed would be related to capacity and ride utilization.
Its essentially "The Great Ride Control System Game."
Any thoughts or comments?

"Your simulation model really consists of sensor inputs, processing (state transitions), and controller outputs, where the sensor inputs and controller outputs are "simulated" as opposed to being connected to hardware."

I've gotta write that down, because that is a perfect description of what I'm doing. The sensor inputs are essentially booleans. When the program is done, one should be able to apply the same logic to a real world hardware implementation; instead of a boolean being defined by a virtual vehicle movement function, it will be defined by a sensor, a physical circuit being open or closed.

You really hit the nail on the head there. Thanks for helping to clarify the design in my mind, and on my giant whiteboard.


GeneralRe: Ride Control System Pin
David Chamberlain2-Oct-03 9:52
David Chamberlain2-Oct-03 9:52 
GeneralRe: Ride Control System Pin
immanis2-Oct-03 12:21
immanis2-Oct-03 12:21 
GeneralRe: Ride Control System Pin
David Chamberlain3-Oct-03 3:10
David Chamberlain3-Oct-03 3:10 
GeneralRe: Ride Control System Pin
immanis3-Oct-03 6:23
immanis3-Oct-03 6:23 
GeneralRe: Ride Control System Pin
David Chamberlain3-Oct-03 6:57
David Chamberlain3-Oct-03 6:57 
GeneralRe: Ride Control System Pin
immanis3-Oct-03 10:18
immanis3-Oct-03 10:18 
GeneralRe: Ride Control System Pin
immanis2-Oct-03 13:30
immanis2-Oct-03 13:30 
GeneralClose a document programatically Pin
Kok Meng Cheong1-Oct-03 20:51
Kok Meng Cheong1-Oct-03 20:51 
GeneralRe: Close a document programatically Pin
David Crow2-Oct-03 3:22
David Crow2-Oct-03 3:22 
GeneralRe: Close a document programatically Pin
Kok Meng Cheong2-Oct-03 15:13
Kok Meng Cheong2-Oct-03 15:13 
GeneralRe: Close a document programatically Pin
David Crow3-Oct-03 2:56
David Crow3-Oct-03 2:56 
QuestionHow can I read a 'gif' file Pin
Anonymous1-Oct-03 20:28
Anonymous1-Oct-03 20:28 
AnswerRe: How can I read a 'gif' file Pin
KaЯl2-Oct-03 4:44
KaЯl2-Oct-03 4:44 
Generalautorun USB flash memory stick Pin
closecall1-Oct-03 19:49
closecall1-Oct-03 19:49 
GeneralMaking an Application Still Image-Aware Pin
shlim881-Oct-03 16:31
shlim881-Oct-03 16:31 
GeneralI need to make this more compact. Pin
esepich1-Oct-03 14:13
esepich1-Oct-03 14:13 
GeneralRe: I need to make this more compact. Pin
Maximilien1-Oct-03 14:30
Maximilien1-Oct-03 14:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.