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

Search:

Type: Posts; User: brtaylor

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    134

    strlen is not including the null character when...

    strlen is not including the null character when it gives you the length. You should be using:


    char dirName[4 + strlen(listOfSynthTypes[i])];


    Instead of:


    char dirName[3 +...
  2. Replies
    4
    Views
    157

    Thanks! For some reason I thought that Teensy 3.6...

    Thanks! For some reason I thought that Teensy 3.6 supported higher bitrates, maybe through CAN-FD.
  3. Replies
    4
    Views
    157

    Teensy 3.6 Maximum CAN Bitrate

    Apologies in advance since I think this has been covered, but what is the maximum bitrate for two Teensy 3.6 assuming that I get compatible transceivers? Searching for "CAN" was giving me erroneous...
  4. Replies
    2
    Views
    178

    That's really convenient!

    That's really convenient!
  5. When I use this: static constexpr...

    When I use this:


    static constexpr HardwareSerial &GNSS_UART = Serial3;


    It creates a reference to Serial3 called GNSS_UART. So I can use GNSS_UART in my code instead of Serial3. The...
  6. I use this all the time in my code: static...

    I use this all the time in my code:


    static constexpr HardwareSerial &GNSS_UART = Serial3;
  7. Replies
    6
    Views
    199

    That looks like your documents folder - i.e....

    That looks like your documents folder - i.e. where you would make sketches and install libraries. Teensyduino is asking for the install location of the arduino program. Typically this would be in...
  8. It's been a while, but if I remember correctly,...

    It's been a while, but if I remember correctly, core_pins.h and pins_teensy.c are both needed to be modified to use the additional pins for GPIO. For other functions, like analog input, you would...
  9. You have to modify the core library to add the...

    You have to modify the core library to add the additional pins.
  10. Replies
    4
    Views
    226

    Can you increase the buffer size?

    Can you increase the buffer size?
  11. Similar discussion here:...

    Similar discussion here:
    https://forum.pjrc.com/threads/61963-Remove-compiler-warnings-from-libraries-we-ship

    Our workflow is a little different - we're using GitLab and CMake for compiling...
  12. Replies
    11
    Views
    251

    Can you post pictures of your wiring for SPI and...

    Can you post pictures of your wiring for SPI and I2C?
  13. That's really cool to see! For work, we've been...

    That's really cool to see! For work, we've been adding automated testing to all of our code using the GitLab CI pipeline and Google Test. Works great for code that can run on either Teensy or Linux,...
  14. Replies
    19
    Views
    1,163

    The way I set up my toolchain, make blink_hex...

    The way I set up my toolchain, make blink_hex would make the hex file and make blink_upload flashes the teensy using the command line uploader.
  15. Replies
    19
    Views
    1,163

    Yeah, I tend to use WSL for compiling Teensy...

    Yeah, I tend to use WSL for compiling Teensy projects with CMake on Windows. Works like a charm.
  16. Replies
    19
    Views
    1,163

    Hard to say what the issue is without more...

    Hard to say what the issue is without more insight into how you're adding files and what the error messages you get are.

    We have a version of the Teensy 3.x core that we use for our projects and...
  17. Read the licenses of the code that you use from...

    Read the licenses of the code that you use from external sources (i.e. the Teensy cores) and follow the guidelines in those. If license obligations are too onerous, don't use that library and write...
  18. Thread: uNav INS

    by brtaylor
    Replies
    709
    Views
    149,107

    Thanks for posting! I'm going to have to think...

    Thanks for posting! I'm going to have to think through this a bit more.
  19. Replies
    158
    Views
    4,041

    I'd be super keen if someone got NAND flash...

    I'd be super keen if someone got NAND flash working with Teensy. Having storage size rivaling an SD card in a soldered on solution would be awesome.
  20. Replies
    2
    Views
    351

    Not with the Teensy 4.0, since the bootloader...

    Not with the Teensy 4.0, since the bootloader chip isn't available yet, but plenty of people have with the Teensy 3.x. Be sure to read through the links on this page:...
  21. Maybe I'm misunderstanding your goal, but I would...

    Maybe I'm misunderstanding your goal, but I would think about this some more. Are you actually trying to get analog data or digital pin state (i.e. on or off)? If it's digital pin state, then you...
  22. Thread: uNav INS

    by brtaylor
    Replies
    709
    Views
    149,107

    Great to hear! Yeah, with the platforms I've been...

    Great to hear! Yeah, with the platforms I've been testing for, they're always moving some.
  23. Replies
    54
    Views
    6,818

    Yes, they're no longer for sale - will need to be...

    Yes, they're no longer for sale - will need to be updated to work with the Teensy 4 / 4.1 pinout.
  24. Replies
    54
    Views
    6,818

    Here is the Backpack pinout. I'd be curious to...

    Here is the Backpack pinout. I'd be curious to know if/what would need to be changed to work with Teensy 4.0. Please let me know if you need additional information.
    20566

    There were two voltage...
  25. Thread: uNav INS

    by brtaylor
    Replies
    709
    Views
    149,107

    Yeah, seems weird - it's too big of an error to...

    Yeah, seems weird - it's too big of an error to be declination. I haven't had a chance yet to do a deep dive into what's going on.
  26. Thread: uNav INS

    by brtaylor
    Replies
    709
    Views
    149,107

    Attached is a zip of the corrected code. It was...

    Attached is a zip of the corrected code. It was being used with some CMake build tools, but should be easy enough to get it working as an Arduino library. Requires Eigen.

    Yaw tracking has been...
  27. Thread: uNav INS

    by brtaylor
    Replies
    709
    Views
    149,107

    Love the F9P's - especially adding in CORS...

    Love the F9P's - especially adding in CORS corrections, fast time to fix and low standard deviation.

    Haven't done too much with this filter, there were a couple minor errors discovered, but mostly...
  28. Replies
    236
    Views
    75,030

    Seems like this deserves its own thread.

    Seems like this deserves its own thread.
  29. Thread: SBUS Library

    by brtaylor
    Replies
    68
    Views
    17,036

    Hey John, In the SBUS library, you'll see that...

    Hey John,

    In the SBUS library, you'll see that I set the baud rate to 100,000 in the begin method:
    https://github.com/bolderflight/SBUS/blob/master/src/SBUS.cpp#L47

    Where _sbusBaud is defined...
  30. Thread: SBUS Library

    by brtaylor
    Replies
    68
    Views
    17,036

    Hi Funwey, Have you downloaded the library...

    Hi Funwey,

    Have you downloaded the library recently? I only recently edited it to enable the Teensy 4.
    https://github.com/bolderflight/SBUS

    Also:
    1. Don't use the inverter circuit. The Teensy...
  31. Replies
    122
    Views
    53,079

    You're right, now that I take a closer look - the...

    You're right, now that I take a closer look - the bytes are repeated.

    The prmac function seems to work fine.
  32. Replies
    122
    Views
    53,079

    Awesome, I can confirm that works. Thanks!

    Awesome, I can confirm that works. Thanks!
  33. Replies
    122
    Views
    53,079

    With Teensy 3.6 at any CPU setting above 120 MHz,...

    With Teensy 3.6 at any CPU setting above 120 MHz, running this code (https://github.com/FrankBoesing/TeensyMAC/blob/master/examples/PrintInfo/PrintInfo.ino) and library...
  34. Thread: uNav INS

    by brtaylor
    Replies
    709
    Views
    149,107

    Hi Andrew, We flight test often with the...

    Hi Andrew,

    We flight test often with the version of the EKF implemented in our flight software without issues on both fixed wing and multi-rotor vehicles...
  35. Thread: SBUS Library

    by brtaylor
    Replies
    68
    Views
    17,036

    I'm not sure, hasn't been tested other than what...

    I'm not sure, hasn't been tested other than what you've been doing.

    If you're fine with the two write methods being called at the same time, an alternative approach is to use one timer and write...
  36. Thread: SBUS Library

    by brtaylor
    Replies
    68
    Views
    17,036

    It's not flexible, which is why it's not...

    It's not flexible, which is why it's not implemented, but yes, you can work around it.

    In SBUS.cpp, you would change this (lines 26 - 33):


    #if defined(__MK20DX128__) || defined(__MK20DX256__)...
  37. Thread: SBUS Library

    by brtaylor
    Replies
    68
    Views
    17,036

    Which Teensy are you compiling and testing on?...

    Which Teensy are you compiling and testing on? For Teensy 3.0 and 3.1/3.2, this would be expected behavior - I have to emulate two stop bits and define some timers to help with that, which would only...
  38. Replies
    25
    Views
    2,774

    Send us an email at info@bolderflight.com!

    Send us an email at info@bolderflight.com!
  39. Replies
    19
    Views
    1,163

    This is the cmake toolchain I use for Teensy...

    This is the cmake toolchain I use for Teensy based projects:



    set(CMAKE_SYSTEM_NAME Generic)
    set(CMAKE_SYSTEM_PROCESSOR arm)
    set(CMAKE_C_COMPILER arm-none-eabi-gcc)
    set(CMAKE_CXX_COMPILER...
  40. Replies
    5
    Views
    431

    Silly question. Why wireless when the distance is...

    Silly question. Why wireless when the distance is so short?
  41. Replies
    3
    Views
    491

    Thanks! That's an interesting reference.

    Thanks! That's an interesting reference.
  42. Replies
    3
    Views
    491

    Custom Teensy 3.6 Crystal

    I ran into an interesting observation and I'm looking for some insight. I typically use this crystal for my Teensy 3.6 based custom projects:...
  43. Replies
    11
    Views
    1,235

    I use KiCad.

    I use KiCad.
  44. Replies
    2
    Views
    481

    Here's a link to a Teensy 3.2 reference board...

    Here's a link to a Teensy 3.2 reference board clone:
    https://github.com/thewknd/teensy-boards/tree/master/Teensy%203.2%20reference%20board%20clone

    It has a shared cart on Mouser that you can...
  45. Replies
    2
    Views
    417

    Completely depends on what your requirements are....

    Completely depends on what your requirements are. We don't know the accuracy that you need to measure current or the expected current range. The click board isn't doing anything magical - it's simply...
  46. Replies
    9
    Views
    660

    The ATmega 328 and similar are great through-hole...

    The ATmega 328 and similar are great through-hole packages as well - very straightforward to design a working PCB and you can stick with hand-soldering through-hole parts. The reference manual is...
  47. Replies
    9
    Views
    757

    Yes, that's what's needed.

    Yes, that's what's needed.
  48. Replies
    9
    Views
    757

    Simply use one of the other bus objects, i.e....

    Simply use one of the other bus objects, i.e. Wire1 instead of Wire.
  49. Replies
    323
    Views
    43,287

    Thanks for that bit of information!

    Thanks for that bit of information!
  50. Replies
    323
    Views
    43,287

    Trying out MTP Responder. Shows up fine on...

    Trying out MTP Responder. Shows up fine on Windows 10 using a Teensy 3.6 with the built-in SD running MTP Blinky with the patch mentioned in the PR applied. I can create folders, but not rename them...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4