-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c885db6
commit bf81cc4
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,29 @@ | ||
# roboteq_motor_controller_driver | ||
|
||
### Setting the configuration roboteq motor controller parameters | ||
|
||
```yaml | ||
/roboteq_motor_controller_node: | ||
ros__parameters: | ||
roboteq_motor_controller: | ||
port_name: "/dev/ttyACM0" # Port name of left motor controller serial port. | ||
frame_id: "roboteq_motor_controller" # Frame ID | ||
baudrate: 115200 # Baudrate of the roboteq motor controller serial port. | ||
left_motor_direction: 1 # Left motor direction, it can be 1 or -1 | ||
right_motor_direction: 1 # Right motor direction, it can be 1 or -1 | ||
motor_acceleration: 1.0 # Acceleration of left and right motors. | ||
motor_deceleration: 1.0 # Deceleration of left and right motors. | ||
``` | ||
### Build roboteq_motor_controller package | ||
```bash | ||
cd ~ros2_ws/src && git clone https://github.com/furkansariyildiz/roboteq_motor_controller_driver.git | ||
``` | ||
```bash | ||
cd ~ros2_ws && colcon build --symlink-install --packages-select roboteq_motor_controller | ||
``` | ||
|
||
### Run command via launch | ||
```bash | ||
ros2 launch roboteq_motor_controller roboteq_motor_controller.launch.py | ||
``` |