Modify motor torque and speed settings
Here you'll learn how to easily change motor settings with no need to set up any programming environment.
Beginning with firmware version 1.0.0 there's a much easier way to modify basic settings of the Rover with no need of building the firmware files. The firmware relies on a parameter file that is addressed by Core2-ROS during the operation.
Prerequisites
pageConnect via SSHpageConnect to a local network and the InternetMake sure you're running newest firmware and software
Firmware
pageFirmware updateSoftware
Type in the terminal:
And wait until the install completes.
Access launch file
Type in the terminal:
You'll access robot.launch
file that drives the firmware settings.
Example: Change torque_limit to 800
Add new line in robot.launch
file (before </launch>
):
This command will set new value to the motors torque limit. It will be 800 now.
Type Ctrl+O
and Enter
to save the modified configuration and Ctrl+X
to exit the editor.
Restart the Rover for the modifications to work.
Other parameters
See the parameters section of Leo Firmware readme for a list of different modifications possible.
Alter the launch file line you add to meet the parameter and value of your choice.
Have fun playing with the parameters! And remember to share your experiments in the forum.
Last updated