Comments (5)
For sure! That is very narrow so yes it would only show zero. I will add that to the source. Thanks!
from agopengps.
Right comment, wrong question!
Serial ports are a real tough one in windows and C#. Also the serial ports are asynchronous - they don't wait for the main program and run in separate threads. Once that connection is lost, it needs to be manually reconnected. I tried really hard to get it to reconnect, but was unable. That being said though, a good installation makes sure power is provided to everything all the time - then no reconnection is required and makes it all very reliable. If it disconnects, it generally means there is a problem with the power and or installation. Ive seeded thousands of acres with the sectional relay part reading an RTK based GPS system, never lost communication.
Maybe one day i will figure out the reconnection thing. Its a tough one
from agopengps.
Hi,
On most of the vehicles I have, there is no easy connection to permanent 12v. Even when connecting directly to the battery the start engine may pull the voltage low enough for some of the devices on aux power to fall out. I am thinking about using a smaller secondary battery as a buffer.
I have found some indications on the net that some rs232-usb cables confuse their driver if they receive rs232 while being brought up by a booting host system. In my configuration, the SF300 antenna starts spitting out data almost immediately after power on while the Acer Switch one 10 take a while to respond on my button press to kick it alive. This causes the need to shut down AOG, unplug the usb-rs232 cable and then reconnect and start up AOG again. Solution is to keep the SF300 unpowered until the Acer is up running and then power the antenna.
A second setup that I have with an 8" windows tablet does not see this particluar problem with the need of a hard shutdown and disconnect when I start the vehicle after lunch break. There are tons of setup regarding sleep/hibernate when in power mode and battery mode on the terminals that may be different.
The deep failure to restart GPS capture seems to be very system setup dependent. I'll start with a simple power switch on my gps power.
from agopengps.
Yes it really is dependent on setup and hardware. I don't know how to make it work in all situations.
Uploaded new version on github today, yay!
Follow along here for discussion if you want. Just posted full parts list, schematic etc.
http://www.thecombineforum.com/forums/31-technology/296233-diy-autosteer-agopengps.html#post2993233
from agopengps.
Some ideas
https://stackoverflow.com/questions/11890940/reconnecting-to-com-after-lost-connection/#11899051
https://stackoverflow.com/questions/13408476/detecting-when-a-serialport-gets-disconnected
https://stackoverflow.com/questions/4199083/detect-serial-port-insertion-removal
https://stackoverflow.com/questions/37777626/how-can-my-application-recover-when-a-usb-emulated-serial-port-vanishes-and-reap
and some samples
https://github.com/fivepmtechnology/SharpGPS/blob/master/src/SharpGps/SerialPort.cs
https://github.com/dotMorten/NmeaParser/blob/main/src/NmeaParser/SerialPortDevice.Desktop.cs
https://github.com/jperson2000/GPS.Net/blob/master/Devices/SerialPort.cs
https://github.com/DotSpatial/DotSpatial/blob/master/Source/Core/DotSpatial.Positioning/SerialDevice.cs
(putting aside that the F9P has so many advanced settings that it seems hard none could make a difference here)
from agopengps.
Related Issues (20)
- AOG crashes on invalid config file HOT 2
- Serial monitor improvements
- Set IMU to 0 if there is no data present HOT 2
- Add more nuance to NTRIP server errors HOT 9
- Adaptive IMU-GPS balancing HOT 1
- IMU fusion slider can't exclude IMU HOT 2
- IMU Orientation isn't available in Steer Wizard HOT 4
- Distinguish between different "no signal" reasons HOT 2
- Option 'Dual As IMU' is in the wrong tab in the configuration. HOT 1
- JLCPCB order problem
- AgIO GUI displays incorrect LAT and LON Data HOT 6
- Lightbar adjustment missing? HOT 2
- Use IMU as a WAS HOT 9
- Agopengps HOT 1
- IMU Position compensation HOT 1
- Curves parallel to each other or crossing cause automatic steering to get confused
- taking into account the adjustment of the lightbar for use without autoguidance, particularly on quad HOT 2
- Window hidden because it appears out of screen HOT 2
- angle sensor HOT 4
- Speed indicator not working if there are no NMEA VTG message present HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from agopengps.