Search results

  1. A

    Multiple interval timers with encoders T4

    So I figured out the problem, but first, here is my code: #include <ros.h> #include <std_msgs/Float32.h> #include <sensor_msgs/Imu.h> #include "QuadEncoder.h" #include <Wire.h> #include <Adafruit_Sensor.h> #include <Adafruit_BNO055.h> #include <utility/imumaths.h> #define PI...
  2. A

    Multiple interval timers with encoders T4

    Hi all, I am using rosserial on a teensy 4.0 and need to do a few things: control 3 stepper motors in closed loop feedback for position setting, read imu data, and maybe a control servo. What I did so far was use an IntervalTimer to create the PID loops for the stepper motors, but I am also...
Back
Top