Log in

View Full Version : SENS_GPS


owaits
October 14th, 2011, 03:54 AM
Can I suggest that we add a new sensor type called GPS. This will report the Latitude and Longitude position of the device.

It would also involve adding new unit types for Latitude and Longitude.

ericthegeek
October 14th, 2011, 09:02 AM
For a GPS position, you could use two sensors with SENS_ANGLE and UNITS_DEGREE.

Unfortunately, the 16-bit resolution of RDM sensors won't work very well for GPS because of the large scale. Depending on where you are on the earth, you'll only get about 1/2 mile resolution. You could break each value into two sensors, and report the full degree and fractional degree parts separately.

owaits
October 14th, 2011, 09:37 AM
Would using angle not make it difficult for the software to display it as a Lat / Long and use it? Splitting it up sounds sensible.

I do not know of any lighting device that have GPS but think it is not beyond the bounds of reason that this might happen fairly soon. When you read in LSI of a whole city being lit up a GPS sensor in a fixture does not seem so stupid.