sap.conf 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. ################################
  2. # Sensor Settings
  3. ################################
  4. #The following parameters are optional.
  5. #Internal defaults support MEMS sensors
  6. #native to most handset devices.
  7. #Device specific sensor characterization
  8. #for improved performance is possible as
  9. #described in SAP application notes.
  10. #GYRO_BIAS_RANDOM_WALK=
  11. #ACCEL_RANDOM_WALK_SPECTRAL_DENSITY=
  12. #ANGLE_RANDOM_WALK_SPECTRAL_DENSITY=
  13. #RATE_RANDOM_WALK_SPECTRAL_DENSITY=
  14. #VELOCITY_RANDOM_WALK_SPECTRAL_DENSITY=
  15. # Sensor Sampling Rate Parameters for Low-Data Rate Filter (should be greater than 0)
  16. # used in loc_eng_reinit
  17. SENSOR_ACCEL_BATCHES_PER_SEC=2
  18. SENSOR_ACCEL_SAMPLES_PER_BATCH=5
  19. SENSOR_GYRO_BATCHES_PER_SEC=2
  20. SENSOR_GYRO_SAMPLES_PER_BATCH=5
  21. # Sensor Sampling Rate Parameters for High-Data Rate Filter (should be greater than 0)
  22. SENSOR_ACCEL_BATCHES_PER_SEC_HIGH=4
  23. SENSOR_ACCEL_SAMPLES_PER_BATCH_HIGH=25
  24. SENSOR_GYRO_BATCHES_PER_SEC_HIGH=4
  25. SENSOR_GYRO_SAMPLES_PER_BATCH_HIGH=25
  26. # Sensor Control Mode (0=AUTO, 1=FORCE_ON)
  27. # used in loc_eng_reinit
  28. SENSOR_CONTROL_MODE=0
  29. # Enable or Disable Sensors for GPS use (0=Enable, 1=Disable)
  30. # used in loc_eng_reinit
  31. SENSOR_USAGE=0
  32. # Choose GSIFF sensor provider (1=Snapdragon Sensors Core, 2=Android NDK)
  33. SENSOR_PROVIDER=1
  34. # Bit mask used to define which sensor algorithms are used.
  35. # Setting each bit has the following definition:
  36. # 0x1 - DISABLE_INS_POSITIONING_FILTER
  37. # 0x0 - ENABLE_INS_POSITIONING_FILTER
  38. SENSOR_ALGORITHM_CONFIG_MASK=0x1
  39. #Vehicle Network Provider configuration
  40. #Service configuration strings
  41. #The number before colon in VN_X items defines version of the format of the rest of the string
  42. #VN_ACCEL_CFG=0:5
  43. #VN_GYRO_CFG=0:5.5
  44. #VN_ODOMETRY_CFG=0:2,4.5
  45. VN_ACCEL_CFG=1:128,0,12,0.0048828125,12,12,0.0048828125,24,12,0.0048828125
  46. VN_GYRO_CFG=1:129,0,16,0.00006103515625,16,16,0.00006103515625,32,16,0.00006103515625
  47. VN_ODOMETRY_CFG=1:130,0,1,5,6,32
  48. VN_SPEED_CFG=1:131,5,8,1,2,3,1,1,9,2,14,2
  49. VN_DWS_CFG=1:132,5,8,1,2,3,1,1,5,2,7,2,9,2,11,2,13,2,15,2,17,2,19,2
  50. VN_GEAR_CFG=1:422,20,4,0,4,1,9,0,1,2,3,4,5,6,7,8
  51. #Procesors clock ratio: AP and CAN bus microcontroller
  52. VN_PROC_CLOCK_RATIO=1.93165618815148
  53. # Time source used by Sensor HAL
  54. # Setting this value controls accuracy of location sensor services.
  55. # 0 - Unknown
  56. # 1 - CLOCK_BOOTTIME
  57. # 2 - CLOCK_MONOTONIC
  58. # 3 - CLOCK_REALTIME
  59. # 4 - CLOCK_BOOTTIME using Alarm timer interface
  60. NDK_PROVIDER_TIME_SOURCE=1