Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: hw999

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. After spending enough time to install Arduino...

    After spending enough time to install Arduino 1.8.8 and Teensyduino 1.45 on Ubuntu 18.04.2 or Mint 19.1 without ever getting it to work properly I gave up on this.

    Copied a working Arduino 1.8.5...
  2. What did you do with the udev rules? I put...

    What did you do with the udev rules?

    I put them into /etc/udev/rules.d/49-teensyrules

    Could you please look at the following lines out of Arduino prefernces.txt ? Looks quite different to a...
  3. Hi Paul thanks for reply. I gave Ubuntu...

    Hi Paul

    thanks for reply. I gave Ubuntu 18.04.2 LTS a try. Installed Arduino IDE - works without problems with a Nano. Teensyduino ? Same behaviour as described above. It can upload with pressing...
  4. After using Teenssduino under Linux for years I...

    After using Teenssduino under Linux for years I am a little pissed now. I can't get newer versions of Linux Mint, Arduino IDE and Teensyduino working.

    Linux Mint 19.1, freshly installed, nothing...
  5. Some lines out of the protocol : 23:01:30...

    Some lines out of the protocol :

    23:01:30 kernel: cdc_acm 2-1.4:1.0: ttyACM0: USB ACM device
    23:01:30 kernel: usb 2-1.4: SerialNumber: 2406400
    23:01:30 kernel: usb 2-1.4: SerialNumber: 2406400...
  6. I don't think that this is the real problem....

    I don't think that this is the real problem. Happened probably when pushing compile/upload when the previous upload was not completed. Really strange - never encountered this before.
    How can I...
  7. yes - I did. Something new - the message...

    yes - I did.

    Something new - the message "Teensy Loader could not find the directory /tmp/arduino_build_903280"

    Pushing the PGM button clears this. I try to compile and upload again -> message...
  8. Do you mean the 49-teensy.rules in...

    Do you mean the 49-teensy.rules in /etc/udev/rules.d ?
  9. Hi apologies for chiming in - I have similar...

    Hi

    apologies for chiming in - I have similar problem.

    Linux Mint 19.1, Arduino 1.8.8, Teensyduino 1.45, all just set up. Port: "/dev/ttyACM0(Teensy 3.2) Serial"

    Tried to compile and load the...
  10. Replies
    234
    Views
    65,820

    Had no problems at 400mhz. If I remember well it...

    Had no problems at 400mhz. If I remember well it even worked at 800mhz.
  11. Replies
    661
    Views
    363,937

    Hi I did not mean having a logging system...

    Hi

    I did not mean having a logging system implemented. I had a quick look at the code and had the impression that someting like :

    if(i2c->user_onError != nullptr)...
  12. Thread: uNav AHRS

    by hw999
    Replies
    920
    Views
    137,355

    Hi Brian I hope I may ask this question - do...

    Hi Brian

    I hope I may ask this question - do you plan to finish the work on this library ? I apologize that I can't contribute. The math behind is too much for me.
  13. Replies
    661
    Views
    363,937

    Hi nox 771 implemented the latest version...

    Hi nox 771

    implemented the latest version tested especially the onError() callback and resetBus(). Works really nice. Is it a big deal to provide information about the I2C adress that
    was...
  14. Replies
    661
    Views
    363,937

    Thanks for information. No need to rush things.

    Thanks for information. No need to rush things.
  15. Replies
    661
    Views
    363,937

    Thanks, 99% is a probability high enough for...

    Thanks, 99% is a probability high enough for trying.
  16. Replies
    661
    Views
    363,937

    Hi nox771 just a short question : is it...

    Hi nox771

    just a short question : is it correct that each bus has its own callback functions (onTransmitDone, onReqFromDone etc ? I think so but want to be sure.
  17. Thread: uNav AHRS

    by hw999
    Replies
    920
    Views
    137,355

    Ooops - looking closer to yaw and mag - rapid...

    Ooops - looking closer to yaw and mag - rapid changes in orientation lead to inconsistent results. Gave it a try with Filter.setHeadingCovariance(0.001f); without a good result.
    Next I will have...
  18. Thread: uNav AHRS

    by hw999
    Replies
    920
    Views
    137,355

    Hi Mike where to find ? Would like to have a...

    Hi Mike

    where to find ? Would like to have a look. Calibration is an old topic - in my opinion from a practical standpoint possibly overstated but still important. Is Brian working with offsets...
  19. Thread: uNav AHRS

    by hw999
    Replies
    920
    Views
    137,355

    @Brian Is the speed input for the filter IAS or...

    @Brian Is the speed input for the filter IAS or TAS ? Might be somewhat accademic but at higher altitudes IAS becomes more and more less - but accel and gyro remain at first glance the same. Might...
  20. Thread: uNav AHRS

    by hw999
    Replies
    920
    Views
    137,355

    Hi Mike nice coding for the calibration. Any...

    Hi Mike

    nice coding for the calibration. Any chance you share the software ?
  21. Thread: uNav AHRS

    by hw999
    Replies
    920
    Views
    137,355

    I am somewhat surprised by the yaw output...

    I am somewhat surprised by the yaw output compared to mag output. I expect mag output to remain more or less steady over one two hours. Not so with yaw. Expect to reflect at least earth rotation in...
  22. Thread: uNav AHRS

    by hw999
    Replies
    920
    Views
    137,355

    Added a few lines of code at the end of...

    Added a few lines of code at the end of uNavAHRS::update for computing z-axis acceleration corrected for gravity regardless of board orientation. I use it for improving variometer responsiveness.

    ...
  23. Thread: uNav AHRS

    by hw999
    Replies
    920
    Views
    137,355

    @Brian looks good so far on T32 and T36:) ...

    @Brian looks good so far on T32 and T36:)

    @mjs513 yaw drift is normal, mag should be stable. Pitch and roll look fine during short tests. Will let it run for a longer time and look at drift
  24. Thread: uNav AHRS

    by hw999
    Replies
    920
    Views
    137,355

    @mjs513 tested with a T36 with similar strange...

    @mjs513 tested with a T36 with similar strange results. I admit that I did not calibrate the MPU - maybe this strange behavior has to do with bad calibration. Acceleration values were however in an...
  25. Thread: uNav AHRS

    by hw999
    Replies
    920
    Views
    137,355

    The files I used. Changes in uNavxxxx.ino are...

    The files I used. Changes in uNavxxxx.ino are behind a comment line //mystuff. No changes in the libs.

    If you need 9250-master as well let me know. Used it as downloaded
  26. Thread: uNav AHRS

    by hw999
    Replies
    920
    Views
    137,355

    Some screenshots - added columns for acc and...

    Some screenshots - added columns for acc and millis(), print every 100 millis

    Right after setup :

    12409

    Movements :

    12410
  27. Thread: uNav AHRS

    by hw999
    Replies
    920
    Views
    137,355

    After compiling the example almost as is (I2C...

    After compiling the example almost as is (I2C instead of SPI on T32) I just wonder what is going on. Reaction is fast but after some wild movements it takes minutes till the values come in the...
  28. Replies
    234
    Views
    65,820

    Hi Brian, of course I noticed the terminal...

    Hi Brian, of course I noticed the terminal messages. A couple of times telling me "switch". I coded a calibration routine for the 9250 as well - quite dumb with instructions how to position the...
  29. Replies
    234
    Views
    65,820

    Hi Brian thanks for the new libraries and all...

    Hi Brian

    thanks for the new libraries and all the improvements you made this year.

    Could you please spend a few words about the calibration process and what your routines expect me to do ?...
  30. Thread: uNav AHRS

    by hw999
    Replies
    920
    Views
    137,355

    Problem solved - I had Eigen and not Eigen-master...

    Problem solved - I had Eigen and not Eigen-master in the folder. Thanks.

    If a library comes as xyz-master - does it usually belong as xyz-master in the libraries folder ? Was not familiar with that
  31. Thread: uNav AHRS

    by hw999
    Replies
    920
    Views
    137,355

    I downloaded Eigen from the link you provided. Do...

    I downloaded Eigen from the link you provided. Do you mean there was an Eigen library around before I put the Eigen from bolderflight into the libraries folder ?
  32. Thread: uNav AHRS

    by hw999
    Replies
    920
    Views
    137,355

    Hi wanted to compile the example and...

    Hi

    wanted to compile the example and received the following error message :


    Arduino: 1.8.5 (Windows 10), TD: 1.40, Board: "Teensy 3.2 / 3.1, Serial, 96 MHz (overclock), Faster, US English"...
  33. Thread: uNav AHRS

    by hw999
    Replies
    920
    Views
    137,355

    Hi wanted to compile the example and...

    Hi

    wanted to compile the example and received the following error message :


    Arduino: 1.8.5 (Windows 10), TD: 1.40, Board: "Teensy 3.2 / 3.1, Serial, 96 MHz (overclock), Faster, US English"...
  34. Replies
    661
    Views
    363,937

    Thanks for all the replies - great. @nox771 -...

    Thanks for all the replies - great.

    @nox771 - I will give your proposal a try. At the moment one adress between Teensy and FC works fine. The adresses presented from the FC are well defined and...
  35. Replies
    661
    Views
    363,937

    Hi thanks for reply. No - you misunderstood....

    Hi

    thanks for reply. No - you misunderstood. The slave should respond to different adresses.

    Short description of the problem : I have a flight controller which scans for different sensors....
  36. Replies
    661
    Views
    363,937

    Hi nox771 just a short question : is it...

    Hi nox771

    just a short question : is it possible that an I2C-slave responds to more than one I2C-adress ? Would be handy but I am afraid this is not possible. Right ?
  37. Replies
    11
    Views
    2,518

    Hi maybe...

    Hi

    maybe https://github.com/PX4/Firmware/tree/78a96581634ff6d6605c3c0a98a43c15cfd290e5/src/drivers/sdp3x_airspeed might be interesting for you.

    It is for an SPD33. At first glance a close...
  38. Replies
    46
    Views
    11,239

    Hi looks like I have to deal with the problem...

    Hi

    looks like I have to deal with the problem described in post #1.

    Windows 10 pro 64-bit
    Teensy Loader 1.40 and Teensyduino probably 1.40 (where can I find version info ?)

    TeensyLoader...
  39. Replies
    661
    Views
    363,937

    Hi nox771 thanks for all the improvements....

    Hi nox771

    thanks for all the improvements. Will try them. I had serious problems with a data-collecting master and a slave writing data to an SD-card, communicating over i2c. This was last spring...
  40. Replies
    1
    Views
    840

    Hi I have a similar problem to solve. Have a...

    Hi

    I have a similar problem to solve. Have a look at https://forum.pjrc.com/threads/26210-Teensy-3-1-MS5637-Pressure-Sensor-Data-Logging-SD-Card-Latency?p=52075&viewfull=1#post52075.

    Just...
  41. Replies
    234
    Views
    65,820

    Hi Brian I tried your code with SPI and it...

    Hi Brian

    I tried your code with SPI and it works fine. However my code (works fine with I2C) makes problems running under SPI. This should not concern you but I stumbled over this out of the...
  42. Replies
    234
    Views
    65,820

    Hi Brian thanks for information. I think...

    Hi Brian

    thanks for information.

    I think there is no way around for me than studying this Kalman stuff. Could you maybe recommend some books ?

    Andi
  43. Replies
    234
    Views
    65,820

    Too bad this is not for public use so it can be...

    Too bad this is not for public use so it can be studied and discussed. Sounds awesome.
  44. Replies
    234
    Views
    65,820

    I don't agree with this. The MPU NEEEDS!!!!! to...

    I don't agree with this. The MPU NEEEDS!!!!! to be calibrated. I do a calibration and store the values in the EEPROM. I got to this conclusion after fighting some very low frequencies coming out of a...
  45. Replies
    234
    Views
    65,820

    Hi Brian I agree to some extent - solutions I...

    Hi Brian

    I agree to some extent - solutions I am aware of have gone this way. The problem I see is that these calculations deal with history and introduce quite some lag (like a variometer based...
  46. Replies
    234
    Views
    65,820

    Hi Brian TECS stands for Total Energy Control...

    Hi Brian

    TECS stands for Total Energy Control System. This terms is used in ardupilot but total energy compensation is also used in real gliding.
    The logic behind it is that you are not really...
  47. Replies
    661
    Views
    363,937

    Thanks for information. In this case the mask...

    Thanks for information. In this case the mask byte could be adjusted. In my coding I also called i2c_t3.begin to restore registers. I am pretty sure that disabling the i2c module resets all its...
  48. Replies
    661
    Views
    363,937

    Hi Brian I was checking the bits out of the...

    Hi Brian

    I was checking the bits out of the status register right before and after begin-/endTransmission and requestFrom.

    begin-/endTransmission T32 and T36 - before 1000 0000 after 1000 0000...
  49. Replies
    661
    Views
    363,937

    Hi Brian I check for return of 0 after...

    Hi Brian
    I check for return of 0 after endTransmission and number of received bytes after requestFrom. If these values are not what I expect I call the original resetBus. After this I check the...
  50. Replies
    661
    Views
    363,937

    Hi Brian I intentionally set up a totally...

    Hi Brian



    I intentionally set up a totally flawed bus because I wanted to test the robustness of i2c_t3. The current resetBus clears around 80% of the errors.



    Thats what I observed. The...
Results 1 to 50 of 74
Page 1 of 2 1 2