Is there a way to get heading into a Machine module without having any AutoSteer/IMU equipment?
I’m thinking about implementing turn compensation for a boom. Yaw rate would be best, guessing I can calculate that if I can get heading info?
Digging into Machine PGNs a bit more I find some inconsistencies with the documentation. I wonder if the Lspeed/Rspeed exists in another part of another PGN?
Its unclear to me. I was looking at Lspeed/Rspeed as being absolute speed of the outer tips of a spray boom.
I think, from what you are saying, since in a tight turn the inside(slow) tip could go to a negative speed, and the PGN dataLoad uses unsigned integers, a negative speed cannot be directly represented by uint8_t
So the Lspeed/Rspeed pair will report the faster tip as a uint8_t with a value representing incremental increase, while the slower tip shows 0x00.
Then use some arithmetic to figure the speed of slow tip (equal scalar but opposite sign) reduced from center speed?
But I still need to get a non zero value for one of the variables in the Lspeed/Rspeed pair.
In simulator, while driving around swerving left and right, and at varying speeds, I can sometimes get Lspeed to show 1, but Rspeed is always 0. I can’t find a driving pattern to get Lspeed =1, it almost seems random. I’m thinking that Autosteer or IMU (which I don’t have) is used to populate those PGN bytes. In any case a value of 1 is not meaningful for me.
It seems that Lspeed/Rspeed will not be usable for me to use in adjusting PWM nozzle values in turn compensation.
Maybe somebody has an answer, but I’m losing hope I can accomplish PWM turn compensation without AutoSteer.