# Acceleration and processing 3.0

**URL:** <https://discourse.processing.org/t/acceleration-and-processing-3-0/30907>\
**Category:** Electronics (Arduino, etc.)\
**Created:** [June 25, 2021, 12:19pm UTC](https://discourse.processing.org/t/acceleration-and-processing-3-0/30907 "2021-06-25T12:19:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Halfrican911](https://avatars.discourse-cdn.com/v4/letter/h/9fc348/32.png) [@Halfrican911](https://discourse.processing.org/u/Halfrican911)\
**Post date:** [June 25, 2021, 12:19pm UTC](https://discourse.processing.org/t/acceleration-and-processing-3-0/30907/1 "2021-06-25T12:19:03Z")

</div>

Hello everyone I’m trying to figure out how to get the processing ide to understand when my sensors sees acceleration in 1 m/s to the left on the x axis that is moves left in processing I have the roll pitch and yaw I have 9 DOF but I just want the sensor to move across the xyz axis instead of just rotating I want both honestly but my acceleration is already set to do it in arduino

---

<div class="post-metadata">

**Author:** ![Halfrican911](https://avatars.discourse-cdn.com/v4/letter/h/9fc348/32.png) [@Halfrican911](https://discourse.processing.org/u/Halfrican911)\
**Post date:** [June 25, 2021, 12:27pm UTC](https://discourse.processing.org/t/acceleration-and-processing-3-0/30907/2 "2021-06-25T12:27:40Z")

</div>

Keep in mind that negative numbers are left and positive are right in the x axis and y would be forwards is positive and backwards is negative

---

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [June 25, 2021, 12:46pm UTC](https://discourse.processing.org/t/acceleration-and-processing-3-0/30907/3 "2021-06-25T12:46:54Z")

</div>

Hello,

This is a good article:[http://www.chrobotics.com/library/accel-position-velocity](http://www.chrobotics.com/library/accel-position-velocity)  
It may link to something useful.

I did [dabble](https://www.merriam-webster.com/dictionary/dabble) with this a few years back and got movement (translation) using accelerometer data.

I do not have any code to share.

> [@Halfrican911](#):
>
> my sensors sees acceleration in 1 m/s

1 m/s is velocity.

`:)`

---

<div class="post-metadata">

**Author:** ![Halfrican911](https://avatars.discourse-cdn.com/v4/letter/h/9fc348/32.png) [@Halfrican911](https://discourse.processing.org/u/Halfrican911)\
**Post date:** [June 25, 2021, 7:42pm UTC](https://discourse.processing.org/t/acceleration-and-processing-3-0/30907/4 "2021-06-25T19:42:24Z")

</div>

See thats what I was thinking I think they coded acceleration to be velocity buy called acceleration I have been trying to get velocity with my acceleration but have been haveing trouble the math is right but I don’t have an error bias to sample the read 200 times and get the estimated velocity but when I saw that it’s already reading like that if I tilt it on the x axis and run it across a level plain the accel reads +1.8 or -2.0 was my fastest readings by hand in a short burst I could post the code and the monitor read if you think you could tell me more about that aspect
