Accelerometer to detect Walking or Driving - General Questions and Answers

Ok, so i have a tracking program i made for my phone in C#, basically it uses my GPS gets coords stores in db then uploads then to a server which tracks me on gmaps.... now we have little icons for a car or a person walking... but no way to tell the difference, so my idea was to use the Accelerometer to tell if i was walking or driving, but i have no idea where to begin or if this is even possible? ideas?

I don't know about the accelerometer but you may just want to put a speed cap on the "icons"
ex if your tracked speed is less than 10 miles an hour your icon would be a person, if higher than 10 your icon would be a car (maybe specify a time so that every time you stop at a light your icon continues as a car)

Related

annoying exercise tracking

Hi,
Annoyingly my S2 classic thinks I'm riding a bicycle whenever I'm riding my motorcycle? Which is annoying because S-health then reckons I've burnt loads of calories. I'm just wondering why this is as surely if it works on speed it should figure that I'm actually in/on a motorized vehicle especially from like 40 mph upwards? My only other explanation is that it uses the gyroscope and/or accelerometer to figure out that I'm holding on to handle bars?
Also is there anyway to change this so I can tell S-health that I wasn't riding a bicycle?
I have the same problem. Is there even a way to delete the data?

Anybody tried cycling mode? Doesn't track distance...

Hi guys,
I'm using the S3 a lot for tracking my running and that's going pretty good. Really good actually. Satellites are locked super fast, in 4 or 5 seconds and tracking is accurate.
Today I tried the cycling activity. Unfortunately it does not track kms. Time and heart rate are logged but no distance.
I tried multiple times, satellite is locked, the program is running, time is ticking.
Does anybody have any experience, do I forget to do something?
Nobody tried cycling mode?
Not intentionally, a couple of times driving the S3 has decided I am cycling and offers encouragement.
If you start it manually I recall it has ALL the distance details, including a summary map. I don't think you get that if it senses a ride and starts automatically.
Sent from my SAMSUNG-SM-G935A using Tapatalk
Well, I started it as an activity, so manually.
I'll do it again in a bit, see what happens.
With auto detecting it doesn't seem to use the GPS, like running is detected fine but no track logging.
Update : 1 just cycled 200 meters and it tracked 170. First 30 locking the satellites.
So... Why it didn't do anything yesterday, trying a bunch of times, booting in between, beats me. Maybe it's today's health update?
I'm having the same problem, walking tracks distance covered, but Cycling doesn't. Calories and time were tracked, but not distance. Really disappointing.
I use my Gear S3 to track my cycling activity all the time.
I go to the S Health app on the watch, set activity type to cycling then set a "target" based on how far I plan to cycle.
Whilst in the setup part of the watch app there are selectable options for "location" (make sure you are selecting this or it won't track where you are, which may be why you're not getting distance?)
I also select "auto pause" to pause tracking if I stop cycling. I then scroll up to the top and hit Go.
After a 3 second countdown it starts tracking my ride.
If I stop cycling briefly (at red traffic lights etc) the watch automatically pauses tracking. When I start riding again it automatically starts tracking again.
At the end of the ride I simply choose finish on the watch and confirm I wan't to finish.
It then syncs all manner of information with my phones S Health app including:
A map of the ride showing my route
Total distance (which is always with a few metres of my Cateye bike computer)
Total duration (e.g. the total time from starting the watch to hitting finish, including time the watch paused due to me being stationary)
Workout duration (the time I was actually moving)
Average & maximum speed
Average pace & maximum pace
Lowest & highest elevation
Total ascent & decent
Average & maximum heart rate
Workout calories & total calories
Weather
There is also a Selectable option to show the whole ride on a graph broken down by up to 2 options from speed/heart rate/elevation
When I used to rely on the Gear S3 workout detection to pickup my cycling, the information available at the end was very limited.
It works brilliantly when I set it manually before my ride (and only takes a few seconds too)
Do you have your phone with you while you cycle?
As I understand when your watch is connected to phone it uses phone for location.
I had a same problem and after I turned location on phone Off and than back to On problem disappeared.
Not sure if this is your problem but it is worth a try

GPS accuracy improvements?

Does anyone else have issues with the GPS accuracy? When looking at the map on activities, it seems pretty close. The total distance it records is way off. Over 25%. At the third lap around the track it's saying I hit a mile... If I look at the map, it shows me on the track for each lap. Don't get it. Any recommendations?
Same issue here. I'm constantly seeing 33%-40% less total distance when running short laps (~400m). Have returned my watch.
I used my watch >10x without any issue.
To all who believe having problems or concerns, please keep in mind the gps accuracy is limited by its technology. Every device calculates, averages and interpolates a bit different. And even after a gps fix it may need some time ...seconds,minutes... to find more satellites until max accuracy has been reached.
In general i would not expect a very precise value at short distances like 400m ...
the problem nice spoken / beautifully spoken
without any solution
It seems to me that, because of a low GPS refresh rate, it goes wrong when you make a turn. Instead of recording a distance of A+B, it records sqrt(A^2+B^2). Makes me feel less good about myself after running
At least, this happens when I let Google Fit record my running session. It might be that GPS refresh rates are determined by hardware, in which case using another application will not improve this. If it is determined by software, other running applications may work better. Anyone any experience?

