Since I have follow target and got the mast height working, the next thing I wanted to implement was another way to determine target speed. Currently you have the SH4 way of determining speed (take a range reading, wait some period of time, take another range reading and then the XO will tell you the speed). Specifically I was wanting the SH3 style speed determination. SH3 style speed determination had you lock onto the target (follow target in this case), take an initial range reading, set the target's AOB, then click on the start timing icon. After you let it time for whatever period you wanted you click the timing icon again and speed was shown. Well I've made that for SH5 now Antar gave me the formula to use so big thanks to him
A new order category icon has been added to WEPS. It's just to the right of follow target and it's tooltip says 'Determine target speed'. If you have follow target enabled (you are following a target) then the new determine speed icon is available (otherwise it's disabled). Clicking it will highlight it gold and a message will display in the messagebox saying 'Determining target speed'. Once you've let it time for the period you're wanting you click the new icon again to cease timing and get the target's speed. When you do a new message will appear in the messagebox saying 'Target speed is x knots' (in my screenshot below I have to add knots to the message yet - just caught that error). The speed accuracy is only as accurate as your range estimate and AOB input. It's best to let it time for at least 30 seconds and it's best to have the target broadside for best speed measurements.
NOTE: this does not automatically set the speed in the TDC or in the XO TDC dialog box! I have not been able to set the TDC speed dial with code yet. Thus you will have to take the speed given and input it into the TDC speed dial or input it into the XO TDC dialog box.