<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://maemo.octonezd.me/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=189.115.169.82</id>
	<title>Maemo Wiki Mirror - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://maemo.octonezd.me/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=189.115.169.82"/>
	<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php/Special:Contributions/189.115.169.82"/>
	<updated>2026-04-22T11:08:18Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Accelerometers&amp;diff=555</id>
		<title>Accelerometers</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Accelerometers&amp;diff=555"/>
		<updated>2010-01-18T13:04:56Z</updated>

		<summary type="html">&lt;p&gt;189.115.169.82: /* sysfs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Fremantle provides an accelerometer API. Currently&amp;lt;ref&amp;gt;[https://bugs.maemo.org/show_bug.cgi?id=4724 #4724] &#039;&#039;Lack of official documentation on how to use the accelerometer&#039;&#039;&amp;lt;/ref&amp;gt; there are two interfaces available:&lt;br /&gt;
# D-Bus&lt;br /&gt;
# sysfs&lt;br /&gt;
&lt;br /&gt;
See also the [http://talk.maemo.org/showthread.php?p=288990 related thread] at talk.maemo.org.&lt;br /&gt;
&lt;br /&gt;
== D-Bus ==&lt;br /&gt;
&lt;br /&gt;
Thomas Thurman ([http://twitter.com/marnanel marnanel]) has put together a simple demo of an application using accelerometers using the D-Bus interface. You can find sources and .deb up at http://people.collabora.co.uk/~tthurman/sandcastle/&lt;br /&gt;
&lt;br /&gt;
== sysfs ==&lt;br /&gt;
&lt;br /&gt;
Another way is to use the sysfs file information:&lt;br /&gt;
&lt;br /&gt;
 /sys/class/i2c-adapter/i2c-3/3-001d/coord&lt;br /&gt;
&lt;br /&gt;
When reading that file you get 3 values X, Y and Z (provided on one line, separated by white space). Values are in mG (milli G). 1000 = 1 G&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Position&lt;br /&gt;
! X&lt;br /&gt;
! Y&lt;br /&gt;
! Z&lt;br /&gt;
|-&lt;br /&gt;
| Lying on table (back down)&lt;br /&gt;
| 0&lt;br /&gt;
| 0&lt;br /&gt;
| -1000&lt;br /&gt;
|-&lt;br /&gt;
| Lying on table (face down)&lt;br /&gt;
| 0&lt;br /&gt;
| 0&lt;br /&gt;
| 1000&lt;br /&gt;
|-&lt;br /&gt;
| Sitting on table (bottom edge down)&lt;br /&gt;
| 0&lt;br /&gt;
| -1000&lt;br /&gt;
| 0&lt;br /&gt;
|-&lt;br /&gt;
| Sitting on table (right edge down)&lt;br /&gt;
| -1000&lt;br /&gt;
| 0&lt;br /&gt;
| 0&lt;br /&gt;
|-&lt;br /&gt;
| Sitting on table (left edge down)&lt;br /&gt;
| 1000&lt;br /&gt;
| 0&lt;br /&gt;
| 0&lt;br /&gt;
|-&lt;br /&gt;
| Bottom right corner down (approx.)&lt;br /&gt;
| -500&lt;br /&gt;
| -500&lt;br /&gt;
| 0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These are theoretical values. In real life your mileage will vary.&lt;br /&gt;
&lt;br /&gt;
An example can be found at: [http://git.zimmerle.org/?p=inclinometer.git;a=summary]&lt;br /&gt;
&lt;br /&gt;
== Using the data ==&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;X&#039;&#039; and &#039;&#039;Y&#039;&#039; values can be used to calculate&amp;lt;ref&amp;gt;Tom Pycke, &#039;&#039;[http://tom.pycke.be/mav/69/accelerometer-to-attitude Accelerometer to pitch and roll]&#039;&#039;&amp;lt;/ref&amp;gt; the roll (that is, clockwise rotation) using the &#039;&#039;atan2&#039;&#039; function (note the inverted sign of &#039;&#039;y&#039;&#039;):&lt;br /&gt;
&lt;br /&gt;
  angle_in_radians = &#039;&#039;&#039;atan2&#039;&#039;&#039;(&#039;&#039;x&#039;&#039;, -&#039;&#039;y&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
Similar, &#039;&#039;Y&#039;&#039; and &#039;&#039;Z&#039;&#039; can be used to calculate the pitch:&lt;br /&gt;
&lt;br /&gt;
  angle_in_radians = &#039;&#039;&#039;atan2&#039;&#039;&#039;(&#039;&#039;y&#039;&#039;, -&#039;&#039;z&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
== Python ==&lt;br /&gt;
&lt;br /&gt;
Using the sysfs interface:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  def get_rotation():&lt;br /&gt;
    f = open(&amp;quot;/sys/class/i2c-adapter/i2c-3/3-001d/coord&amp;quot;, &#039;r&#039; )&lt;br /&gt;
    coords = [int(w) for w in f.readline().split()]&lt;br /&gt;
    f.close()&lt;br /&gt;
    return coords&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Smoothed C interface ==&lt;br /&gt;
&lt;br /&gt;
This is a C function which returns smooth values from the accelerometer.&lt;br /&gt;
Designed for applications running at &amp;gt;=25fps  (otherwise it lags)&lt;br /&gt;
&lt;br /&gt;
(GPL code extracted from libliqbase: liqaccel.c)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
static int ocnt=0;&lt;br /&gt;
static int oax=0;&lt;br /&gt;
static int oay=0;&lt;br /&gt;
static int oaz=0;&lt;br /&gt;
	&lt;br /&gt;
static const char *accel_filename = &amp;quot;/sys/class/i2c-adapter/i2c-3/3-001d/coord&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
int liqaccel_read(int *ax,int *ay,int *az)&lt;br /&gt;
{&lt;br /&gt;
	FILE *fd;&lt;br /&gt;
	int rs;&lt;br /&gt;
	fd = fopen(accel_filename, &amp;quot;r&amp;quot;);&lt;br /&gt;
	if(fd==NULL){ liqapp_log(&amp;quot;liqaccel, cannot open for reading&amp;quot;); return -1;}	&lt;br /&gt;
	rs=fscanf((FILE*) fd,&amp;quot;%i %i %i&amp;quot;,ax,ay,az);	&lt;br /&gt;
	fclose(fd);	&lt;br /&gt;
	if(rs != 3){ liqapp_log(&amp;quot;liqaccel, cannot read information&amp;quot;); return -2;}&lt;br /&gt;
	int bx=*ax;&lt;br /&gt;
	int by=*ay;&lt;br /&gt;
	int bz=*az;&lt;br /&gt;
	if(ocnt&amp;gt;0)&lt;br /&gt;
	{&lt;br /&gt;
		*ax=oax+(bx-oax)*0.1;&lt;br /&gt;
		*ay=oay+(by-oay)*0.1;&lt;br /&gt;
		*az=oaz+(bz-oaz)*0.1;&lt;br /&gt;
	}&lt;br /&gt;
	oax=*ax;&lt;br /&gt;
	oay=*ay;&lt;br /&gt;
	oaz=*az;&lt;br /&gt;
	ocnt++;&lt;br /&gt;
	return 0;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]][[Category:Fremantle]]&lt;/div&gt;</summary>
		<author><name>189.115.169.82</name></author>
	</entry>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Accelerometers&amp;diff=556</id>
		<title>Accelerometers</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Accelerometers&amp;diff=556"/>
		<updated>2010-01-18T13:03:12Z</updated>

		<summary type="html">&lt;p&gt;189.115.169.82: /* Using the data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Fremantle provides an accelerometer API. Currently&amp;lt;ref&amp;gt;[https://bugs.maemo.org/show_bug.cgi?id=4724 #4724] &#039;&#039;Lack of official documentation on how to use the accelerometer&#039;&#039;&amp;lt;/ref&amp;gt; there are two interfaces available:&lt;br /&gt;
# D-Bus&lt;br /&gt;
# sysfs&lt;br /&gt;
&lt;br /&gt;
See also the [http://talk.maemo.org/showthread.php?p=288990 related thread] at talk.maemo.org.&lt;br /&gt;
&lt;br /&gt;
== D-Bus ==&lt;br /&gt;
&lt;br /&gt;
Thomas Thurman ([http://twitter.com/marnanel marnanel]) has put together a simple demo of an application using accelerometers using the D-Bus interface. You can find sources and .deb up at http://people.collabora.co.uk/~tthurman/sandcastle/&lt;br /&gt;
&lt;br /&gt;
== sysfs ==&lt;br /&gt;
&lt;br /&gt;
Another way is to use the sysfs file information:&lt;br /&gt;
&lt;br /&gt;
 /sys/class/i2c-adapter/i2c-3/3-001d/coord&lt;br /&gt;
&lt;br /&gt;
When reading that file you get 3 values X, Y and Z (provided on one line, separated by white space). Values are in mG (milli G). 1000 = 1 G&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Position&lt;br /&gt;
! X&lt;br /&gt;
! Y&lt;br /&gt;
! Z&lt;br /&gt;
|-&lt;br /&gt;
| Lying on table (back down)&lt;br /&gt;
| 0&lt;br /&gt;
| 0&lt;br /&gt;
| -1000&lt;br /&gt;
|-&lt;br /&gt;
| Lying on table (face down)&lt;br /&gt;
| 0&lt;br /&gt;
| 0&lt;br /&gt;
| 1000&lt;br /&gt;
|-&lt;br /&gt;
| Sitting on table (bottom edge down)&lt;br /&gt;
| 0&lt;br /&gt;
| -1000&lt;br /&gt;
| 0&lt;br /&gt;
|-&lt;br /&gt;
| Sitting on table (right edge down)&lt;br /&gt;
| -1000&lt;br /&gt;
| 0&lt;br /&gt;
| 0&lt;br /&gt;
|-&lt;br /&gt;
| Sitting on table (left edge down)&lt;br /&gt;
| 1000&lt;br /&gt;
| 0&lt;br /&gt;
| 0&lt;br /&gt;
|-&lt;br /&gt;
| Bottom right corner down (approx.)&lt;br /&gt;
| -500&lt;br /&gt;
| -500&lt;br /&gt;
| 0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These are theoretical values. In real life your mileage will vary.&lt;br /&gt;
&lt;br /&gt;
== Using the data ==&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;X&#039;&#039; and &#039;&#039;Y&#039;&#039; values can be used to calculate&amp;lt;ref&amp;gt;Tom Pycke, &#039;&#039;[http://tom.pycke.be/mav/69/accelerometer-to-attitude Accelerometer to pitch and roll]&#039;&#039;&amp;lt;/ref&amp;gt; the roll (that is, clockwise rotation) using the &#039;&#039;atan2&#039;&#039; function (note the inverted sign of &#039;&#039;y&#039;&#039;):&lt;br /&gt;
&lt;br /&gt;
  angle_in_radians = &#039;&#039;&#039;atan2&#039;&#039;&#039;(&#039;&#039;x&#039;&#039;, -&#039;&#039;y&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
Similar, &#039;&#039;Y&#039;&#039; and &#039;&#039;Z&#039;&#039; can be used to calculate the pitch:&lt;br /&gt;
&lt;br /&gt;
  angle_in_radians = &#039;&#039;&#039;atan2&#039;&#039;&#039;(&#039;&#039;y&#039;&#039;, -&#039;&#039;z&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
== Python ==&lt;br /&gt;
&lt;br /&gt;
Using the sysfs interface:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  def get_rotation():&lt;br /&gt;
    f = open(&amp;quot;/sys/class/i2c-adapter/i2c-3/3-001d/coord&amp;quot;, &#039;r&#039; )&lt;br /&gt;
    coords = [int(w) for w in f.readline().split()]&lt;br /&gt;
    f.close()&lt;br /&gt;
    return coords&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Smoothed C interface ==&lt;br /&gt;
&lt;br /&gt;
This is a C function which returns smooth values from the accelerometer.&lt;br /&gt;
Designed for applications running at &amp;gt;=25fps  (otherwise it lags)&lt;br /&gt;
&lt;br /&gt;
(GPL code extracted from libliqbase: liqaccel.c)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
static int ocnt=0;&lt;br /&gt;
static int oax=0;&lt;br /&gt;
static int oay=0;&lt;br /&gt;
static int oaz=0;&lt;br /&gt;
	&lt;br /&gt;
static const char *accel_filename = &amp;quot;/sys/class/i2c-adapter/i2c-3/3-001d/coord&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
int liqaccel_read(int *ax,int *ay,int *az)&lt;br /&gt;
{&lt;br /&gt;
	FILE *fd;&lt;br /&gt;
	int rs;&lt;br /&gt;
	fd = fopen(accel_filename, &amp;quot;r&amp;quot;);&lt;br /&gt;
	if(fd==NULL){ liqapp_log(&amp;quot;liqaccel, cannot open for reading&amp;quot;); return -1;}	&lt;br /&gt;
	rs=fscanf((FILE*) fd,&amp;quot;%i %i %i&amp;quot;,ax,ay,az);	&lt;br /&gt;
	fclose(fd);	&lt;br /&gt;
	if(rs != 3){ liqapp_log(&amp;quot;liqaccel, cannot read information&amp;quot;); return -2;}&lt;br /&gt;
	int bx=*ax;&lt;br /&gt;
	int by=*ay;&lt;br /&gt;
	int bz=*az;&lt;br /&gt;
	if(ocnt&amp;gt;0)&lt;br /&gt;
	{&lt;br /&gt;
		*ax=oax+(bx-oax)*0.1;&lt;br /&gt;
		*ay=oay+(by-oay)*0.1;&lt;br /&gt;
		*az=oaz+(bz-oaz)*0.1;&lt;br /&gt;
	}&lt;br /&gt;
	oax=*ax;&lt;br /&gt;
	oay=*ay;&lt;br /&gt;
	oaz=*az;&lt;br /&gt;
	ocnt++;&lt;br /&gt;
	return 0;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]][[Category:Fremantle]]&lt;/div&gt;</summary>
		<author><name>189.115.169.82</name></author>
	</entry>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Accelerometers&amp;diff=557</id>
		<title>Accelerometers</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Accelerometers&amp;diff=557"/>
		<updated>2010-01-18T13:02:41Z</updated>

		<summary type="html">&lt;p&gt;189.115.169.82: /* Using the data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Fremantle provides an accelerometer API. Currently&amp;lt;ref&amp;gt;[https://bugs.maemo.org/show_bug.cgi?id=4724 #4724] &#039;&#039;Lack of official documentation on how to use the accelerometer&#039;&#039;&amp;lt;/ref&amp;gt; there are two interfaces available:&lt;br /&gt;
# D-Bus&lt;br /&gt;
# sysfs&lt;br /&gt;
&lt;br /&gt;
See also the [http://talk.maemo.org/showthread.php?p=288990 related thread] at talk.maemo.org.&lt;br /&gt;
&lt;br /&gt;
== D-Bus ==&lt;br /&gt;
&lt;br /&gt;
Thomas Thurman ([http://twitter.com/marnanel marnanel]) has put together a simple demo of an application using accelerometers using the D-Bus interface. You can find sources and .deb up at http://people.collabora.co.uk/~tthurman/sandcastle/&lt;br /&gt;
&lt;br /&gt;
== sysfs ==&lt;br /&gt;
&lt;br /&gt;
Another way is to use the sysfs file information:&lt;br /&gt;
&lt;br /&gt;
 /sys/class/i2c-adapter/i2c-3/3-001d/coord&lt;br /&gt;
&lt;br /&gt;
When reading that file you get 3 values X, Y and Z (provided on one line, separated by white space). Values are in mG (milli G). 1000 = 1 G&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Position&lt;br /&gt;
! X&lt;br /&gt;
! Y&lt;br /&gt;
! Z&lt;br /&gt;
|-&lt;br /&gt;
| Lying on table (back down)&lt;br /&gt;
| 0&lt;br /&gt;
| 0&lt;br /&gt;
| -1000&lt;br /&gt;
|-&lt;br /&gt;
| Lying on table (face down)&lt;br /&gt;
| 0&lt;br /&gt;
| 0&lt;br /&gt;
| 1000&lt;br /&gt;
|-&lt;br /&gt;
| Sitting on table (bottom edge down)&lt;br /&gt;
| 0&lt;br /&gt;
| -1000&lt;br /&gt;
| 0&lt;br /&gt;
|-&lt;br /&gt;
| Sitting on table (right edge down)&lt;br /&gt;
| -1000&lt;br /&gt;
| 0&lt;br /&gt;
| 0&lt;br /&gt;
|-&lt;br /&gt;
| Sitting on table (left edge down)&lt;br /&gt;
| 1000&lt;br /&gt;
| 0&lt;br /&gt;
| 0&lt;br /&gt;
|-&lt;br /&gt;
| Bottom right corner down (approx.)&lt;br /&gt;
| -500&lt;br /&gt;
| -500&lt;br /&gt;
| 0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These are theoretical values. In real life your mileage will vary.&lt;br /&gt;
&lt;br /&gt;
== Using the data ==&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;X&#039;&#039; and &#039;&#039;Y&#039;&#039; values can be used to calculate&amp;lt;ref&amp;gt;Tom Pycke, &#039;&#039;[http://tom.pycke.be/mav/69/accelerometer-to-attitude Accelerometer to pitch and roll]&#039;&#039;&amp;lt;/ref&amp;gt; the roll (that is, clockwise rotation) using the &#039;&#039;atan2&#039;&#039; function (note the inverted sign of &#039;&#039;y&#039;&#039;):&lt;br /&gt;
&lt;br /&gt;
  angle_in_radians = &#039;&#039;&#039;atan2&#039;&#039;&#039;(&#039;&#039;x&#039;&#039;, -&#039;&#039;y&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
Similar, &#039;&#039;Y&#039;&#039; and &#039;&#039;Z&#039;&#039; can be used to calculate the pitch.&lt;br /&gt;
&lt;br /&gt;
  angle_in_radians = &#039;&#039;&#039;atan2&#039;&#039;&#039;(&#039;&#039;y&#039;&#039;, -&#039;&#039;z&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
== Python ==&lt;br /&gt;
&lt;br /&gt;
Using the sysfs interface:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  def get_rotation():&lt;br /&gt;
    f = open(&amp;quot;/sys/class/i2c-adapter/i2c-3/3-001d/coord&amp;quot;, &#039;r&#039; )&lt;br /&gt;
    coords = [int(w) for w in f.readline().split()]&lt;br /&gt;
    f.close()&lt;br /&gt;
    return coords&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Smoothed C interface ==&lt;br /&gt;
&lt;br /&gt;
This is a C function which returns smooth values from the accelerometer.&lt;br /&gt;
Designed for applications running at &amp;gt;=25fps  (otherwise it lags)&lt;br /&gt;
&lt;br /&gt;
(GPL code extracted from libliqbase: liqaccel.c)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
static int ocnt=0;&lt;br /&gt;
static int oax=0;&lt;br /&gt;
static int oay=0;&lt;br /&gt;
static int oaz=0;&lt;br /&gt;
	&lt;br /&gt;
static const char *accel_filename = &amp;quot;/sys/class/i2c-adapter/i2c-3/3-001d/coord&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
int liqaccel_read(int *ax,int *ay,int *az)&lt;br /&gt;
{&lt;br /&gt;
	FILE *fd;&lt;br /&gt;
	int rs;&lt;br /&gt;
	fd = fopen(accel_filename, &amp;quot;r&amp;quot;);&lt;br /&gt;
	if(fd==NULL){ liqapp_log(&amp;quot;liqaccel, cannot open for reading&amp;quot;); return -1;}	&lt;br /&gt;
	rs=fscanf((FILE*) fd,&amp;quot;%i %i %i&amp;quot;,ax,ay,az);	&lt;br /&gt;
	fclose(fd);	&lt;br /&gt;
	if(rs != 3){ liqapp_log(&amp;quot;liqaccel, cannot read information&amp;quot;); return -2;}&lt;br /&gt;
	int bx=*ax;&lt;br /&gt;
	int by=*ay;&lt;br /&gt;
	int bz=*az;&lt;br /&gt;
	if(ocnt&amp;gt;0)&lt;br /&gt;
	{&lt;br /&gt;
		*ax=oax+(bx-oax)*0.1;&lt;br /&gt;
		*ay=oay+(by-oay)*0.1;&lt;br /&gt;
		*az=oaz+(bz-oaz)*0.1;&lt;br /&gt;
	}&lt;br /&gt;
	oax=*ax;&lt;br /&gt;
	oay=*ay;&lt;br /&gt;
	oaz=*az;&lt;br /&gt;
	ocnt++;&lt;br /&gt;
	return 0;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]][[Category:Fremantle]]&lt;/div&gt;</summary>
		<author><name>189.115.169.82</name></author>
	</entry>
</feed>