Locus cannot use the internal pedometer

Started by Graf Geo, March 20, 2023, 11:37:09

0 Members and 1 Guest are viewing this topic.

Graf Geo

Most modern smartphones have a built-in pedometer, including my SG S10. I have numerous apps that can access this and display the steps correctly. In Locus this does not work, the field "Strides" in the track recording always shows only 0 strides. See screenshot.

The app permission "Physical activity" is granted.
SG S10, Android 12
  •  

Graf Geo

Yes I'm shure. I repeat:

... a built-in pedometer, including my SG S10. I have numerous apps that can access this and display the steps correctly.
SG S10, Android 12
  •  

Andrew Heard

Most modern smartphones will have a built-in accelerometer - some info here, which can be used to detect steps. Not likely a specific pedometer sensor.

S10 spec
You cannot view this attachment.
LM4.24.3.3 GOLD user ID:c7d47597a
  •  

Graf Geo

Hmm, I have an app called Mein Gerät pro (My device pro). SG S10.

The list of all sensors includes:

LSM6DSO Acceleration Sensor

AND

SAMSUNG Step Counter Sensor
SG S10, Android 12
  •  

Andrew Heard

I suspect it is not very common to have specific hardware for a step count sensor. More (most?) phones will implement this through operating system software, using the accelerometer - https://developer.android.com/guide/topics/sensors/sensors_motion.
LM4.24.3.3 GOLD user ID:c7d47597a
  •  

Tapio

#5
Using Tasker by any chance? The action "Test sensor" will probably be able to read out this sensor. I use it to write step stats into track waypoints.

But now indeed I'm wondering if LM4 shouldn't make use of that sensor natively, if it exists. Huawei Mate 20 X here. Have not looked at that info in track recording screen, but they are not available in track stats. Which they could.
Tapiola MFV4+ theme for OAM Maps:
Discuss - Releases - DL latest - Install latest
  •  

Andrew Heard

#6
Quote from: Tapio on April 09, 2023, 10:39:50Using Tasker by any chance? The action "Test sensor" will probably be able to read out this sensor.
@Tapio - tested on a tablet - Tasker task summary: "Test Sensor Type:Pedometer - Com.qti.pedometer". Then on a phone, there is no sensor Type:Pedometer, the closest is Sumsung Step Detector, or Sumsung Step Counter. So I guess each device will have different names. Somewhat of a minefield. Neither device has specific hardware BTW.

When I run the task on each device there is an eventual timeout.
LM4.24.3.3 GOLD user ID:c7d47597a
  •  

Tapio

Quote from: Andrew Heard on April 09, 2023, 23:59:33"Test Sensor Type:Pedometer - Com.qti.pedometer". Then on a phone, there is no sensor Type:Pedometer, the closest is Sumsung Step Detector, or Sumsung Step Counter. So I guess each device will have different names.
Minefield, yes, maybe... Is it sensor #19? I reference them by number. IDK if that would be safer cross-device...
Tapiola MFV4+ theme for OAM Maps:
Discuss - Releases - DL latest - Install latest
  •  

Andrew Heard

Quote from: Tapio on April 10, 2023, 07:23:36Is it sensor #19?
@Tapio - I initially tried to use the # but unfortunately not, both were large (& different) decimal numbers, sort of like 1234567
LM4.24.3.3 GOLD user ID:c7d47597a
  •  
    The following users thanked this post: Tapio