Recent content by catalin.drago

  1. C

    Find 3D point along the line at given distance

    I was trying to compute the area of the triangle formed by the points, thinking that if the area is 0 then the points are colinear, and I am getting the area either 0 or 0 real an dan imaginary part...is that normal? why am i getting an imaginary part?
  2. C

    Find 3D point along the line at given distance

    Hello, I have tested with ratio 1 and i am getting P2, so it seems correct, but once I apply the ratio 1.11 things change. I am trying to test colinearity by applying the cross product on vectors (P3-P1) and (P2-P1). It's a correct test right? Would it be correct to verify colinearity by...
  3. C

    How to get the CDF from a histogram

    Hello, I have a histogram, where I count the number of occurrences that a function takes particular values in the range 0.8 and 2.2. I would like to get the cumulative distribution function for the set of values. Is it correct to just count the total number of occurrences until each...
  4. C

    Find 3D point along the line at given distance

    Hello, I tried rounding to 2 decimals and i still get in some cases non colinearity. This is my code: rangeRatio = 1.114; norm = sqrt((P2(1) - P1(1))^2 + (P2(2) - P1(2))^2 + (P2(3) - P1(3))^2); P3(1) = P1(1) + ((P2(1,1) - P1(1)) /norm) * rangeRatio; P3(2) = P1(2) + ((P2(1,2) - P1(2))...
  5. C

    Find 3D point along the line at given distance

    Thank you for the reply. I have implemented the code without division by norm, and I have tested the colinearity by applying the cross product on MB * MA, and by checking the slope between the MB and MA (for e.g.: (y1 - y2) * (x1 - x3) - (y1 - y3) * (x1 - x2) should be zero is all three points...
  6. C

    Find 3D point along the line at given distance

    Thank you for the reply. So far I came up with the code below. I tried to verify the colinearity condition with the cross product of the vectors (P3-P1) and (P2-P1), but I don't get zero in all cases. What am I doing wrong? norm = sqrt((P2(1,1) - P1(1))^2 + (P2(1,2) - P1(2))^2 +...
  7. C

    Find 3D point along the line at given distance

    Hello, I have asked this question already but have not been able to get conclusive answer. I have a problem and please let me know if my solution is correct. I have a known point, at location A(x1,y1,z1) and the point B(x2,y2,z2) and I would like to find the coordinates of a third...
  8. C

    Inertial Navigation Integration FIlter

    I was hoping for some pointers from someone who has experience with the implementation of Kalman filters. I would like to know if that is a well designed filter, or if I should introduce more elements in the state vector like heading, and odometer and gyro bias, or the filter is going to work...
  9. C

    Inertial Navigation Integration FIlter

    I passed the level of reading wikipedia. I was hoping for help, not links to wikipedia
  10. C

    Inertial Navigation Integration FIlter

    Hello, I am trying to create a filter that can integrate inertial measurements with GPS measurements. My inertial sensors are a yaw axis gyro, an odometer, and possibly a 3axis accelerometer. Could you please help me with some guidance? I have read papers, articles and books on the subject but...
Back
Top