Main > Lightguns

GUN4IR - The Ultimate 4 Points Lightgun System

<< < (194/226) > >>

krayon:
@JayBee,

Great project - especially for those in Countries that don't allow even imitation guns to be sent in the mail like Australia :censored: I've been wanting guns for years and this may indeed be an option.

Just FYI, given that your firmware is based on https://github.com/samuelballantyne , in some countries you are likely legally required to provide the source code and/or have a license with the original author in order to distribute. Having said that, I'm not a Lawyer :P

nightkiller05:
Hi guys, żis this project private? I mean, do I need to donate in order to access to the manual and/or firmware? I don't see any of these in the first post

mosios:

--- Quote from: shinichi on March 08, 2022, 01:28:59 am ---Hello everyone

i have this problem when i start the JB_GUN4IR_GUI.exe

I have already flashed the arduino, but when I try to configure it, this window appears with this error and the gun is not detected. I built the camera with a wiimote



this is the error message

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.


************** Exception Text **************
System.InvalidOperationException: The port is closed.
   at System.IO.Ports.SerialPort.Write(String text)
   at System.IO.Ports.SerialPort.WriteLine(String text)
   at JB_GUN4IR_GUI.MainGUI.getEepData(SerialPort _serialPort, Int32 addr, Int32& eepData)
   at JB_GUN4IR_GUI.MainGUI.detectArd(Boolean clear, Boolean nbr, String[,] boardList, String name, String board, Boolean isSerial)
   at JB_GUN4IR_GUI.MainGUI.detectGuns()
   at JB_GUN4IR_GUI.MainGUI.detectBut_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4470.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
JB_GUN4IR_GUI
    Assembly Version: 1.22.0.0
    Win32 Version: 1.22.0.0
    CodeBase: file:///C:/Users/Shin/Documents/proyectos/JB%20GUN4%20IRmanual%20de%20usuario%20v%201.2%20Ingles%20y%20Espa%C3%B1ol/JB_GUN4IR_GUI_1.26_FW_2.64/JB_GUN4IR_GUI.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4488.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4488.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4390.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4470.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

--------------------------------------------------------------------------------

Thank you very much to those who want to help me with this error

--- End quote ---

Are you using the Wiimote IR camera or DFrobot SEN0158? If it is the former, then it could be your connections on the IR camera is wrong.

JayBee:

--- Quote from: krayon on May 27, 2022, 09:47:13 am ---@JayBee,

Great project - especially for those in Countries that don't allow even imitation guns to be sent in the mail like Australia :censored: I've been wanting guns for years and this may indeed be an option.

Just FYI, given that your firmware is based on https://github.com/samuelballantyne , in some countries you are likely legally required to provide the source code and/or have a license with the original author in order to distribute. Having said that, I'm not a Lawyer :P

--- End quote ---
The project is in no way based on samco system.
If I was using his source code, 4 points like I do wouldn't be even be possible.
Sam did an awesome job with his original project, but making a working 4 leds system like mine was a novelty at the time.
But good attempt to try getting my source code.

JayBee:

--- Quote from: mosios on June 02, 2022, 10:55:45 am ---Are you using the Wiimote IR camera or DFrobot SEN0158? If it is the former, then it could be your connections on the IR camera is wrong.

--- End quote ---
Indeed it sounds like a communication problem with the cam.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version