Vasyl Yosypenko

Results 40 comments of Vasyl Yosypenko

I have the same issue, with my configuration: Python 3.7 pytest==7.0.1 pytest-cov-cov==3.0.0 I see that code was called, but coverage reports 0% for all file.

@nedbat, thanks for the answer. .coveragerc file: [run] relative_files = True [html] directory = coverage_html_report [report] skip_empty = True omit = # ignore blank files __init__.py some_parser/__init__.py some_parser/functions/__init__.py # ignore...

@nedbat, sorry, it was my mistake - my files are not used at all.

Try to remove delayMicroseconds(1250), and publish messages via a timer interrupt. so the code should be while(1) { nh.spinOnce(); } TimerISR // required time { IMU.readSensor(); if (nh.connected()) { imu_msg.header.stamp...

There is also the second solution, use Opto-isolator IC Module like these: https://www.ebay.com/itm/TLP281-4-Channel-Opto-isolator-IC-Module-Arduino-High-Low-level-Expansion-Board/191736124728?hash=item2ca45d1538:g:QooAAOSwL7VWlz-R:rk:21:pf:0 https://www.ebay.com/itm/8-Channel-Optocoupler-Module-12V-Isolation-Board-High-Level-Trigger-for-PCB/381752562624?epid=1382231719&hash=item58e239d3c0:g:E9gAAOSwvZZZcMUo:rk:9:pf:0 https://www.ebay.com/itm/TLP281-4-Channel-Opto-isolator-IC-Module-Arduino-High-Low-level-Expansion-Board/191736124728?hash=item2ca45d1538:g:QooAAOSwL7VWlz-R:rk:19:pf:0 and we can leave our red boards (VNH2SP30) as is.

As for me, we need to select 1 or 3 solutions. Solution 3 also requires DC/DC isolated module (5v to 5V) but is more reliable than 1.

@LyubomyrD , @AndriyPt As Lubomyr said we need to protect 4 pins ( InA, InB, EN, PWM). We have 4 drivers, so we need to have 16 channels isolation for...

@LyubomyrD , https://habr.com/post/386721/ 12V to 5V converters without isolation usually are more chipper than isolated 5V to 5V. We don't need to have big current for 5V, only for pull...

@AndriyPt yes, you are right. The first item is available in Ukraine: https://uamper.com/4-%D0%BA%D0%B0%D0%BD%D0%B0%D0%BB%D1%8C%D0%BD%D1%8B%D0%B9-%D0%BC%D0%BE%D0%B4%D1%83%D0%BB%D1%8C-%D1%81-%D0%BE%D0%BF%D1%82%D0%BE%D0%BF%D0%B0%D1%80%D0%BE%D0%B9-%D0%B8%D0%B7%D0%BE%D0%BB%D1%8F%D1%86%D0%B8%D1%8F-%D0%BD%D0%B0%D0%BF%D1%80%D1%8F%D0%B6%D0%B5%D0%BD%D0%B8%D1%8F-12%D0%92-3.3V-5V-TLP281?search=01005 The second can be : https://uamper.com/%D0%A1%D1%82%D0%B0%D0%B1%D0%B8%D0%BB%D0%B8%D0%B7%D0%B0%D1%82%D0%BE%D1%80-%D0%BD%D0%B0%D0%BF%D1%80%D1%8F%D0%B6%D0%B5%D0%BD%D0%B8%D1%8F-L7805CV-LM7805?search=%D1%81%D1%82%D0%B0%D0%B1%D1%96%D0%BB%D1%96%D0%B7%D0%B0%D1%82%D0%BE%D1%80 or simmilar

Thanks :)