ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

turtlebot3 low battery beeping

asked 2018-07-03 17:43:18 -0500

AmateurHour gravatar image

Hello! To preface, I am running ros on a turtlebot3 using Ubuntu 16.02. I am wondering where I can change the turtlebot's source code so that it does not beep when the battery is low. Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-07-03 17:59:56 -0500

Hi @AmateurHour,

The buzzer you mentioned is equipped with OpenCR, the main controller of TurtleBot3. OpenCR checks the voltage of the battery and when the voltage is below 11V, the buzzer sounds. If you do not want to use it, you can modify the turtlebot3_diagnosis.cpp part of OpenCR. The related code is the link below.

Please refer to the link below for the information needed for this modification. :)

edit flag offensive delete link more


Fantastic, thank you!!

AmateurHour gravatar image AmateurHour  ( 2018-07-03 21:31:53 -0500 )edit

Hi @Pyo,

I am also interested in making this modification. My Arduino IDE is setup for OpenCR already, and I have found the file I'm supposed to modify according to the last link:

In my case, the path is


I have made the changes in the code to stop the low voltage alarm, but how do I sent the modified file to the OpenCR? Do I need to upload it somehow? Run the bootloader?

I can't just use arduino to upload it to the board because it is a .cpp file

Please help! Thanks.

rodrigo55 gravatar image rodrigo55  ( 2021-10-04 10:16:08 -0500 )edit

You could use Arduino IDE to upload the modified firmware.

Will Son gravatar image Will Son  ( 2021-10-14 19:56:57 -0500 )edit

Question Tools

1 follower


Asked: 2018-07-03 17:43:18 -0500

Seen: 2,921 times

Last updated: Jul 03 '18