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

Search:

Type: Posts; User: mjs513

Search: Search took 0.01 seconds.

  1. Replies
    34
    Views
    24,609

    I replaced the wiring.h with the new one and...

    I replaced the wiring.h with the new one and seems to resolve the issues with min/max errors. Tried it with the EKF using Eigen lib as well as just <vector>.

    Was tni referring to the c++11...
  2. Replies
    34
    Views
    24,609

    Just noticed something strange. Noticed that...

    Just noticed something strange. Noticed that after I uploader some sketches early this morning my machine's fan kept spinning away. When I went to check something called teensy_reboot.exe was...
  3. Replies
    34
    Views
    24,609

    @PaulStroffregen. Just remembered that I had a...

    @PaulStroffregen. Just remembered that I had a sketch that uses the Eigen library (right now I have 3.25) for a Kalman filter that I use in conjunction with the FreeIMU library. I figured I would...
  4. Replies
    34
    Views
    24,609

    Forgot to mention the issue is in stl_algobase.h

    Forgot to mention the issue is in stl_algobase.h
  5. Replies
    34
    Views
    24,609

    FreeIMU compiles fine with current version of...

    FreeIMU compiles fine with current version of wiring. My rover sketches throws the min/max error if only if I use#include <vector>. I also tested it the USB Host Sheild 2.0 library and no issue.
  6. Replies
    34
    Views
    24,609

    @tni. I deleted the existing min/max in wiring.h...

    @tni. I deleted the existing min/max in wiring.h and included your c++11 version, as well as max so the header now reads (hope I did it right):

    #ifdef __cplusplus
    #include <type_traits>...
  7. Replies
    34
    Views
    24,609

    As FYI. The new map function seems to working...

    As FYI. The new map function seems to working rather nicely even thought it breaks the min/max macros. Pretty responsive to RC commands. What I mean by this is that I map RC throttle and steering...
  8. Replies
    34
    Views
    24,609

    As a test I commented out the two class templates...

    As a test I commented out the two class templates that were added but still threw the error.

    UPDATE: I messed up. Made the change in 1.8.2 instead of 1.8.3. Paul is right when I comment out the...
  9. Replies
    34
    Views
    24,609

    Just by way of an update on changing wiring.h. I...

    Just by way of an update on changing wiring.h. I added this to wiring.h:

    // undefine stdlib's min and max if encountered
    #ifdef min
    #undef min
    #endif
    #ifdef max
    #undef max
    #endif
  10. Replies
    34
    Views
    24,609

    @KurtE. It's interesting that in 1.36 never...

    @KurtE. It's interesting that in 1.36 never threw an error, worked no issue. But will give the undefs a try and let you know.

    UPDATE1: Ok. It worked as you predicted. However, now anytime you...
  11. Replies
    34
    Views
    24,609

    @Paul. Just downloaded the new installer and...

    @Paul. Just downloaded the new installer and gave it a try. The issue with including "vector" is still persisting. See...
Results 1 to 11 of 11