Coder Social home page Coder Social logo

Comments (5)

ttlappalainen avatar ttlappalainen commented on June 26, 2024

Hi,

I added parser for rudder position.

from nmea2000.

PeterSte avatar PeterSte commented on June 26, 2024

Hi

Wouwww, that was fast. Thank ´s a lot!

But seems a "cut and paste- Fault" made it into the code because the "Parse" Function is now double.
I removed the lines 336-341 and now it works :-)
336 inline bool ParseN2kRudder(const tN2kMsg &N2kMsg, double &RudderPosition) {
337 tN2kRudderDirectionOrder RudderDirectionOrder;
338 double AngleOrder;
339 unsigned char Instance;
340 return ParseN2kPGN127245(N2kMsg,RudderPosition,Instance,RudderDirectionOrder,AngleOrder);
341 }

Thanks again and best Wishes
Peter

from nmea2000.

ttlappalainen avatar ttlappalainen commented on June 26, 2024

It was not double. The other was overloaded version so that you do not need to provide Instance,RudderDirectionOrder,AngleOrder, if you are not interested them.

from nmea2000.

PeterSte avatar PeterSte commented on June 26, 2024

Ahhh, I think I got it know. "Instance" is truely the "instance" of Instance.RuderDirectionOrder and Instance.RudderAngleOrder. Sorry for understanding a bit slow :-)
Indeed if using your Libary for Performance Sailing only reading and parsing the RudderPosition is interresting. -> Just tested, works fine.
If using your Libary for to controll a autopilot your "Set-example" describes exactly how to use the Libary.
So both Applications should be covered now.
Thanks a lot!

from nmea2000.

PeterSte avatar PeterSte commented on June 26, 2024

Thanks again for the fast Implementaition.

from nmea2000.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.