Skip to content
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

How do I flash ROS library changes to OpenCR? #286

Open
royito55 opened this issue Oct 5, 2021 · 1 comment
Open

How do I flash ROS library changes to OpenCR? #286

royito55 opened this issue Oct 5, 2021 · 1 comment

Comments

@royito55
Copy link

royito55 commented Oct 5, 2021

I am trying to get rid of the low voltage warning buzzer. I realized that the odometry doesn't work after this.

I followed these instructions to find where I need to deactivate the alarm:

https://answers.ros.org/question/296145/turtlebot3-low-battery-beeping/?comment=387904#post-id-387904

But I don't know the actual steps to reupload the opencr packages? The manual simply says

How to modify ROS library code
You can modify ROS library in below paths.
Your/Arduino/Board/Package/Directory/OpenCR/hardware/OpenCR/Version/libraries/turtlebot3
Your/Arduino/Board/Package/Directory/OpenCR/hardware/OpenCR/Version/libraries/turtlebot3_ros_lib
If you want to modify it in the sketch folder, move the above two folders to the “skechbook/libraries” folder.

And I've found that path, but I can't open the .cpp in the Arduino IDE.

How do I flash these changes to the OpenCR?

@ROBOTIS-Will
Copy link
Contributor

Hi @royito55
In order to modify the firmware in the OpenCR board manager library, you could use an editor like VSCode to open the cpp file.
Once the modification is done, the updated firmware can be uploaed to the OpenCR via Arduino IDE by selecting the example you modified.
You can find instruction in the eManual as below.
Please note that the OpenCR board manager doesn't support ARM based CPU, therefore, in order to build and upload the firmware, you should use your laptop or PC.
image
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants