List of rotation matrix for object projection on screen in android -


i have vector x , y gps latitude , longitude of device position , target object. draw marker on target object on screen need transformation vector. transform need use rotation matrices. have created list of rotation matrices. point not being drawn on correct position. think m missing rotation matrices. below list

  1. rotation being landscape x axis -90 degree
  2. remap coordinate after getting rotation getrotation() method

my point being shown left of main object. y axis guess. projection correct that's taken opengl. think missing rotation y axis. please help.

yes missing rotation y-axis. error magnetic north not being same true north. magnetic north moving nw @ speed of 40km/year true north. result need calculate deflection of magnetic sensor north @ position true north.

problem deflection different @ different position , different time. android gives method calculate deflection @ position given latitude,longitude , current time. method getdeclination () , use below angle

 gmf = new geomagneticfield((float)latitude,(float)longitude,(float)altitude,   system.currenttimemillis());  angley = math.toradians(-gmf.getdeclination()); 

for reference take @ geomagneticfield


Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -