![]() |
[ANNOUNCE]: Record and visualise the rolling of a ship
2 Attachment(s)
Hello all
Please have a look and vote for my new application ShipRolling. It records and visualises the rolling of a ship. I know it is not useful for everybody, but if you are once in a while on a ship (or sailing boat) and would like to how much the ship rolls, have a look on this application. It is also useful to measure when you get sea sick :) The current verson (1.0.4) can be downloaded from http://maemo.org/packages/view/shiprolling/ and https://garage.maemo.org/projects/shiprolling/ Thank you for testing and your feedback |
Re: New application: Record and visualise the rolling of a ship
Havent tried it yet but i will and it looks good
Does it only work on roll? no pitch or azimoth? And i never get sea sick! :P EDIT: Is that what x y and z means? (pitch roll az?) |
Re: New application: Record and visualise the rolling of a ship
Hi ironm8
x, y and z are indeed all 3 directions, but only the X/Z angle is shown in the graph. If you rotate your phone 90 degrees, you can log the pitch (most people might not even know what that is :) |
Re: New application: Record and visualise the rolling of a ship
looks great, taking the ferry to amsterdam in a few weeks and the north sea is always rough!
id vote but dont know how to, wiki says something about thumbs up, but dont tell me where to find that, and i cant see it in the 2 above links? |
Re: New application: Record and visualise the rolling of a ship
What will it do on a rollercoaster ride?
|
Re: New application: Record and visualise the rolling of a ship
I'm currently playing with the accelometer values to detect a shaking of the device and I installed your application only to see how the values are changing on a graph. Not useful for me (living in the south of germany, far away from the sea) but as far as I can see it is working great! :)
Just for you to get some feedback... WELL DONE! ;) Mmh... :confused: ...where can I get now a cruising yacht and some water under it to play with this gread looking application... :rolleyes: |
Re: New application: Record and visualise the rolling of a ship
Curious to see how this behaves on a plane. Quality control for pilots!
|
Re: New application: Record and visualise the rolling of a ship
Oh, strange. It seems to don't read the correct values from the Accelometers... it reads mostly the same values and fluctuates around the same values. x:0 y:0 z:1000 and all values +/- 50. How do you read from the accelometers?
When I use the file "/sys/class/i2c-adapter/i2c-3/3-001d/coord" I got correct values depending how I hold the device. |
Re: New application: Record and visualise the rolling of a ship
Hi Helex
When do you read wrong values? In which application? I read the sensor several times in a row and then take the average. This helped to get more accurate values which are not jumping as much (smoothing). There is a good example for python in the wiki. Also there are other applications (AccDisplay or libqacceltests) which visualise the acceleration better than shipsrolling. |
Re: New application: Record and visualise the rolling of a ship
it could have be sooo useful to me 2 years back while i was landing helo's on battleships! my own small envalop finder! :)
anyways, i went to my friends speedboat yesterday afternoon and it worked spotlessly! GREAT JOB! |
Re: New application: Record and visualise the rolling of a ship
When it is flat lying on the table, it is supposed to show something close to X:0, Y:0, Z:1000. That is: only Z acceleration (earth gravity).
I dont think it has a missing library, as I did not use any external libraries beside the normal python internals. You can start it on the Xterm with "python /opt/ShipRolling/main.py". Please let me know if you see an error there. You should see tons of lines like "Time since last refresh: 248 ms". Or when you run it with "python /opt/ShipRolling/main.py debug", it will also show the acceleration values. Can you also use the built in "Write to file" function and send me the file? Out of that it should be easy to see if doesnt work properly. |
Re: New application: Record and visualise the rolling of a ship
1 Attachment(s)
Quote:
The log and the csv file are not from the same session. In the beginning I moved the Device around about 90degree in each direction and after the half I put the N900 flat on the table. I've looked also for a minute in your sourcecode. If the smoothing algorythm is working (have not checked in detail) on your device I don't know why this shouldn't work on my device. I use exactly the same code at my own python script to read from the sensor. Hmm... strange. :confused: |
Re: New application: Record and visualise the rolling of a ship
Hi Helex
I had a look on your files. The csv file looks quite ok, how ever it shows that the phone was lying on the table all the time (angles almost 0) and X and Y almost 0 and Z almost 1000. The Xterminal log I never really used for that kind of debuging (more for timing issues), so dont spend to much time with it. All I do is to read the sensor 50 times and then take the average of it as smooting. What is shown on your graph when you move and tilte your phone? Can you add a screen shot? I also would suggest to check with some other acceleration tools like libqacceltests to make sure every thing is correct in your phone. |
Re: [ANNOUNCE]: Record and visualise the rolling of a ship
1 Attachment(s)
Here you have a Screenshot. I started your application with opened Flipstand, after 60 seconds I began to move the Device around for about 20 seconds (hold it vertical for 5 seconds) and the rest of the time it layed flat on the table.
I know, you don't belive me. And your source seems also very fine to me. :confused: It works proper on other applications. At example AccDisplay. So I guess the problem is the smoothing algorithm. It seems to me there is no smoothing working at my device. The Diagramm looks very noisy to me. (if I had it flat on the ground, why are there such periodic sparks?) |
Re: [ANNOUNCE]: Record and visualise the rolling of a ship
Hi helex
I realy am clueless why it does not work with your phone. I made also anothe rapplication with a similair algorithm: SleepAnalyser. It can record your movement during your sleep. Could you run this one sometimes, while the phone lies on a table? I would like to know if it happens there as well. Several othe rpeople use those apps, but none seems to have this problem. |
Re: [ANNOUNCE]: Record and visualise the rolling of a ship
ShipRoing has reached the level to join Extras-Testing.
Please test version 1.0.7 and vote for it under http://maemo.org/packages/package_in...rolling/1.0-7/ Thank you |
Re: [ANNOUNCE]: Record and visualise the rolling of a ship
What's the difference to sleepy?
I use it for several weeks now, the alarm time is pretty good. Dan |
Re: [ANNOUNCE]: Record and visualise the rolling of a ship
Hi Threema
I guess you wanted to comment sleepanalyser instead shiprolling. sleepy just uses a very basic algorithm to detect your movement. I tried to improve that and also to visualise it.Please be aware that sleepanalyser does not yet have an alarm function. |
Re: [ANNOUNCE]: Record and visualise the rolling of a ship
@caco3
What do you think about to build an aplication that trigger an alarm when 'someone' take your phone based on acelerometers? |
Re: [ANNOUNCE]: Record and visualise the rolling of a ship
@BLC: I think I already saw something like that in the ovi store.
Else it also can be done with my SleepAnalyser. Just have a look on it. Set the alarm window to maximum and the alarm time into the near future. |
All times are GMT. The time now is 11:55. |
vBulletin® Version 3.8.8