Skip to content

Commit

Permalink
fix(fw): typos
Browse files Browse the repository at this point in the history
fixing some typos in the docs and functions.

Signed-off-by: Carlos Alatorre <[email protected]>
  • Loading branch information
xpeqex authored Oct 3, 2024
1 parent 4ce4cbb commit 7afb8d8
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions examples/MPU6050_DMP6_ESPWiFi/MPU6050_DMP6_ESPWiFi.ino
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
/*
MPU6050 DMP6 ESPWiFi
The board read quaternion data from the MPU6050 and sends Open Sound
The board reads quaternion data from the MPU6050 and sends Open Sound
Control messages.
This example requires the WiFiManager and OSCMEssage libraries available here:
- https://github.com/tzapu/WiFiManager
- https://github.com/CNMAT/OSC
Digital Motion Processor or DMP performs complex motion processing tasks.
- Fuses the data from the accel, gyro and extarnal magnetometer if applies,
compesating individual sensor noise and errors.
- Detect specific types of motion without the need to continuosly monitor
- Fuses the data from the accel, gyro, and external magnetometer if applied,
compensating individual sensor noise and errors.
- Detect specific types of motion without the need to continuously monitor
raw sensor data with a microcontroller.
- Reduce workload on the microprocessor.
- Output processed data such as quaternions, Euler angles, and gravity vectors.
The code incluces an auto calibration and offset generator tasks. Different
The code includes auto-calibration and offsets generator tasks. Different
output formats available.
This code is compatible with teapot propject by using the teapot output format.
This code is compatible with the teapot project by using the teapot output format.
Circuit: In addition to connection 3.3v, GND, SDA, and SCL, this sketch
depends on the MPU6050's INT pin being connected to the board's
external interrupt #0 pin.
Find the full MPU6050 library docummentation here:
Find the full MPU6050 library documentation here:
https://github.com/ElectronicCats/mpu6050/wiki
*/
Expand All @@ -51,9 +51,9 @@ MPU6050 mpu;
//MPU6050 mpu(0x68, &Wire1); //Use for AD0 low, but 2nd Wire (TWI/I2C) object.

/* OUTPUT FORMAT DEFINITION-------------------------------------------------------------------------------------------
- Use "OUTPUT_READABLE_QUATERNION" for quaternion commponents in [w, x, y, z] format. Quaternion do not
suffer from gimbal lock problem but is harder to parse or process efficiently on a remotehost or software
enviroments like Porcessing.
- Use "OUTPUT_READABLE_QUATERNION" for quaternion commponents in [w, x, y, z] format. Quaternion does not
suffer from gimbal lock problems but is harder to parse or process efficiently on a remote host or software
environment like Processing.
- Use "OUTPUT_READABLE_EULER" for Euler angles (in degrees) output, calculated from the quaternions coming
from the FIFO. EULER ANGLES SUFFER FROM GIMBAL LOCK PROBLEM.
Expand All @@ -63,10 +63,10 @@ coming from the FIFO. THIS REQUIRES GRAVITY VECTOR CALCULATION.
YAW/PITCH/ROLL ANGLES SUFFER FROM GIMBAL LOCK PROBLEM.
- Use "OUTPUT_READABLE_REALACCEL" for acceleration components with gravity removed. The accel reference frame
is not compesated for orientation. +X will always be +X according to the sensor.
is not compensated for orientation. +X will always be +X according to the sensor.
- Use "OUTPUT_READABLE_WORLDACCEL" for acceleration components with gravity removed and adjusted for the world
refernce frame. Yaw is relative if there is no magnetometer present.
reference frame. Yaw is relative if there is no magnetometer present.
- Use "OUTPUT_TEAPOT_OSC" for output that matches the InvenSense teapot demo.
-------------------------------------------------------------------------------------------------------------------------------*/
Expand Down Expand Up @@ -109,7 +109,7 @@ const unsigned int outPort = 9999; // Remote port to receive OSC

/*------Interrupt detection routine------*/
volatile bool MPUInterrupt = false; // Indicates whether MPU6050 interrupt pin has gone high
void ICACHE_RAM_ATTR dmpDataReady() {
void ICACHE_RAM_ATTR DMPDataReady() {
MPUInterrupt = true;
}

Expand Down

0 comments on commit 7afb8d8

Please sign in to comment.