Re: [Gta04-owner] Advance OpenStreetMap surveying with GTA04? / accelerometer patch
Hello Mayeul, list, On Mon, Mar 19, 2012 at 23:40, Mayeul Kauffmann wrote: > Hi, > Great, that was fast! Looking forward to see the results of the test > and, hopefully, get something to test integration! Two requests: - Please, don't top-post (don't put your reply at the top of the message you're replying to), it makes it harder to see what you are replying to. To use a popular signature line: A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? - Don't change the subject of the mail(s) you are replying to. It makes it harder to follow conversations. And good luck on your OSM-party! Thanks! Christ van Willegen -- 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [Gta04-owner] Advance OpenStreetMap surveying with GTA04? / accelerometer patch
Hi, Great, that was fast! Looking forward to see the results of the test and, hopefully, get something to test integration! > I still have to read all these links Then yet another, better than the other 5: from link [3], click on "resources" tab (goes to http://www.pololu.com/catalog/product/1250/resources ). Second link in "resources" gives the math and geometry too. There is link on mbed Library for the LSM303DLH Thanks, Mayeul Le lundi 19 mars 2012 à 22:29 +0100, Christoph Mair a écrit : > Hi, > > On Mon, Mar 19, 2012 at 1:44 PM, wrote: > > Hi, > > Thanks Christoph. Comments below: > >> There exists a simple hack that reads the raw > >> acceleration values from the chip and delivers them to userspace using > >> a sysfs file > > > > I've read [0] but could not find it description of this hack. Any pointer > > and sample strings? > > I attached a patch to get some values from the BMA180 accelerometer. > It should apply to the 3.2-gta04 tree. I have not tested it lately, so > it may just fail. When my flat battery is recharged I can test it too. > > > The LSM303DLH combines both 3D compass and accelerometer, so is the > > HMC5883L usefull for this application? > > We planned to use the LSM303DLH but we could not buy it in time. > Therefore we had to find a replacement. The BMA180 and the HMC5883l > have better specs than the LSM303 so the replacement should bring us a > slight improvement in accuracy. > > > So one idea is to put some tilt logic in the code here: > > http://gitorious.org/vala-compass/vala-compass/trees/master/src > > Or write a piece of code that takes the raw data and output tilt-corrected > > magnetic heading. > > I found out some math and code (for Arduino) that could be re-used. Most > > interesting are [3] to [5]: > > > > > > [1] Has nice geometric discussion and code, but cannot correct for tilt > > over 40 degrees. Saysthere are other (more complex) algorithms for tilt > > > 40°. > > [2] Give some pointers to scientific articles, including I believe for 360 > > degrees correction. > > Note that typical use is keeping the device vertical, so code in [1] is not > > OK > > [3] Discusses the LSM303DLH chip included in the GTA04, and gives 2 links > > for code computing the tilt-corrected heading: > > [4] Arduino code for LSM303DLH > > [5] In "Ressources" tab: "library for the ARM mbed development board that > > interfaces with the LSM303DLH 3D compass and accelerometer carrier and > > provides the tilt-compensated magnetic heading" > > > > Isn't [5] the closest to what would be needed? Could it serve as a basis? > > This sound very promising. I still have to read all these links > (hopefully tomorrow) but the last one is probably what you need. > > Christoph > ___ > Gta04-owner mailing list > gta04-ow...@goldelico.com > http://lists.goldelico.com/mailman/listinfo/gta04-owner ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: latest FSO from debian/sid not working
Can you describe the problem? - no apparent reaction to key presses -- no action (suspend or so), no line in logs (everything set to DEBUG) - no led action - persist/ folder missing (frameworkd complaining about it and throwing an exception) - files in /sys/ missing (i'd expect the fso in debian to work with the kernel there -- or is it just the usual discrepancy one encounters in sid now and then?) i updated to 2.6.39.4 from SHR, and at least the files in /sys/ are back -- but nothing else changed. i got rid of LXDE (tested it years ago and never was happy with it) and installed e17 -- but even without any X, FSO should do something when pressing buttons at least. do i need any more modules loaded? i rather foolishly purged my old debian installation without saving configurations and stuff, before i tried the install.sh. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: latest FSP from debian/sid not working
Am Sonntag, 18. März 2012, 21:51:47 schrieb arne anka: > hi, > > i recently installed Debian to my GTA02 again, but the FSO apparently does > not work (correctly). Without going into it any further at this point -- > can someone please post working configuration(s) file(s)? The configuration files shipped with debian packages should work by default. Can you describe the problem? Rico signature.asc Description: This is a digitally signed message part. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [Gta04-owner] Fwd: MFS Talk. Tues, 20 Mar. "OpenPheonux (GTA04): Return of the free phone" by Michael Dorrington
Thanks. Will you attend with GTA04 project? :-) Dne 19.3.2012 09:03, Dr. H. Nikolaus Schaller napsal(a): I have added a link to the "Events" page: http://projects.goldelico.com/p/gta04-main/page/Events/ Am 19.03.2012 um 08:49 schrieb Michael Dorrington: On 14/03/12 10:42, Dr. H. Nikolaus Schaller wrote: Hi Michael, thanks for this support! Am 14.03.2012 um 10:11 schrieb Michael Dorrington: I am doing a talk about the GTA04 at Manchester Free Software, see details below. I'd really appreciate suggestions, ideas, tips, etc. on what to include. I think you can start with the materials from the FOSDEM presentation: http://lists.openmoko.org/pipermail/community/2012-February/066383.html Thanks. Please could I have advice on things to show in the talk that currently work on the GTA04A4 and any config needed to get them working. I've been trying various things out but have run out of time before the talk now. Regards, Mike. -- FSF member #9429 http://www.fsf.org/register_form?referrer=9429 http://www.fsf.org/about "The Free Software Foundation (FSF) is a nonprofit with a worldwide mission to promote computer user freedom and to defend the rights of all free software users." ___ Gta04-owner mailing list gta04-ow...@goldelico.com http://lists.goldelico.com/mailman/listinfo/gta04-owner ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [Gta04-owner] Advance OpenStreetMap surveying with GTA04? / camera & heading
Am 19.03.2012 um 13:44 schrieb mayeul.kauffm...@free.fr: > Hi, > Thanks Christoph. Comments below: >> There exists a simple hack that reads the raw >> acceleration values from the chip and delivers them to userspace using >> a sysfs file > > I've read [0] but could not find it description of this hack. Any pointer and > sample strings? See the 2.6.32 driver documentation: http://projects.goldelico.com/p/gta04-kernel/page/Sensors/ But as Christoph said they are not part of the the 3.2 kernels. > > The LSM303DLH combines both 3D compass and accelerometer, so is the HMC5883L > usefull for this application? The LSM303DLH is not installed in the GTA04 (although the PCB is prepared). But you get the same functions by combining the data from the HMC5883L and the BMA180. > > So one idea is to put some tilt logic in the code here: > http://gitorious.org/vala-compass/vala-compass/trees/master/src > Or write a piece of code that takes the raw data and output tilt-corrected > magnetic heading. > I found out some math and code (for Arduino) that could be re-used. Most > interesting are [3] to [5]: > > > [1] Has nice geometric discussion and code, but cannot correct for tilt over > 40 degrees. Saysthere are other (more complex) algorithms for tilt > 40°. > [2] Give some pointers to scientific articles, including I believe for 360 > degrees correction. > Note that typical use is keeping the device vertical, so code in [1] is not OK > [3] Discusses the LSM303DLH chip included in the GTA04, and gives 2 links for > code computing the tilt-corrected heading: > [4] Arduino code for LSM303DLH > [5] In "Ressources" tab: "library for the ARM mbed development board that > interfaces with the LSM303DLH 3D compass and accelerometer carrier and > provides the tilt-compensated magnetic heading" > > Isn't [5] the closest to what would be needed? Could it serve as a basis? > > Cheers, > Mayeul > > [0] > http://projects.goldelico.com/p/gta04-kernel/page/Mainline-Status/#wikititle_27 > [1] > https://www.loveelectronics.co.uk/Tutorials/13/tilt-compensated-compass-arduino-tutorial > [2] http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1267295038/15 > [3] http://www.pololu.com/catalog/product/1250 > [4] https://github.com/pololu/LSM303/blob/master/LSM303/LSM303.cpp#L226 > [5] http://mbed.org/users/shimniok/libraries/LSM303DLH/lpk7s5 > > > > - Mail original - > De: "Christoph Mair" > À: "List for communicating with real GTA04 owners" > Cc: "List for Openmoko community discussion" > Envoyé: Lundi 19 Mars 2012 08:35:52 > Objet: Re: [Gta04-owner] Advance OpenStreetMap surveying with GTA04? / camera > & heading > > On Sun, Mar 18, 2012 at 7:11 PM, Dr. H. Nikolaus Schaller > wrote: >> Am 18.03.2012 um 19:01 schrieb Mayeul Kauffmann: >> >>> Thanks! >>> So for the moment camera does not work. 8-( >>> What about the heading? (including when device is in vertical position) >> >> There is a HMC5883L 3D compass chip inside. Maybe someone else >> can comment on the status of the kernel drivers. > > AFAIK the driver is not yet includet in the gta04 kernel, but this is There are (working) drivers for the 2.6.32 kernel but they probably need to be ported to the 3.2 kernel. > a minor problem and can be fixed quite easily. The driver for the > accelerometer is also not yet included. You will need it to get > tilt-compensation. There exists a simple hack that reads the raw > acceleration values from the chip and delivers them to userspace using > a sysfs file, but it's not a real driver with a standardized > interface. > With these two chips working, you need a piece of software to > calculate the tilt compensated heading from the raw compass and > accelerometer readings. Maybe "valacompass" > (http://wiki.openmoko.org/wiki/ValaCompass) can be modified in order > to get the desired results. > > Regards, > Christoph > ___ > Gta04-owner mailing list > gta04-ow...@goldelico.com > http://lists.goldelico.com/mailman/listinfo/gta04-owner > ___ > Gta04-owner mailing list > gta04-ow...@goldelico.com > http://lists.goldelico.com/mailman/listinfo/gta04-owner ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [Gta04-owner] Advance OpenStreetMap surveying with GTA04? / camera & heading
Hi, Thanks Christoph. Comments below: > There exists a simple hack that reads the raw > acceleration values from the chip and delivers them to userspace using > a sysfs file I've read [0] but could not find it description of this hack. Any pointer and sample strings? The LSM303DLH combines both 3D compass and accelerometer, so is the HMC5883L usefull for this application? So one idea is to put some tilt logic in the code here: http://gitorious.org/vala-compass/vala-compass/trees/master/src Or write a piece of code that takes the raw data and output tilt-corrected magnetic heading. I found out some math and code (for Arduino) that could be re-used. Most interesting are [3] to [5]: [1] Has nice geometric discussion and code, but cannot correct for tilt over 40 degrees. Saysthere are other (more complex) algorithms for tilt > 40°. [2] Give some pointers to scientific articles, including I believe for 360 degrees correction. Note that typical use is keeping the device vertical, so code in [1] is not OK [3] Discusses the LSM303DLH chip included in the GTA04, and gives 2 links for code computing the tilt-corrected heading: [4] Arduino code for LSM303DLH [5] In "Ressources" tab: "library for the ARM mbed development board that interfaces with the LSM303DLH 3D compass and accelerometer carrier and provides the tilt-compensated magnetic heading" Isn't [5] the closest to what would be needed? Could it serve as a basis? Cheers, Mayeul [0] http://projects.goldelico.com/p/gta04-kernel/page/Mainline-Status/#wikititle_27 [1] https://www.loveelectronics.co.uk/Tutorials/13/tilt-compensated-compass-arduino-tutorial [2] http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1267295038/15 [3] http://www.pololu.com/catalog/product/1250 [4] https://github.com/pololu/LSM303/blob/master/LSM303/LSM303.cpp#L226 [5] http://mbed.org/users/shimniok/libraries/LSM303DLH/lpk7s5 - Mail original - De: "Christoph Mair" À: "List for communicating with real GTA04 owners" Cc: "List for Openmoko community discussion" Envoyé: Lundi 19 Mars 2012 08:35:52 Objet: Re: [Gta04-owner] Advance OpenStreetMap surveying with GTA04? / camera & heading On Sun, Mar 18, 2012 at 7:11 PM, Dr. H. Nikolaus Schaller wrote: > Am 18.03.2012 um 19:01 schrieb Mayeul Kauffmann: > >> Thanks! >> So for the moment camera does not work. 8-( >> What about the heading? (including when device is in vertical position) > > There is a HMC5883L 3D compass chip inside. Maybe someone else > can comment on the status of the kernel drivers. AFAIK the driver is not yet includet in the gta04 kernel, but this is a minor problem and can be fixed quite easily. The driver for the accelerometer is also not yet included. You will need it to get tilt-compensation. There exists a simple hack that reads the raw acceleration values from the chip and delivers them to userspace using a sysfs file, but it's not a real driver with a standardized interface. With these two chips working, you need a piece of software to calculate the tilt compensated heading from the raw compass and accelerometer readings. Maybe "valacompass" (http://wiki.openmoko.org/wiki/ValaCompass) can be modified in order to get the desired results. Regards, Christoph ___ Gta04-owner mailing list gta04-ow...@goldelico.com http://lists.goldelico.com/mailman/listinfo/gta04-owner ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
[OT] new webos components released
From: http://developer.palm.com/blog/2012/03/sams-blog-a-community-release/ Some new components of webos have (are going to) been released under the so called "Community edition"". It is a kind of legacy code for old devices, not strictly related to the new open source edition urodelo -- 用斯斯! ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
11. Augsburger Linux-Infoday (Germany)
Hello, I'm reading in our German magazine "linuxuser" about the above event, the program is here: http://www.luga.de/Aktionen/LIT-2012/Programm/ (sorry, it seems to be a German only page); is OpenMoko somehow present there, or are Freerunner users there? matthias -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Advance OpenStreetMap surveying with GTA04?
Hi Liz, Yes you are right 8-( The issue from a GTA4 point of view is that I would need to load one dataset more in the GTA04: both new and old OSM datasets. Or maybe merge the datasets and build a map suitable for GTA04, clearly showing the licence status... From OSM point of view (so maybe better to continue off-list) I should check with JOSM licensechange plugin [1] everything around the path. Some highways (roads, tracks, some paths) should be visible from Bing and Italian PCN. Yet another thing to add in my TODO list for the ViaAlpina. If you want to help ;-) I've put a dedicated TMS for this here: http://www.outdoormaps.org/?p=39 Cheers, Mayeul http://wiki.openstreetmap.org/wiki/JOSM/Plugins/LicenseChange - Mail original - De: "Liz" À: community@lists.openmoko.org Envoyé: Lundi 19 Mars 2012 06:52:44 Objet: Re: Advance OpenStreetMap surveying with GTA04? On Sun, 18 Mar 2012 13:16:48 +0100 Mayeul Kauffmann wrote: > I need a GPS receiver to: > 1- find our way > 2- know what is already in OSM database (with full tags) Between now and your trip time is the 1st April, on which date an unknown quantity of data will be purged from the OSM database, as part of the goal of pursuing a different licence for the database. This will alter what is in the OSM database, and you should have access to other maps under these circumstances. I assume that you will also take those old fashioned paper ones with you. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [Gta04-owner] Fwd: MFS Talk. Tues, 20 Mar. "OpenPheonux (GTA04): Return of the free phone" by Michael Dorrington
I have added a link to the "Events" page: http://projects.goldelico.com/p/gta04-main/page/Events/ Am 19.03.2012 um 08:49 schrieb Michael Dorrington: > On 14/03/12 10:42, Dr. H. Nikolaus Schaller wrote: >> Hi Michael, >> thanks for this support! >> >> Am 14.03.2012 um 10:11 schrieb Michael Dorrington: >> >>> I am doing a talk about the GTA04 at Manchester Free Software, see >>> details below. I'd really appreciate suggestions, ideas, tips, etc. on >>> what to include. >> >> I think you can start with the materials from the FOSDEM presentation: >> >> http://lists.openmoko.org/pipermail/community/2012-February/066383.html > > Thanks. > > Please could I have advice on things to show in the talk that currently > work on the GTA04A4 and any config needed to get them working. I've > been trying various things out but have run out of time before the talk now. > > Regards, > Mike. > > -- > FSF member #9429 > http://www.fsf.org/register_form?referrer=9429 > http://www.fsf.org/about > "The Free Software Foundation (FSF) is a nonprofit with a worldwide > mission to promote computer user freedom and to defend the rights of all > free software users." > > ___ > Gta04-owner mailing list > gta04-ow...@goldelico.com > http://lists.goldelico.com/mailman/listinfo/gta04-owner ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community