-
Notifications
You must be signed in to change notification settings - Fork 2
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
feat(sensors): enable logging both pressure sensors on the 8/96 #761
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #761 +/- ##
=======================================
Coverage 83.28% 83.28%
=======================================
Files 101 101
Lines 4063 4063
=======================================
Hits 3384 3384
Misses 679 679 |
include/motor-control/core/stepper_motor/motor_interrupt_handler.hpp
Outdated
Show resolved
Hide resolved
6686bc9
to
191c971
Compare
…ne move and report both pressure sensors
30cc6e6
to
d1786f0
Compare
9e189d1
to
d611977
Compare
@@ -638,12 +652,20 @@ class MotorInterruptHandler { | |||
static_cast<uint32_t>(position_tracker >> 31)); | |||
} | |||
#ifdef USE_PRESSURE_MOVE | |||
void send_to_pressure_sensor_queue( | |||
void send_to_pressure_sensor_queue_rear( | |||
can::messages::BindSensorOutputRequest& m) { | |||
std::ignore = sensor_tasks::get_queues() | |||
.pressure_sensor_queue_rear->try_write_isr(m); | |||
// if (!success) {this->cancel_and_clear_moves();} |
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.
commented line here and 663
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.
Nice!
e5cb0f1
to
b704875
Compare
EXEC-266