Jump to content
I2Cdevlib Forums

rodolf0ac

Members
  • Posts

    14
  • Joined

  • Last visited

rodolf0ac's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Solved! Just replaced the address (OLDlaptop route) making reference to the "helper_3dmath.h" file in the "MPU6050_6Axis_MotionApps20.h file" by its (helper_3dmath.h) new route (c:\\Users\NEWlaptop\...\helper_3dmath.h). Regards
  2. Thanks for your kind response Flatley, I guess this could be trivial; I'm using another computer (RodolfoNEWlaptop) and I'm trying to compile the sketch ...MPU6050_DMP6.ino from it, based on what you said about the 2nd error, I do have it (helper_3dmath.h) in my libraries. but it's looking for it based on the previous address (C:\\Users\RodolfoOLDlaptop\...) , i.e., the other laptop I first compiled this sketch from. Btw when I moved the entire arduino folder (arduino-1.0.2-windows) from the OLD laptop (including all the libraries/headers from this device) to this NEW one I did copy/paste it from MyDocuments(OLDlaptop) to the Desktop(NEWlaptop). Regards
  3. Does anyone has an idea of what this error is about "C:\Users\RodolfoNEWlaptop\Desktop\arduino-1.0.2-windows\arduino-1.0.2\libraries\MPU6050_6Axis_MotionApps20/MPU6050_6Axis_MotionApps20.h:37:114: error:" ? Is the first one in a long list. Btw, I think the second one indicates where the problem is: "C:\Users\RodolfoOLDlaptop\Downloads\arduino-1.0.2-windows\arduino-1.0.2\libraries\helper_3dmath\helper_3dmath.h: No such file or directory" I think is trivial but I need someone to help me out please! Regards
  4. Btw Luca, one more question, You think it'd be better for me, talking about coding and adding it to my main obstacle-avoiding/re-orientation(point&shoot)/movetowardsgoal algorithm if I switch to HMC6352 compass module or continue with the InvenSense MPU6050? It'd be like $40 USD extra for me Regards.
  5. Thank you very much. I really appreciate your valuable help on this, you don't know how great were all your responses for me. I think I'll go for the odometry equations instead of coding all that linear algebra procedures. Cheers.
  6. Sorry for being so insistent and not being able to recognize what is trivial for others, but which part of that code (...MPU6050_DMP6.ino) could give me the position (x, y)? though it might take me maths calculations (double integration, i.e. Kalman filter) hard to apply based on the simple odometry equations (http://rossum.sourceforge.net/papers/DiffSteer/#d6), using the measurements I took from my displacements as initial values. Regards
  7. Did you mean that with "so if you use the DMP features you can extract easily the yaw measurement. My advice is to use the DMP!"? Is that what I couldn't see before? Thank you! Cheers!
  8. I do have a MPU-6050 and also have a DMP (built-in), but how can I do what you mention about extracting yaw measurements from its features? (Btw this topic is about it, ain't that right? the official firmware been released) I'm using that code MPU6050_DMP6.ino (previously loaded into my board hooked up to the MPU-6050) to get the 3D demo running in processing, but haven't gotten deep into it. Thanks again!
  9. Thanks a lot Luca, that's what I vaguely thought, to extract yaw measurements; but you think this code or the one with the raw measurements (from Jeff Rowberg's github codes)? and if it's not too much to ask you for, how (extraction)? I'm not an skilled programmer that's why I'm in a hurry. Cheers!
  10. Thanks again Luca, I really appreciate your comments. They give me a great feedback about my work. I'm thinking about these equations: http://rossum.sourceforge.net/papers/DiffSteer/#d6 Some old professor told me they fit good enough my purposes And my measurements are: RServo (1300us) | LServo (1700us) // both servos at full speed 5.57 s - 1 m 5.56 s - 1 m v = 1/5.565 = 0.1796 m/s // robot's linear velocity w = v/r = 0.1796/0.03 = 5.98 rad/s // angular velocity of both wheels Btw here is a video of my MPU mounted on it: Cheers!
  11. Thank you Sondre, heard that before but I refused to believe that this mr-know-it-all device will not work for my purposes, I'll still have accumulated error if the yaw drifts, though a compass might help with that. Thanks a lot luca, I was sceptic about this "limitation" with the MPU, but given the circumstances I'll need to take a look at another dead reckoning technique. By now I have measured v & w from the wheels, and I kind of think that applying simple odometry equations and substituting these values (measurements) could give me a good estimation of the mobile robot pose. Do you think Honeywell HMC6352 will do that for my purposes? Thanks in advance
  12. Hey everyone! I've been working with this device for a year and a half using the great development by Jeff Rowberg, and I'm still tryna figure out if this board could help me out to do what I need to. I'm developing an autonomous mobile robot, and initially planned to develop an inertial navigation system; at that time I didn't know what I was getting into. The thing is I managed to get my DMP working using Jeff libraries and sketches, and get to see the 3D demo. But I just need to get position (x, y) and orientation (theta: yaw). I just want to determine the position/spatial coordinates instantly in order to store those values for an algorithm of dead reckoning and use them to redirect my bot after avoiding the obstacle (bug2 algorithm). Btw at this moment I can't afford myself to do any hardware modification such as wheel encoders, I have a deadline, which is in ten days! But I could consider using a magnetometer and I don't know if it can provide me with what I need (x, y, theta), specially the HMC6352 2-Axis Compass http://playground.arduino.cc/Learning/Hmc6352 I'll appreciate any comments on this Thanks in advance.
  13. Hello everybody! Hope you're doing great! I've been working with this device for a year and a half using the grateful development from Jeff Rowberg, and I'm still tryna figure out if this board could help me out to do what I need to. I'm developing an autonomous mobile robot, and initially planned to develop an inertial navigation; at that time I didn't know what I was getting into. The thing is I managed to get my DMP working using Jeff libraries and sketches, and get to see the 3D demo. But I just need to get position (x, y) and orientation (theta: yaw). I just want to determine the position/spatial coordinates instantly in order to store those values for an algorithm of dead reckoning and use them to redirect my bot after avoiding the obstacle (bug2 algorithm). If this possible? Anyone could lend me a hand on this, or any advice please ASAP! I'll really appreciate it Cheers from Mexico
×
×
  • Create New...