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
    5
    Views
    165

    With everything on 3.3V, I've just wired from the...

    With everything on 3.3V, I've just wired from the SD to the microcontroller. Make sure you have enough current capacity for the SD - they can be a bit power hungry.
  2. Replies
    25
    Views
    827

    Wow, great news! Especially if it has an...

    Wow, great news! Especially if it has an industrial temperature range, or close to it, would be nice to use in commercial products.
  3. My team uses WSL for loading software to Teensy....

    My team uses WSL for loading software to Teensy. Did you know that you can call Windows executables from the WSL environment? The easiest path that we've found is calling the windows version of the...
  4. @Pilot, thanks for the feedback, that's...

    @Pilot, thanks for the feedback, that's excellent!



    It's MIT - agree that we should put it in every file.



    I'll be sure to check it out. We have good unit tests for libraries that aren't...
  5. I finished getting our software open-sourced:...

    I finished getting our software open-sourced:
    https://gitlab.com/bolderflight/software

    We organized the software into many focused repos of limited scope to enhance code readability, re-use, and...
  6. Not OP, but typically you try to avoid latency....

    Not OP, but typically you try to avoid latency. Aircraft dynamics are pretty fast. Consider an aircraft that has an attitude hold control law that is trying to maintain level pitch and roll. It...
  7. Interesting! I'm actually in the process of...

    Interesting! I'm actually in the process of open-sourcing all of our flight controller software. We're still using the Teensy 3.6 microcontroller and haven't hit any performance limitations yet....
  8. Why not do a custom board? Then you can design...

    Why not do a custom board? Then you can design the placement and type of USB connector. Manufacturing costs might actually be cheaper than using the Teensy as well - the assembly shop we use charges...
  9. Replies
    3
    Views
    269

    Just to add on to what Pilot is saying, when I've...

    Just to add on to what Pilot is saying, when I've had a need to do similar operations in the past, and when I was reasonably certain that structs were ordered in a way such that they would be packed...
  10. Replies
    3
    Views
    269

    Best guess without seeing the whole...

    Best guess without seeing the whole thing...Configuration is a struct and c.data is an array of chars or unsigned chars. They're casting the data pointed to by c.data to the struct - in other words,...
  11. Replies
    2
    Views
    181

    The specs you link to for that servo mention a...

    The specs you link to for that servo mention a frequency of 333 Hz. Most standard servos, and indeed the servo library, are designed to work at 50 Hz. Do you know if that servo can operate at the...
  12. Replies
    11
    Views
    496

    No, you can: 1. Use a different IDE and just use...

    No, you can:
    1. Use a different IDE and just use Arduino to compile.
    2. Paul supplies a Makefile, so you can use GCC with GNU make.
    3. The core software is available, so you can adapt it to...
  13. Replies
    241
    Views
    76,609

    IIRC, some people wanted access to the raw counts...

    IIRC, some people wanted access to the raw counts from the sensor data instead of the float values.
  14. Replies
    241
    Views
    76,609

    The library has not been updated for Teensy 4.x....

    The library has not been updated for Teensy 4.x. There has been a fork and a PR to incorporate the necessary updates, but I haven't managed to test it yet (still haven't taken my Teensy 4 out of the...
  15. Replies
    8
    Views
    295

    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 +...
  16. Replies
    4
    Views
    248

    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.
  17. Replies
    4
    Views
    248

    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...
  18. Replies
    2
    Views
    242

    That's really convenient!

    That's really convenient!
  19. 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...
  20. 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;
  21. Replies
    6
    Views
    286

    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...
  22. 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...
  23. You have to modify the core library to add the...

    You have to modify the core library to add the additional pins.
  24. Replies
    4
    Views
    287

    Can you increase the buffer size?

    Can you increase the buffer size?
  25. 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...
  26. Replies
    11
    Views
    319

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

    Can you post pictures of your wiring for SPI and I2C?
  27. 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,...
  28. Replies
    19
    Views
    1,354

    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.
  29. Replies
    19
    Views
    1,354

    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.
  30. Replies
    19
    Views
    1,354

    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...
  31. 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...
  32. Thread: uNav INS

    by brtaylor
    Replies
    709
    Views
    151,555

    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.
  33. Replies
    158
    Views
    5,000

    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.
  34. Replies
    2
    Views
    399

    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:...
  35. 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...
  36. Thread: uNav INS

    by brtaylor
    Replies
    709
    Views
    151,555

    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.
  37. Replies
    54
    Views
    7,102

    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.
  38. Replies
    54
    Views
    7,102

    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...
  39. Thread: uNav INS

    by brtaylor
    Replies
    709
    Views
    151,555

    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.
  40. Thread: uNav INS

    by brtaylor
    Replies
    709
    Views
    151,555

    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...
  41. Thread: uNav INS

    by brtaylor
    Replies
    709
    Views
    151,555

    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...
  42. Replies
    241
    Views
    76,609

    Seems like this deserves its own thread.

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

    by brtaylor
    Replies
    68
    Views
    17,713

    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...
  44. Thread: SBUS Library

    by brtaylor
    Replies
    68
    Views
    17,713

    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...
  45. Replies
    122
    Views
    53,965

    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.
  46. Replies
    122
    Views
    53,965

    Awesome, I can confirm that works. Thanks!

    Awesome, I can confirm that works. Thanks!
  47. Replies
    122
    Views
    53,965

    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...
  48. Thread: uNav INS

    by brtaylor
    Replies
    709
    Views
    151,555

    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...
  49. Thread: SBUS Library

    by brtaylor
    Replies
    68
    Views
    17,713

    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...
  50. Thread: SBUS Library

    by brtaylor
    Replies
    68
    Views
    17,713

    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__)...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4