This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ChatGPT to write python
#6
and something actually useful... takes a little while to dig into the manuals and find what plugin uses what sentence in opencpn..... there is a quicker way - ask ChatGPT!

" - what nmea0183 input sentence does the konni logbook in opencpn use to get wind speed?

- The Konni Logbook plugin in OpenCPN uses the NMEA0183 input sentence "$IIMWV" to get wind speed information. This sentence provides both the wind direction and wind speed data in knots. The sentence structure is as follows:

$IIMWV, x.x, R, x.x, N, A*hh<CR><LF>

where:

x.x = Wind direction in degrees True
R = Reference, R = Relative, T = True
x.x = Wind speed in knots
N = Wind speed units, N = Knots
A = Status, A = Active
*hh = Checksum
So the wind speed information can be extracted from the third field of this sentence, which is the wind speed value in knots."

Spoke with a coding friend yesterday, he said within a month of launch his company was using chatgpt to write a large proportion of their code, he said it was like having a junior - "Go and write a function to do this..", then they would check but usually fine. Also lots of their older code was getting put through chatgpt to optimise & make it more efficient. The future is here!!! ?
Reply


Messages In This Thread
ChatGPT to write python - by PaddyB - 2023-02-01, 12:40 PM
RE: ChatGPT to write python - by Sailoog - 2023-02-01, 04:27 PM
RE: ChatGPT to write python - by PaddyB - 2023-02-02, 05:33 AM
RE: ChatGPT to write python - by PaddyB - 2023-02-02, 10:35 AM
RE: ChatGPT to write python - by Sailoog - 2023-02-02, 01:47 PM
RE: ChatGPT to write python - by PaddyB - 2023-04-04, 02:40 PM
RE: ChatGPT to write python - by MigGat - 2023-04-06, 08:57 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)