W webhost.company Active Member Licensed User Longtime User Nov 11, 2024 #1 Hi, I use the GPS library for my app. My app is for car tablets to check speed and period service. There is a problem. I try show car speed on the label, but that is wrong value why? My car is moving 40km per hour but my the app show 10 km per hour
Hi, I use the GPS library for my app. My app is for car tablets to check speed and period service. There is a problem. I try show car speed on the label, but that is wrong value why? My car is moving 40km per hour but my the app show 10 km per hour
Almora Well-Known Member Licensed User Longtime User Nov 15, 2024 #3 The speed of the car cannot be the same as the speed on the GPS satellite.. Upvote 0
agraham Expert Licensed User Longtime User Nov 15, 2024 #4 Check that Location.SpeedValid is True. If it is then Location.Speed should give your speed in metres/second. Your reading of 10 m/s is 36 km/hr. Upvote 0
Check that Location.SpeedValid is True. If it is then Location.Speed should give your speed in metres/second. Your reading of 10 m/s is 36 km/hr.
W webhost.company Active Member Licensed User Longtime User Nov 16, 2024 #5 I used GPS library and the my car monitor is tablet that have a location sensor Upvote 0
W webhost.company Active Member Licensed User Longtime User Nov 19, 2024 #6 I used below code for convert speed * 3.6 but that is not right value Upvote 0
E emexes Expert Licensed User Longtime User Nov 19, 2024 #7 webhost.company said: but that is not right value Click to expand... How do you know it is not the right value? Car speedometers usually err on side of caution ie read higher than actual speed. So if your speedometer is showing 40 km/h then it is entirely plausible that your actual speed is 36 km/h. Upvote 0
webhost.company said: but that is not right value Click to expand... How do you know it is not the right value? Car speedometers usually err on side of caution ie read higher than actual speed. So if your speedometer is showing 40 km/h then it is entirely plausible that your actual speed is 36 km/h.
W webhost.company Active Member Licensed User Longtime User Nov 19, 2024 #8 emexes said: How do you know it is not the right value? Car speedometers usually err on side of caution ie read higher than actual speed. So if your speedometer is showing 40 km/h then it is entirely plausible that your actual speed is 36 km/h. Click to expand... Because max speed is 10 km while I'm running a car with 100km or 50km There is an app in the tablet monitor that show right speed I guess tablet GPS has a problem Upvote 0
emexes said: How do you know it is not the right value? Car speedometers usually err on side of caution ie read higher than actual speed. So if your speedometer is showing 40 km/h then it is entirely plausible that your actual speed is 36 km/h. Click to expand... Because max speed is 10 km while I'm running a car with 100km or 50km There is an app in the tablet monitor that show right speed I guess tablet GPS has a problem
DonManfred Expert Licensed User Longtime User Nov 19, 2024 #9 webhost.company said: I used below code for convert speed * 3.6 but that is not right value Click to expand... If you get a value of 10Meter/Sec then you need to calculate KM/H with speed = speed*60*60 36KM/H soundy plausible when your car shows 40KM/H Upvote 0
webhost.company said: I used below code for convert speed * 3.6 but that is not right value Click to expand... If you get a value of 10Meter/Sec then you need to calculate KM/H with speed = speed*60*60 36KM/H soundy plausible when your car shows 40KM/H
DonManfred Expert Licensed User Longtime User Nov 19, 2024 #10 darabon said: Please help me guys Click to expand... If you have any issue you need help with then you should start a NEW THREAD for your Issue telling us what you need help with. Upvote 0
darabon said: Please help me guys Click to expand... If you have any issue you need help with then you should start a NEW THREAD for your Issue telling us what you need help with.
E emexes Expert Licensed User Longtime User Nov 19, 2024 #11 webhost.company said: There is an app in the tablet monitor that show right speed I guess tablet GPS has a problem Click to expand... If there is an app on the same tablet that shows the right speed, then the problem is unlikely to be with the tablet. Is your B4A app always showing 10 (m/s? km/h?) or does it show other numbers as well? Especially 0 when stationary. Are you checking the SpeedValid flag too? https://www.b4x.com/android/help/gps.html#location_speed Upvote 0
webhost.company said: There is an app in the tablet monitor that show right speed I guess tablet GPS has a problem Click to expand... If there is an app on the same tablet that shows the right speed, then the problem is unlikely to be with the tablet. Is your B4A app always showing 10 (m/s? km/h?) or does it show other numbers as well? Especially 0 when stationary. Are you checking the SpeedValid flag too? https://www.b4x.com/android/help/gps.html#location_speed
W webhost.company Active Member Licensed User Longtime User Nov 19, 2024 #12 emexes said: If there is an app on the same tablet that shows the right speed, then the problem is unlikely to be with the tablet. Is your B4A app always showing 10 (m/s? km/h?) or does it show other numbers as well? Especially 0 when stationary. Are you checking the SpeedValid flag too? https://www.b4x.com/android/help/gps.html#location_speed Click to expand... Thanks check it soon Upvote 0
emexes said: If there is an app on the same tablet that shows the right speed, then the problem is unlikely to be with the tablet. Is your B4A app always showing 10 (m/s? km/h?) or does it show other numbers as well? Especially 0 when stationary. Are you checking the SpeedValid flag too? https://www.b4x.com/android/help/gps.html#location_speed Click to expand... Thanks check it soon
W webhost.company Active Member Licensed User Longtime User Nov 19, 2024 #13 DonManfred said: If you get a value of 10Meter/Sec then you need to calculate KM/H with speed = speed*60*60 36KM/H soundy plausible when your car shows 40KM/H Click to expand... Thank you I will try it Upvote 0
DonManfred said: If you get a value of 10Meter/Sec then you need to calculate KM/H with speed = speed*60*60 36KM/H soundy plausible when your car shows 40KM/H Click to expand... Thank you I will try it
W webhost.company Active Member Licensed User Longtime User Nov 20, 2024 #14 DonManfred said: If you get a value of 10Meter/Sec then you need to calculate KM/H with speed = speed*60*60 36KM/H soundy plausible when your car shows 40KM/H Click to expand... That's working for me Thanks DonManfred Upvote 0
DonManfred said: If you get a value of 10Meter/Sec then you need to calculate KM/H with speed = speed*60*60 36KM/H soundy plausible when your car shows 40KM/H Click to expand... That's working for me Thanks DonManfred