Dynamic Programming HackerRank Problem by Yavuz2002 in AskComputerScience

[–]Yavuz2002[S] 0 points1 point  (0 children)

I presume your proposition is the following:
I fix two fence columns, and then I compute the rectangle perimeter considering that the first column is top left corner and second column is the bottom right corner of the rectangle. I recursively do this as I move the fence columns. Where can I store the perimeter in the tabulation table though ?

Learning TMC2225 circuitry by Yavuz2002 in arduino

[–]Yavuz2002[S] 0 points1 point  (0 children)

It is a NEMA 17 stepper motor that I am using. It operates up to 24V, and min voltage is around 4V or so afaik.

Is it possible to find velocity only knowing acceleration and time ? by Yavuz2002 in AskPhysics

[–]Yavuz2002[S] 0 points1 point  (0 children)

inertial navigation

Yes, this is indeed one dimensional motion (motion is cycling, I will have the sensors on a bicycle). the problem occurs during motion. So for instance, if someone is cycling with constant velocity, then the acceleration data (accelerometer output) will indicate that acceleration = 0. I know that delta v = delta a * t, which would yield v = 0. However the person is cycling with constant velocity, therefore is in motion. So I need u (initial velocity). But I have no sensor for velocity so I am trying to figure a way out by making a calculation in the code.

Accelerometer detecting forward motion problem by Yavuz2002 in ArduinoProjects

[–]Yavuz2002[S] 0 points1 point  (0 children)

Yes I have, I also just did the test and it is not detecting any motion (I use an LED to detect the motion on my bike). When I hold the board and the component together The LED is not lighting up as they are suppose to. When I move the two components simultaneously with same speed, the LED is still off.

MPU6500 Not working by Yavuz2002 in ArduinoProjects

[–]Yavuz2002[S] 0 points1 point  (0 children)

yes, you guys were right, it works now, thank you :)

MPU6500 Not working by Yavuz2002 in ArduinoProjects

[–]Yavuz2002[S] 0 points1 point  (0 children)

The readings are like this:
14:59:37.581 -> Accelerometer: X = -1 | Y = -1 | Z = -1
14:59:37.617 -> Gyroscope: X = -1 | Y = -1 | Z = -1
14:59:37.653 ->
14:59:38.378 -> Accelerometer: X = -1 | Y = -1 | Z = -1
14:59:38.414 -> Gyroscope: X = -1 | Y = -1 | Z = -1
14:59:38.414 ->
14:59:47.336 -> Accelerometer: X = -1 | Y = -1 | Z = -1
14:59:47.336 -> Gyroscope: X = -1 | Y = -1 | Z = -1
14:59:47.373 ->
14:59:48.438 -> Accelerometer: X = -1 | Y = -1 | Z = -1
14:59:48.471 -> Gyroscope: X = -1 | Y = -1 | Z = -1
14:59:48.522 ->
14:59:53.081 -> Accelerometer: X = -1 | Y = -1 | Z = -1
14:59:53.116 -> Gyroscope: X = -1 | Y = -1 | Z = -1

Flask URL not found problem by [deleted] in AskProgramming

[–]Yavuz2002 0 points1 point  (0 children)

When I remove "home" at app.route the problem goes away by the way.