Any app that does this?

sometimes i put my phone in my bed and i forget its there so it ends up falling to the ground,
i usually have it in a vertical stand,
there is any app or task manager that i can config so it remmembers me with a beep the phone is not vertical, and therefor,
it will keep beeping once every hour for example, and when its vertical, to stop,
thanks
spalnndsstest said:
sometimes i put my phone in my bed and i forget its there so it ends up falling to the ground,
i usually have it in a vertical stand,
there is any app or task manager that i can config so it remmembers me with a beep the phone is not vertical, and therefor,
it will keep beeping once every hour for example, and when its vertical, to stop,
thanks
Click to expand...
Click to collapse
You should be able to concoct a simple DroidScript for yourself using the easily accessible motion sensors. Now, JavaScript doesn't have a built-in "sleep" timer (to save on processor cycles and battery life), however: You can usually wrap your own or copy someone else's sleep function and use that.
You could even create a task-manager type scheduler or just use the DroidScript itself to act as a time-based scheduled event to launch between X and Y hours every Z days (infinite I'd assume!).
If you're asking if there's a pre-made application to address this small injunction of luxury of life: I do not believe so; I say that based around the belief that not too many persons have such ideas let alone that issue. Who knows? Maybe I'm totally wrong and you could become a millionaire by being the first one to write it!
You could get your 10 minutes of fame on the Google Play Store!!!

HELP needed with Note 10. GPS accuracy issue, overheating whilst using Android Auto.

Hi
I've tried to find relevant info here but have failed...
Right were do I start?
I use Samsung Note 10 heavily for:
Android Auto
-Navigation (Google and Waze)
-Spotify
-Youtube Downloader (to play sound in the back ground)
-phone calls
GPS status app installed with A-GPS data updated.
Phone screen is always on with Courier Exchange app that uses GPS location etc
1. Main issue I get is GPS location accuracy whilst in big cities with Google maps (Waze is similar) , during navigation my position is shown with a delay and very often drive past the street I suppose to turn in or my position jumps to a street next to. After a stop for lets say 5-10 min if I start to drive again it takes about 60 sec until it picks up my location correctly again. Navigation works fine on motorways and in small towns.
I do use magnetic phone holder (the one that goes into a vent and with metal plate sicked onto a back of the phone) - could this be the issue? (never had that problem on Sony Xperia One) . Compass is calibrated and seems to be working correctly.
Phone additional Google accuracy settings (WiFi) needs to be on as this is requirement of CourierExchange app.
2. Second issue I get is phone overheating and slowing down dramatically.
As I've mentioned before I use Android Auto all the time ( for about 8-10hrs a day) , phone is charging constantly (fast charge off) and I do use Spotify / Youtube Mate to listen to music in the background. Had to switch off screen animation to speed the phone up.
I do have "Power mode" switched off for maximum performance. Phone gets very hot from time to time and tend to slow down, google maps scrolling on the vans unit slows down. Sometimes phone doesn't react on touch too.
Am I lacking the RAM here? Is the constant charging an issue (phone needs to be connected via USBcable to use Android Auto). My vent where the phone is located is closed so no hot air blows on the phone directly.
Is the phone simply too slow what I do or there's an Issue whit the phone? Phone is 3 weeks old and don't have many apps installed on it..
I did use Sony Xperia One (with magnetic phone holder in exactly same spot) before and due to its size and lack of dual sim option have decided to go for Note 10 (not 10+ which is too big). Sony worked so much faster and absolutely no issue with GPS between high buildings. Also I'm a little worried about lack of battery care by Samsung (or am I wrong?) as I constantly charge phone, Sony here was learning my habits and after some time didn't allow the phone to be fully charged whilst using Android Auto - had Xperia XZ1 Compact before and this one was also faster then Note 10 and after 2 years of heavy use battery is like new....
Can anyone help me resolve above issues? I still have the Sony One and thinking of getting rid of Samsung if the issues continue - this is costing me money.
For any help and advise what to do I will be very grateful.
I also experience the GPS issues you explain. Sitting still at a stop light and suddenly it's recalculating because I'm suddenly on a side street 500' away. I've never noticed any heat issue while using AA. I do not use any kind of mount. Also, my wifi calling often fails due to location unavailable error.

Categories

Resources