icon TrekBuddy
www.trekbuddy.net
Outdoor companion.
  • bluetooth / serial / internal GPS, simulator
  • offline raster maps (common grids and projections)
  • smart GPX / raw NMEA logs
  • waypoints and simple navigation
  • ... and more
  • MIDP and Symbian phones
  • Blackberry
  • Android
  • Windows Mobile 5.x/6.x
  • Windows Phone coming
Visit our wiki to see all features, guides and howtos. Project tracker.

Partners:    (Polish/Polski)(Polski) Compass mapy      (Polish/Polski)(Polski) Galileos mapy      (Polish/Polski)(Polski) CartoMedia      (Czech/Èesky)(Èesky) Eaglesoft trasy      (Polish/Polski)(Polski) ExpressMap     

 FAQFAQ   SearchSearch   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
map rotation, direction of movement up and smooth function

 
Post new topic   Reply to topic    TrekBuddy Forum Index -> WishList
View previous topic :: View next topic  
Author Message
guest



Joined: 08 Oct 2006
Posts: 3962

PostPosted: Thu Dec 02, 2010 10:50 am    Post subject: map rotation, direction of movement up and smooth function Reply with quote

I know that TB uses images as map and may be this feature will be difficult to implement anyway, any easy to use GPS navigation system have a feature to rotate maps (images in this case) so that the direction of movement is Up.

This will need also some smooth function in calculating direction since (but i'm not sure, i'm not such an heavy user of TB) TB write raw data from GPS and it seems not to apply any function to a set of positions; median of 3-5 positions (approx 1 every second and rolling) can be a starting point for a smooth function to determine direction and it will takes 6-10 seconds for first calculation and can update every second (but is better not to update so often, 4-6 seconds seems appropriate to me).

Smooth function can be used also for standard implementation of direction implementation and for tracklog (i found inaccurate positions due to specific reception problems sometimes, a smooth will fix such big positioning problems at a cost of some delay and a small byas).

Tanks for useful sw, best regards,
Daniele
Back to top
View user's profile Send private message Visit poster's website
guest



Joined: 08 Oct 2006
Posts: 3962

PostPosted: Thu Dec 02, 2010 2:45 pm    Post subject: found some code Reply with quote

http://discussion.forum.nokia.com/forum/showthread.php?206189-J2me-Image-Rotation
Back to top
View user's profile Send private message Visit poster's website
guest



Joined: 08 Oct 2006
Posts: 3962

PostPosted: Mon Dec 06, 2010 1:26 pm    Post subject: Reply with quote

Or using sprites?
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    TrekBuddy Forum Index -> WishList All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group