• Please take a moment and update your account profile. If you have an updated account profile with basic information on why you are on Air Warriors it will help other people respond to your posts. How do you update your profile you ask?

    Go here:

    Edit Account Details and Profile

ASTB ASTB-E Performance Based Measures (PBM) Subtest MATLAB Practice

RYW7

Member
Hey everyone,

This is my first post. I'm considering Navy OCS, and have been studying for the ASTB-E. There's a lot of gouge for the OAR and other sections, but not a lot for the PBM, so I've coded a simulator to help anyone who is interested to practice. This MATLAB simulator currently contains a 2D Joystick Target Tracking program, as well as a Dichotic Listening program. They are not integrated together yet. I tried my best to take forum accounts of everyone who has taken the PBM portion in order to make the most accurate simulator I can. I am using the Logitech Wingman Attack 2 Joystick, so a different joystick may have different button parameters. In addition, my CPU speed, resolution, etc. may produce varying results for those who run the code, which makes it necessary to sorta understand/code in MATLAB if you want to fix it.

The 2D tracking program creates a randomly moving target (simple random waypoint follower with random velocity, all arbitrarily defined). While the program runs, it records the distance between your joystick and the pip at all times, outputting a histogram at the end to give you some performance metrics. The code also allows you to replay same target trajectories to allow you to compare different practice sessions. The code saves the trajectory and your performance history.

The dichotic listening that records whether or not you clicked the correct button when the correct letter/number has been played in the correct ear. This portion is still not as rigorous as the ASTB one because it doesn't play through multiple ears at a time (yet), and there are some timing issues (too slow).

I'm taking the test soonish so I'm gonna stop working on these programs and start practicing them. Please let me know if you have any suggestions/would like to improve upon the code. I hope people can build on this and make a kickass program!


-bob

P.S.: The code is sloppy in some places. I'm not a CS major.
P.P.S., as a suggestion, here's an example of a log entry that I have:
upload_2015-8-26_1-14-1.png
 

Attachments

  • PBM_DichoticListening.zip
    11.8 MB · Views: 410
  • PBM_JoystickTargetTracker.zip
    1.1 MB · Views: 473
so i downloaded matlab and I'm trying to run the program. i don't have the joystick. I'm guessing that its not going to work with out the joystick.
 

ChrisO

Member
Do you have any updates or improvements on this? Did you take the test and how did you score? I'm thinking of buying a joystick and throttle to practice.
 

Ryankevin1201

New Member
This simulator is amazing. However, the real test has inverted vertical controls. Forward stick is down on the cursor. Backward on the stick is up on the cursor.

Is there a way to invert the controls like the real test?
 

indomitable

New Member
This simulator is amazing. However, the real test has inverted vertical controls. Forward stick is down on the cursor. Backward on the stick is up on the cursor.

Is there a way to invert the controls like the real test?

What did you need in order to run this program?
 

indomitable

New Member
Unfortunately I wasn't. You need Matlab to run the program, but unfortunately I'm not a computer whiz and couldn't get it to actually work with a throttle and joystick. Definitely let me know if you figure out a way to run it!
 

Nfech

New Member
Hey everyone,

This is my first post. I'm considering Navy OCS, and have been studying for the ASTB-E. There's a lot of gouge for the OAR and other sections, but not a lot for the PBM, so I've coded a simulator to help anyone who is interested to practice. This MATLAB simulator currently contains a 2D Joystick Target Tracking program, as well as a Dichotic Listening program. They are not integrated together yet. I tried my best to take forum accounts of everyone who has taken the PBM portion in order to make the most accurate simulator I can. I am using the Logitech Wingman Attack 2 Joystick, so a different joystick may have different button parameters. In addition, my CPU speed, resolution, etc. may produce varying results for those who run the code, which makes it necessary to sorta understand/code in MATLAB if you want to fix it.

The 2D tracking program creates a randomly moving target (simple random waypoint follower with random velocity, all arbitrarily defined). While the program runs, it records the distance between your joystick and the pip at all times, outputting a histogram at the end to give you some performance metrics. The code also allows you to replay same target trajectories to allow you to compare different practice sessions. The code saves the trajectory and your performance history.

The dichotic listening that records whether or not you clicked the correct button when the correct letter/number has been played in the correct ear. This portion is still not as rigorous as the ASTB one because it doesn't play through multiple ears at a time (yet), and there are some timing issues (too slow).

I'm taking the test soonish so I'm gonna stop working on these programs and start practicing them. Please let me know if you have any suggestions/would like to improve upon the code. I hope people can build on this and make a kickass program!


-bob

P.S.: The code is sloppy in some places. I'm not a CS major.
P.P.S., as a suggestion, here's an example of a log entry that I have:
View attachment 14898
Hey I tried to run the program with my joystick but I can't figure it out. I just clicked on the Target tracker thing and pressed run but it didn't do anything.
 

Nfech

New Member
so disregard that last question. But like someone else on this thread said, the actual test has inverted controls. is there any way that you can do that?
 

Dboom85

Banned
Hey everyone,

This is my first post. I'm considering Navy OCS, and have been studying for the ASTB-E. There's a lot of gouge for the OAR and other sections, but not a lot for the PBM, so I've coded a simulator to help anyone who is interested to practice. This MATLAB simulator currently contains a 2D Joystick Target Tracking program, as well as a Dichotic Listening program. They are not integrated together yet. I tried my best to take forum accounts of everyone who has taken the PBM portion in order to make the most accurate simulator I can. I am using the Logitech Wingman Attack 2 Joystick, so a different joystick may have different button parameters. In addition, my CPU speed, resolution, etc. may produce varying results for those who run the code, which makes it necessary to sorta understand/code in MATLAB if you want to fix it.

The 2D tracking program creates a randomly moving target (simple random waypoint follower with random velocity, all arbitrarily defined). While the program runs, it records the distance between your joystick and the pip at all times, outputting a histogram at the end to give you some performance metrics. The code also allows you to replay same target trajectories to allow you to compare different practice sessions. The code saves the trajectory and your performance history.

The dichotic listening that records whether or not you clicked the correct button when the correct letter/number has been played in the correct ear. This portion is still not as rigorous as the ASTB one because it doesn't play through multiple ears at a time (yet), and there are some timing issues (too slow).

I'm taking the test soonish so I'm gonna stop working on these programs and start practicing them. Please let me know if you have any suggestions/would like to improve upon the code. I hope people can build on this and make a kickass program!


-bob

P.S.: The code is sloppy in some places. I'm not a CS major.
P.P.S., as a suggestion, here's an example of a log entry that I have:
View attachment 14898
How would you suggest using this program if we don't have access to a joystick?
 

FinkUFreaky

Well-Known Member
pilot
Can someone close this thread? Seems like it was a cool idea and all, but clearly @RYW7 hasn't responded in half a decade... and COVID is likely the reason... And it keeps getting resurrected...

To the point, I've used MATLAB, but not in over a decade, and while I'm sure there is a way to invert the controls, you'd have to know how or have an engineer buddy in school that could do it for ya. You probably would want to buy a joystick if you want to simulate the test, if it still is the same as it was 5 years ago, in order to practice how you'd play it.
 

wonderb0iwl

Active Member
If anyone in the future is looking for a simulator, this thread has a really good in browser one.

https://jantzenx.github.io/ASTB/
 
Top