-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changing PC Software to work an 25m Pistol and 50m rifle #5
Comments
hi please understand that the project is still in beta testing and the time frame for further features is still uncertain. Allan also has to perfect the fabrication process. he is doing it manually as of now. but, in the interest of the current conversation, i would need exact specification of your 25m target. is it the free pistol target, used for 25m center fire precision stage also? since i only shoot 10 air pistol, i;m not too familiar with small bore targets/distances/disciplines |
hi, and thanks for your answer! i have played around a little bit and i found these settings in your code: if i change the 5.6 for example to 10 the value of the shot is calculated better but not right. here is the code for the 25m target (or in your words the Free Pistol 50m target): public const decimal innerTenRadiusPistol = 25m; the air pistol target has ring wide of 8mm and the 25m target has ring wide of 25mm, and the pellet caliber is different from 4.5mm air pistol to 5.6mm Free Pistol. did you have any informations when the boards will be deliverable or is this Allans part? Kind regards, Ralph |
as i wrote in the a code comment, i use linear interpolation using the calculations from here: http://targettalk.org/viewtopic.php?p=100591#p100591 i only work on the c# code. the boards are Allan's part |
i have found it and changed your code to his values and it seems to be working! i will continue with testing and i hope that i can get two sets of boards in the near future. |
cool |
these are very good news! |
Just joining at the end
I added a calibration message to my Arduino code.
How big is a 100 meter target 1 ring?
Allan
…Sent from my iPhone
On Aug 12, 2020, at 09:21, TigraTT ***@***.***> wrote:
these are very good news!
if you need help, for testing on ranges up to 100m, please contact me.
i also will try to improve my skills in C#, maybe i can make some easy changes, such as translation for example.
I have even made the translations for the Trace! shooting software.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I modified the Arduino code so that you can calibrate it for a larger target. The JSON message {"DIA":new size} to the Arduino will adjust the algorithm for the new sensor location. The sensors must be placed at least 1.4x the diameter apart. Right now I seem to have a problem with shots that are close to one sensor and far away from the other (ex 3 ring at 12'oclock) I think if I boost up the microphone sensitivity I should be OK. As Azmodan said earlier, right now time is the most expensive commodity, and with the summer and COVID, things are not moving as fast as I would hope. |
For the moment the microphones are picking up the 'pop' as the pellet passes the microphone I want to avoid the sound of hitting the target since that would need to add in a motor and witness paper. |
This is the code for 50m ISSF Rifle Target:
there is only the problem that the 10 is completely white, but is has to black with an inner circle like pistol target. |
TigraTT I do not have an answer about the cross talk issue on the target. I was hoping to get some data from the field. I am planning Version 3 of the board (Currently at 2.2) and might put a fifth microphone in to listen for loud noises and squelch the input for a few milliseconds. Prior to the COVID-19 I periodically worked in Wurzburg, Stuttgart and Villingen. If travel ever opens up again I will take you up on your offer. |
OK, Würzburg is about 240km from our Range, but it´s too far for "short visit" i think, Stuttgart is even further away. i have found the circles instead of a Dot for the Ten on the 50m ISSF target! i have discussed with my teammate that we do a 50m IISF Rifle Target at first, then we can use the original settings for the microphones, because the Air Pistol target is in the same size. (154,4mm to 155,5mm). |
i have made some more changes, and i think you will see then in my picture. |
yeah..that grid control is pretty finicky. i struggled a bit to make it look as it does now... |
i think the fontsize at all is not that important. The two changes for Last Shot and Total shots are OK (for me). Windage, Spread and so on are a less important when shooting. And after shooting you can put on your glasses and see everything fine. For your intereset: |
please post a stacktrace and/or screenshot of the error |
posted a change to make the target breakdown total bigger (to fit 109.0) |
hi Azmodan, the table now shows only full rings at pistol setting and tenth of a ring at rifle settings. i´m sorry, but my skills are not sufficient to correct the bug. |
your error is because you run the program from visual studio. for that, you need to install to external packages: SQLite and PDFSharp (with the NuGet tool from inside visual studio). check the readme.txt in the freETarget main directory |
OK; Understand. But this error is NOT coming up in the older version. Please don't get me wrong, i'm totally excited about the software and the project as itself, and i will make some advertising so that you can sell as much systems as possible! And i´m totally happy to be a small part of this project, it gives me lot of fun to learn more and more about it. |
the console can be hidden from the preferences window , uncheck the "display debug console". about the space... the problem with most UIs, is that they are drawn in raster mode (by pixels), not in vector mode. so to make it look good, you have to work with fixed and precise dimensions. if you go with vector UI, it will be very scalable, but it will look very ugly. (also, vector UI is a lot harder to implement, while the standard windows controls are there to be used) the list on the left of the target and the target breakdown on the right, are raster UI controls - that behave very bad when you try to resize them (scroll bars appear, text disappear, lines overlap or break apart and so on). that is why the left and right side are fixed in dimension (width), while the central target (that is drawn in vector mode) is scalable. i understand the need for clarity, but when working with normal PCs and laptops, they have a lot of dimensions ,resolutions and DPIs that make it impossible to get a fixed look - unlike industrial software, where the vendor sells the display unit also, so he knows exactly on what display the software will be shown and it will never change. i tried to make the essential UI elements (last shot score, target, timer) as big as possible - the shooter needs to see them while shooting. the other stuff is not needed while shooting and seeing it would be a distraction. the shooter should focus on the process, not on the score, right? ;) |
i agree, the different resolutions and formats are also a big problem i have to fight for every day with our scada software here in the company when customers change their hardware. |
at least i have changed a little bit for the 25m pistol target, there it was possible to get a "11,0! instead of 10.9. @ten-point-nine: |
i have made some more changes to the user interface. |
good idea. i;ll integrate it in the main sourcecode |
here is my code: Maybe i will also change the color of the text for inner tens to yellow and for the older shots to Gray? |
now at least here is my latest code and a screenshot:
|
I would like to add a feature to the UI
Download a firmware image from the PC to the Arduino.
Needs
A dialog box to locate the Arduino file
Open a serial port at 38,800
Send some control bytes to the Arduino
Send the contents if the file to the Arduino
Close the connection
Close the file
If I get the details of the flow can one of you code it?
Allan
…Sent from my iPhone
On Sep 9, 2020, at 05:49, Azmodan ***@***.***> wrote:
so you want the old shots (not the current one colored)? not the current one (last shot)?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Allan, sorry but thats too much for my poor skills in C# |
of course i can code it |
pushed the shot color customization to git |
i found that you have changed the fontcolour for all 10ring shots, i only have made Yellow for "Inner Tens", means over 10.2 |
inner ten means different decimal score depending on the target. for pistol it;s above 10.4 |
OK, thas right. |
with the latest download i get an SQL Lite error when debugging?? |
what error? |
yes. i added that check to make sure the journal database is accessible. |
OK i found it! |
i intend to refactor a lot of the "target" setup in order to support all target sizes. in there will be the place to setup more stuff like font size and the like |
There was a delay in getting production going so I took the opportunity to add an accessory connector to the board.
It provides power and ground and 4 logic/communication signals. The intention is to drive a paper roll or change from USB to something like RS-488
It would be easy to have a light driver to illuminate the target.
Allan
…Sent from my iPhone
On Sep 9, 2020, at 09:14, TigraTT ***@***.***> wrote:
you are my hero!
i think this project will grow and make many shooters happy with a cheap and simple electronic target for practice and training.
I have so many ideas to implement in such a training system, for example to work online with a Scatt or Trace! sensor, building time axles for analysing the shot rythm and so on.
A next step for evolution could be a LED lightning frame that could be controlled in brightnes and light colour by the user interface?
I have build a light frame for my training at home with a Trace! sensor, but the brightness is only adjustable by a poti.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
On the topic of external connections, will the Arduino shield allow for stacking shields?
I’d like to explore using a messaging protocol over ethernet or wifi, and would like to into face with a DIP switch or similar to set an identity for each target so each lane can be identified individually output captured mentally for competition scoring etc…
Martyn
… On 9 Sep 2020, at 15:29, Allan Brown ***@***.***> wrote:
There was a delay in getting production going so I took the opportunity to add an accessory connector to the board.
It provides power and ground and 4 logic/communication signals. The intention is to drive a paper roll or change from USB to something like RS-488
It would be easy to have a light driver to illuminate the target.
Allan
Sent from my iPhone
> On Sep 9, 2020, at 09:14, TigraTT ***@***.***> wrote:
>
>
> you are my hero!
> i think this project will grow and make many shooters happy with a cheap and simple electronic target for practice and training.
>
> I have so many ideas to implement in such a training system, for example to work online with a Scatt or Trace! sensor, building time axles for analysing the shot rythm and so on.
>
> A next step for evolution could be a LED lightning frame that could be controlled in brightnes and light colour by the user interface?
> I have build a light frame for my training at home with a Trace! sensor, but the brightness is only adjustable by a poti.
>
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub, or unsubscribe.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#5 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AE3YGYWTCAZARAISKHPZXV3SE6GLTANCNFSM4P4JKR6A>.
|
At the present there is no plan to stack shields.
There is a jumper heading on the board that could be used as a lane selector. There is also provision to download an electronic DIP switch setting via JSON but currently there is no software that uses it
The accessory connector can be used to drive an external Ethernet or WiFi link if the software was added
Allan
…Sent from my iPhone
On Sep 9, 2020, at 09:36, Martyn Bedford ***@***.***> wrote:
On the topic of external connections, will the Arduino shield allow for stacking shields?
I’d like to explore using a messaging protocol over ethernet or wifi, and would like to into face with a DIP switch or similar to set an identity for each target so each lane can be identified individually output captured mentally for competition scoring etc…
Martyn
> On 9 Sep 2020, at 15:29, Allan Brown ***@***.***> wrote:
>
>
> There was a delay in getting production going so I took the opportunity to add an accessory connector to the board.
>
> It provides power and ground and 4 logic/communication signals. The intention is to drive a paper roll or change from USB to something like RS-488
>
> It would be easy to have a light driver to illuminate the target.
>
> Allan
>
> Sent from my iPhone
>
> > On Sep 9, 2020, at 09:14, TigraTT ***@***.***> wrote:
> >
> >
> > you are my hero!
> > i think this project will grow and make many shooters happy with a cheap and simple electronic target for practice and training.
> >
> > I have so many ideas to implement in such a training system, for example to work online with a Scatt or Trace! sensor, building time axles for analysing the shot rythm and so on.
> >
> > A next step for evolution could be a LED lightning frame that could be controlled in brightnes and light colour by the user interface?
> > I have build a light frame for my training at home with a Trace! sensor, but the brightness is only adjustable by a poti.
> >
> >
> > —
> > You are receiving this because you were mentioned.
> > Reply to this email directly, view it on GitHub, or unsubscribe.
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub <#5 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AE3YGYWTCAZARAISKHPZXV3SE6GLTANCNFSM4P4JKR6A>.
>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
multiple targets should be linked at the PC software level... |
Doing it at the PC software level would be a real bottleneck and make it very dependent upon a complex solution, using a pub sub message protocol you can decouple the target, the display and the aggregator. This means that you can connect displays to a message bus, dial in the lane number and all the connectivity is solved. It also means that you are not dependent on one PC solution for displaying shots, you could use phone, tablets etc... |
Sorry I haven't looked recently at the Arduino code, what protocol are you using between the shield and the mega, I2C or SPI? an ethernet shield could sit between the shield and the mega, using I2C or SPI should mean they don't interfere with each other.
|
My board uses about 40 GPIOs to access the data acquisition hardware.
Allan
…Sent from my iPhone
On Sep 9, 2020, at 10:31, Martyn Bedford ***@***.***> wrote:
Sorry I haven't looked recently at the Arduino code, what protocol are you using between the shield and the mega, I2C or SPI? an ethernet shield could sit between the shield and the mega, using I2C or SPI should mean they don't interfere with each other.
At the present there is no plan to stack shields. There is a jumper heading on the board that could be used as a lane selector. There is also provision to download an electronic DIP switch setting via JSON but currently there is no software that uses it The accessory connector can be used to drive an external Ethernet or WiFi link if the software was added Allan
…
Sent from my iPhone
On Sep 9, 2020, at 09:36, Martyn Bedford @.> wrote: On the topic of external connections, will the Arduino shield allow for stacking shields? I’d like to explore using a messaging protocol over ethernet or wifi, and would like to into face with a DIP switch or similar to set an identity for each target so each lane can be identified individually output captured mentally for competition scoring etc… Martyn > On 9 Sep 2020, at 15:29, Allan Brown @.> wrote: > > > There was a delay in getting production going so I took the opportunity to add an accessory connector to the board. > > It provides power and ground and 4 logic/communication signals. The intention is to drive a paper roll or change from USB to something like RS-488 > > It would be easy to have a light driver to illuminate the target. > > Allan > > Sent from my iPhone > > > On Sep 9, 2020, at 09:14, TigraTT @.***> wrote: > > > > > > you are my hero! > > i think this project will grow and make many shooters happy with a cheap and simple electronic target for practice and training. > > > > I have so many ideas to implement in such a training system, for example to work online with a Scatt or Trace! sensor, building time axles for analysing the shot rythm and so on. > > > > A next step for evolution could be a LED lightning frame that could be controlled in brightnes and light colour by the user interface? > > I have build a light frame for my training at home with a Trace! sensor, but the brightness is only adjustable by a poti. > > > > > > — > > You are receiving this because you were mentioned. > > Reply to this email directly, view it on GitHub, or unsubscribe. > — > You are receiving this because you are subscribed to this thread. > Reply to this email directly, view it on GitHub <#5 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE3YGYWTCAZARAISKHPZXV3SE6GLTANCNFSM4P4JKR6A. > — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
SPI on the mega uses pins: 50 (MISO), 51 (MOSI), 52 (SCK), 53 (SS) I seem to remember that they may be re addressable if in use, are you using 50 through 51? |
The accessory connector will have two serial ports plus power and ground. The serial ports can be configured as discretes if needed
The SPI port is used to access the temperature probe
Allan
…Sent from my iPhone
On Sep 9, 2020, at 10:59, Martyn Bedford ***@***.***> wrote:
SPI on the mega uses pins: 50 (MISO), 51 (MOSI), 52 (SCK), 53 (SS) I seem to remember that they may be re addressable if in use, are you using 50 through 51?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
i do not have any idea how to combine Scatt or Trace! to freeTarget, but i know that there is a former german 1. Leage shooter who has developed it with a Scatt (Pro or Expert) and Meyton frames. |
i also have a trace sensor: https://youtu.be/BLASfH1EcN4 . it would be nice to link them. |
Probably worth keeping these conversations going as it explores what can be
done with the data being produced by Alan’s hardware.
If we keep the conversation at the data interface level we don’t become
constrained by any specific software solution.
On 9 Sep 2020, at 20:18, Azmodan <notifications@github.com> wrote:
i also have a trace sensor. it would be nice to link them.
but first things first. let;s make sure basic functionality is working.
(10m shooting). when that is working smoothly, Allan has the production
pipeline running and more people are using the system, we;ll talk about new
features.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE3YGYXNYFZEADZ6M3MIUJ3SE7IHFANCNFSM4P4JKR6A>
.
|
i agree wit Azmodan, at first we should get a good working 10m solution and then we can continue with developing other targets and distances. (in case i have changed the targets in my user interface before having any hardware) |
dear Azmodan,
i did not know if we are in contact before, but i´m in contact with Allann over messanger.
And i´m sorry, but i could not reach you ofer the Meisterschützen Forum or any other way, so i post my question here.
at first a big thank your for giving us this freeware, i think your project could be a very good solution for all shooters to get a cheap electronic target.
I chat with Allan for ordering two sets of electronic boards, but actual they have a longer delivery time. If i understand him right??
You have to know that my skills in programming are not so good, and C# is completely new for me. I am working in industrial automation and there i know several PLC systems and a little bit VB.net.
I have loaded the software and i could change for example the air pistol target to a 25m .22 Pistol target. (in Germany we use the same target for smallbore rifle at 100m)
Also i have changed the zoom so if i change between Pistol and rifle, the targets are both fullscreen.
My Problem is, if i make some shots (with the simulation) i get the right picture but the shot value is wrong. (On the 25m target!)
For example a shot in "Center" is right with 10.9, but a shot with -30 and 0 is a 7,2 instead of a 9,8?
I understand that the value is calculated for the 10m air pistol target, but i do not find this part in your program to change this calculation offset to my new target.
(30mm on the ar pistol arget seems to be a 7,2)
I think if you can add a 25m Pistol target and also a 50m rifle target this would bring a great boost for your free Target and you can sell many of the boards.
as i read in Facebook oder some shooters forums this question is coming up from different users?
I want to build up two completely working targets to show them in my club, to convince other shooters to invest in 8 more targets, because then we have all our 50m and 100m lines running electronic targets. If we want to buy them at Meyton, Sius, Seta or others, this will cost ust about 50.000€ and this is money we do not have.
Did you test for example with USB to Ethernet adapters to get a longer distance than 10m??
Kind regards, and thanks a lot for your free work!
Ralph
The text was updated successfully, but these errors were encountered: