Skip to content

Commit

Permalink
Changed serial port and how yaml file is configured
Browse files Browse the repository at this point in the history
  • Loading branch information
VincidaB committed Apr 22, 2024
1 parent 6c9b621 commit 26ef33e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
23 changes: 12 additions & 11 deletions src/ezbot_robot/config/controllers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,18 @@ controller_manager:

omnidirectional_controller:
ros__parameters:
joints:
- roue_avant_joint
- roue_gauche_joint
- roue_arriere_joint
- roue_droite_joint

wheel_names:
- roue_avant_joint
- roue_gauche_joint
- roue_arriere_joint
- roue_droite_joint
joints: [
roue_avant_joint,
roue_gauche_joint,
roue_arriere_joint,
roue_droite_joint]


wheel_names: [
roue_avant_joint,
roue_gauche_joint,
roue_arriere_joint,
roue_droite_joint]

robot_radius: 0.25
wheel_radius: 0.03
Expand Down
2 changes: 1 addition & 1 deletion src/ezbot_robot/description/ros2_control.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<param name="right_wheel_name">roue_droite_joint</param>

<param name="loop_rate">30.0</param>
<param name="device">/dev/pts/7</param>
<param name="device">/dev/ttyAMA3</param>
<param name="baudrate">115200</param>

<param name="timeout_ms">10000</param>
Expand Down
1 change: 1 addition & 0 deletions src/ezbot_robot/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<depend>std_msgs</depend>
<depend>cv_bridge</depend>
<depend>image_transport</depend>
<!-- TODO add controller manager dependency-->
<!--
removed opencv, even though we need it-->
<depend>rclpy</depend>
Expand Down

0 comments on commit 26ef33e

Please sign in to comment.