hi,
I need to plot a 3d contour map using longitude,latitude and elevation values.
I have tried opengl. But its difficult to draw contour there. How can I proceed? Please help
Related
Hi all,
Since the Touch Diamond has accelerometers in the X Y and Z space axis, is it not possible to try and create an Inertial Navigation System. For those who are not sure, it INS uses the accelerometers to assess the movement of the device. So long as the user states the start point and north orientation do you think it possible to do it and to create the software. If it is, then we could do without GPS, afterall, aircraft have used INS for a long time now (albiet theyalso used a gyro). It's not as accurate as GPS but it'll certainly work as a navigation device.
Any comments or help in doing this?
Some GPS systems use inertial navigation for better positioning when in tunners or low coverage areas.
The idea could be simple, a program that read the GPS data, mix them with the G-Sensor data and (why not!) with the TMC data recovered from the FM radio and publish them in a new virtual serial port.
But doing it is not so simple
I think its not dificul to trie i already post the idia in other forum, get the gps data, mix whit the acc, and start counting speed changes in forward . left/right and i think we can get a 600m bonus before black out.
600m whit simple formulas, complex ones give you much more.
Ikari said:
I think its not dificul to trie i already post the idia in other forum, get the gps data, mix whit the acc, and start counting speed changes in forward . left/right and i think we can get a 600m bonus before black out.
600m whit simple formulas, complex ones give you much more.
Click to expand...
Click to collapse
The idea is simple yes - implementing such system is a lot more difficult than one could imagine though. It'll only be accurate for a short distance, before the errors become so large it's not feasible (due to double integration).
Hi,
I am looking for an app that uses the HD2 sensors to measure the angle on incline? Somewhat related to the Digital compass and bubble leveller.
Measuring using the X axis, Y axis & Z axis, similar to Gyrator2 works out the axis level and hence when to rotate.
Im hoping to place my HD2 on a surface and it display the angle of incline, like a virtual protractor.
Thanks
This is what i was after.
http://www.pocketkai.net/asp/en/ind...p://www.pocketkai.net/asp/en/details.aspx?478
I saw it before too, but thought it was only a bubble leveller, but it actually does what i need.
Thread can be deleted by mods if they choose.
Hi All,
I would like to use the HTC HD2 build-in digital compass for navigation. Unfortnatually there is no possibility to input the coordinates manually. By clicking on the google map is for me no solution, because I have only the coordinates. So far the situation.
(by the way - I know about all and the best geocachesoftware ;-)... so please do not give me advise to use one of them: I want to use the build-in compass, I just like it!!!)
To be able to input the coordinates, following registry-inputs have to be changed:
\\\registry\HKLM\Software\HTC\DigitalCompass\...
--> PickedLongitude: coordinate in degree
--> PickedLatitude: coordinate in degree
--> IsDestinationMode: 0 --> 1
after changing, the digital compass has to be started: New target is set
It works but it is of course very uncomfortable. So I would like to use an user-interface. Is somewhere out there a GUI for this application? If not, would somebody of you like to make one? I think the programming is VERY simple. I haven't programed for WM yet, so I don't know what to do. You can also give me some advise how I could program a GUI. What tools do I need? This would be my first project ;-).
Thanks a lot for your help.
I'd love to see a feature like this. Would be great if the "Set Destination" button on the compass actually launched the GUI you're talking about, because the cut down Google Maps interface that does get launched is well below par, in my opinion.
so whats about that great idea?
i would love to have that with an interface..
I want to detect different levels of acceleration in a vehicle. A requirement is a fixed mount in the vehicle. The mount can be mounted under any angle that is preferrable to the user. Also the mount doesn't have to face forward in alignment with the vehicle.
Now, what I've done so far is, calibrate the "stand still" situation, by reading the x, y, z g-forces of the accelerometer, during a certain amount of time, and then getting the averages of it. I will call these variables gBaseX, -Y & -Z
Once that is done, I want to calibrate the "straight line forward" situation, what I do there is show a screen with a button "start acceleration" and "end of acceleration". This now works by reading the accelerometer, directly subtracting the gBaseXY&Z. During the acceleration, I will search for the highest total G-force. When that's done I save the result in variables gAccelerationDirectionX, -Y & -Z.
Now comes the hard part: (And maybe I should ask this on a math forum or something anyone have suggestions?).
In the main logic of the app I want to use the gAccelerationDirectionX,Y&Z to
'rotate' the axis of my read actual values.
E.g. I have determined in my app that:
gBaseX = 0.15
gBaseY = -0.27
gBaseZ = -9.57
After that I accelerate over a straight line (having the phone mounted a weird angle) and I would get for instance:
gAccelerationDirectionX = -0.55
gAccelerationDirectionY = -0.70
gAccelerationDirectionZ = -0.03
When I move the phone in a straight line forward in the same position, I get those readings:
gReadX = -0.38 (After it's corrected with gBaseX)
gReadY = -0.94 (After it's corrected with gBaseY)
gReadZ = -0.27 (After it's corrected with gBaseZ)
How can I correct the "axis" of this? It must be a formula which use the gAccelerationDirectionX,Y&Z variables. I don't want to use anything like the phone orientation.
What the result must be is something like this:
gCorrectedX = 0 (meaning no left or right movement)
gCorrectedY = -? (meaning acceleration)
gCorrectedZ = 0 (meaning no up or downward movement)
I hope I've made myself clear
Please help on this algorithm.
The easiest way I can think of to do this would be to convert to a spherical coordinate system. Your reference acceleration vector will then be a magnitude and direction relative to the orientation of the reference frame by two angles. You can then convert any other acceleration vector back to a relative Cartesian system by normalizing your new vector with these reference angles.
See:
http://en.wikipedia.org/wiki/Spherical_coordinate_system
Why would you not use LBS (Location Based Services)? Very powerful stuff in there
There is really no such thing as "straight-line" movement...as infinitesimal as it seems, we are always moving in some type of arc. It's the result of living on a spherical object.
Some good reading here: http://en.wikipedia.org/wiki/Great-circle_distance
Calculating instantaneous speed is Calculus I reading. Calc I is why Jeff Gordon lost the Bristol race and Brad K. won it
Rootstonian said:
Why would you not use LBS (Location Based Services)? Very powerful stuff in there
Click to expand...
Click to collapse
Since the OP is using the accelerometers, I would assume that he or she needs a lot finer resolution than you can get with a GPS.
Rootstonian said:
Why would you not use LBS (Location Based Services)? Very powerful stuff in there
There is really no such thing as "straight-line" movement...as infinitesimal as it seems, we are always moving in some type of arc. It's the result of living on a spherical object.
Some good reading here: http://en.wikipedia.org/wiki/Great-circle_distance
Calculating instantaneous speed is Calculus I reading. Calc I is why Jeff Gordon lost the Bristol race and Brad K. won it
Click to expand...
Click to collapse
Oops. You added stuff. I imagine that the OP could safely ignore the earth's curvature in the sort of calculations I think he or she is trying to measure. I remember back in the 1980's when I used to drag race, there was a very expensive device that some racers used when the track was closed that could very accurately measure quarter mile times (as accurately as the traps at the track) all based on accelerometers.
i am building up a medical device and in which i have to convert a electrical signal to a digital output through algorithm program. so can any one just help me out with my project .
I am building Death Star and in which I need to convert dark energy in Mickey mouse movie through algorithm program... Is it something like this?
If you want help with wear device we might be able to help, but right now it looks like this forum members needs telepathy algorithm.