People who code: we want your input. Take the Survey
3

Don't disengage your controller. The purpose of a controller is not only to steer your system to the desired setpoint according to a predetermined dynamical response but also to counteract potential external factors that may impede this task. Think of a disturbance that will drive the system far from the setpoint once it has been reached. Thus, the ...


1

There can be a few explanations for this: Does your motor controller (ESC) have an on-off switch? If so, try flipping that Some ESCs need to "arm". Try going to full throttle and back and see if that makes a difference I'm assuming you have your battery plugged in ;-) Try reversing the direction in the myconfig.py file


1

These battery charging messages are normal when the battery is charging. What happens when you take the robot off the charger? Have you tried putting the robot into safe mode (b'\x80\x83') before sending commands? Have you tried either of the scripts on the iRobot STEM github repo? Please note that I'm an iRobot employee but the postings on this site are my ...


1

It would be much better to determine a fixed sample rate for your controller. A really rough rule of thumb is that whatever the settling time you need out of the loop once it is operating in the linear regime, your sampling interval should be between 10 times and 100 times less than the settling time. Put another way, the sample rate should be 10 to 100 ...


1

To learn electronics (which is pretty much essential), then a copy of The Art of Electronics, by Horowitz and Hill (ISBN: 978-0-521-37095-0), is indispensable. Nevertheless, on its own, it might not get you up and running as quickly as you like. Also, as you want to build a smart device, you will probably also need a controller of some sort, and you have ...


1

where do I start with the electronics? and basic accessories and peripherals like cameras, speakers/headphones, lights and some external buttons/controls - Like a helmet with front and rear camera, headset/speakers and physical volume/call controls or buttons While it would be easy for anyone to connect some button to an electronic device successfully, ...


1

The initial motor current required to pull away from standstill is likely the cause of the pi being reset, you could try to accelerate slowly rather than hitting the gas too quickly. A capacitor is used to stop the voltage spikes caused by the motor starting and stopping and reduce RF interference. The spikes could also be a cause of the pi reset. I use a ...


Only top voted, non community-wiki answers of a minimum length are eligible