Hi from Mexico, great work I going to try that , I study mechatronics and just question what version Arduino you use ?? or if I have problems in the code or something, could you help me ??
@LinkinRoly Hi, thanks. I used Arduino Duemilanove...but you can also use the last version, Arduino Uno is quite similar and you only need 3 digital outputs. If you have any problems you can ask me or refer to the attached pdf.
Nice.. would it be possible to use C++ instead of processing? maybe with an osc library... also.. i looked at your code.. and couldnt find where you integrated can you please tell me?
@filipposanfilippo I meant, the accelerometer signals, you said you needed to integrate them twice to have the position signal but in the source code i was unable to locate that mathematical integration
@ppiibb That's was my first intend...but as you can read in the paper "Since I wanted to obtain some results as quickly as possible, I decided to use the tilt of the iPhone as spatial coordinates. In the future it might be possible to follow the correct procedure simply by adding the portion of code that transforms the accelerometer data into displacement coordinates." So please, if you decide to implement it, just share your code :-)
@filipposanfilippo Im sorry, me again, by "use the tilt of the devide as spatial coordinates" you mean, just have the reading of the accel. as if it were position? cause it looks very good... what im trying to do is nothing fancy just an open-loop control of a 2DOF robot (just X and Y tilting)
@ppiibb I just read the accelerometer values (rotation and orientation) and I multiply for a gain...it works quite good but I think you can get much better results using the integration
Hi from Mexico, great work I going to try that , I study mechatronics and just question what version Arduino you use ?? or if I have problems in the code or something, could you help me ??
thanks :)
LinkinRoly 6 months ago
@LinkinRoly Hi, thanks. I used Arduino Duemilanove...but you can also use the last version, Arduino Uno is quite similar and you only need 3 digital outputs. If you have any problems you can ask me or refer to the attached pdf.
filipposanfilippo 6 months ago
Nice.. would it be possible to use C++ instead of processing? maybe with an osc library... also.. i looked at your code.. and couldnt find where you integrated can you please tell me?
ppiibb 9 months ago
@ppiibb hi, I think that's definitely possible. There should be for sure some libraries. But what do you mean "where you integrated"?
filipposanfilippo 9 months ago
@filipposanfilippo I meant, the accelerometer signals, you said you needed to integrate them twice to have the position signal but in the source code i was unable to locate that mathematical integration
ppiibb 9 months ago
@ppiibb That's was my first intend...but as you can read in the paper "Since I wanted to obtain some results as quickly as possible, I decided to use the tilt of the iPhone as spatial coordinates. In the future it might be possible to follow the correct procedure simply by adding the portion of code that transforms the accelerometer data into displacement coordinates." So please, if you decide to implement it, just share your code :-)
Good luck!
filipposanfilippo 9 months ago
@filipposanfilippo Im sorry, me again, by "use the tilt of the devide as spatial coordinates" you mean, just have the reading of the accel. as if it were position? cause it looks very good... what im trying to do is nothing fancy just an open-loop control of a 2DOF robot (just X and Y tilting)
ppiibb 9 months ago
@ppiibb I just read the accelerometer values (rotation and orientation) and I multiply for a gain...it works quite good but I think you can get much better results using the integration
filipposanfilippo 9 months ago
thanks for uploading this! ive been looking everywhere for the equations.
REA00002 1 year ago