About h48c 3-axis accelerometer(I use bs2p24)
B.C Wang
Posts: 4
Hello,
what I do is quad crawler balanced on a board !
its action:the crawler's body will keep level when I tilt board whatever x-axis/y-axis or together simultaneously.
how to calculate the angle in H48C?
use ATN fuunction or arcsin/arccos?
besides,if I want to add proportion control,tell me some advice(I want this crawler respond quickly )
I browsed the file about it on the Internet,but that's method needs to input value!
I want it could not have to input instead set what value first then the quad crawler starts.
what I do is quad crawler balanced on a board !
its action:the crawler's body will keep level when I tilt board whatever x-axis/y-axis or together simultaneously.
how to calculate the angle in H48C?
use ATN fuunction or arcsin/arccos?
besides,if I want to add proportion control,tell me some advice(I want this crawler respond quickly )
I browsed the file about it on the Internet,but that's method needs to input value!
I want it could not have to input instead set what value first then the quad crawler starts.
Comments
Also can you better describe "a little strange" and where in your code you think the problem might be comming from?