-
Notifications
You must be signed in to change notification settings - Fork 1
Chassis imu #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Chassis imu #5
Conversation
JorgePerC
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Recuerden que esto eventualmente se volverá una task.
Vayan definiendo las queues para leer los datos de las otras tasks
src/chassisMove.cpp
Outdated
| //se llaman los valores dados por el acelerometro de la imu y por las velocidades de los motores. | ||
| void chassisMove::LecturaDeDatos(float x1, float y1,float z1 , float leftFrontSpeed, float rightFrontSpeed, float rightBackSpeed, float leftBackSpeed){ | ||
|
|
||
| float x1g = x1 / 16384.0; // Conversión a G (para ±2g) esto solo los valores del acelerometro(tengo duda si se tiene que convertir) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Está bien la conversión.
Crees poderle poner un comentario del valor de ese número...? Es por la resolución? alguna constante de la gravedad? Y si se puede, link a la referencia
JorgePerC
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Está super! Ahora sólo ponte de acuerdo con Diego, sobre cuál va a ser el struct /queue por el cual van a mandar los datos
Hola, hice unas modificaciones para lo de imu. :)