Open-Agriculture / AgIsoStack-plus-plus

AgIsoStack++ is the completely free open-source C++ ISOBUS library for everyone
https://agisostack.com/
MIT License
193 stars 43 forks source link

Expand VT Client Tutorial #234

Closed ad3154 closed 8 months ago

ad3154 commented 1 year ago

Is your feature request related to a problem? Please describe. We sometimes get questions about how some VT client interface functions work, and only really show simple button interactions in the VT client example.

Describe the solution you'd like I'd like to see the VT client expanded with additional kinds of interaction with the VT, such as changing strings, moving things, using object pointers, gauges, and things like that. This may help users of the project more easily create applications with the stack by having a broader set of working examples.

Describe alternatives you've considered There's only so much documentation can do in this regard, but we could also consider expanding the tutorial documentation to more clearly list the requirements and pitfalls of certain interactions with the VT.

bjoernpoettker commented 1 year ago

Hi guys,

I tried the seeder example but I got an error after uploading to my Fendt.

In the console it logs the following error:

[←[1;31mError←[0m][VT]: Error in end of object pool message.Faulty Object 6000 Faulty Object Parent 65535 Pool error bitmask value 9

ad3154 commented 1 year ago

Hello! This is probably because that object pool has version 4 options set in those objects (in this case object 6000 is one of several button objects with option bits for "transparent background" and "no border" set, which is not available in VT version 3). Do you know if your Fendt terminal supports version 4?

I can probably rework the object pool with a bit more effort to not use those options, and instead overlay some output rectangle over the buttons or something to make it more broadly compatible, so thank you for that feedback.

ad3154 commented 1 year ago

I've pushed an update to change the object pool to version 3. This example is still a work in progress, as I am adding an ISOBUS odometry interface to read speed information before fully completing it.