- Updating get_properties method for gravity and linear
acceleration
Change-Id: I296dc7be45b201c55d151e7dac2e2b5325d5abc5
{
properties.min_range = -GRAVITY;
properties.max_range = GRAVITY;
- properties.resolution = 1;
+ properties.resolution = 0.000001;;
properties.vendor = m_vendor;
properties.name = SENSOR_NAME;
m_gravity_sensor->get_properties(properties);
properties.name = "Linear Acceleration Sensor";
properties.vendor = m_vendor;
+ properties.min_range = - 2 * GRAVITY;
+ properties.max_range = 2 * GRAVITY;
+ properties.resolution = 0.000001;
return true;
}