-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ros2_control seem to be working, testing the communication with Pico
- Loading branch information
Showing
5 changed files
with
96 additions
and
40 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
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
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,58 +1,57 @@ | ||
<?xml version="1.0"?> | ||
<robot xmlns:xacro="http://www.ros.org/wiki/xacro"> | ||
|
||
<ros2_control name="ros2_control_wheel_joint" type="system"> | ||
<ros2_control name="hellothere" type="system"> | ||
|
||
|
||
<hardware> | ||
<plugin>omnidrive_rppico/OmniDriveRpPicoHardware</plugin> | ||
<param name="front_wheel_name">roue_avant_joint</param> | ||
<param name="left_wheel_name">roue_gauche_joint</param> | ||
<param name="back_wheel_name">roue_arriere_joint</param> | ||
<param name="right_wheel_name">roue_droite_joint</param> | ||
|
||
<param name="loop_rate">30</param> | ||
<param name="device">/dev/pts/9</param> | ||
<param name="loop_rate">30.0</param> | ||
<param name="device">/dev/pts/7</param> | ||
<param name="baudrate">115200</param> | ||
|
||
<param name="timeout_ms">10000</param> | ||
<param name="enc_counts_per_rev">3600</param> | ||
</hardware> | ||
|
||
|
||
<joint name="roue_avant_joint1"> | ||
<joint name="roue_avant_joint"> | ||
<command_interface name="velocity"> | ||
<param name="min">-10</param> | ||
<param name="max">10</param> | ||
<param name="max">10</param> | ||
</command_interface> | ||
<state_interface name="velocity"/> | ||
<state_interface name="position"/> | ||
<state_interface name="velocity"/> | ||
</joint> | ||
<joint name="roue_gauche_joint2"> | ||
<joint name="roue_gauche_joint"> | ||
<command_interface name="velocity"> | ||
<param name="min">-10</param> | ||
<param name="max">10</param> | ||
</command_interface> | ||
<state_interface name="velocity"/> | ||
<state_interface name="position"/> | ||
<state_interface name="velocity"/> | ||
</joint> | ||
<joint name="roue_arriere_joint3"> | ||
<joint name="roue_arriere_joint"> | ||
<command_interface name="velocity"> | ||
<param name="min">-10</param> | ||
<param name="max">10</param> | ||
</command_interface> | ||
<state_interface name="velocity"/> | ||
<state_interface name="position"/> | ||
<state_interface name="velocity"/> | ||
</joint> | ||
<joint name="roue_droite_joint4"> | ||
<joint name="roue_droite_joint"> | ||
<command_interface name="velocity"> | ||
<param name="min">-10</param> | ||
<param name="max">10</param> | ||
</command_interface> | ||
<state_interface name="velocity"/> | ||
<state_interface name="position"/> | ||
<state_interface name="velocity"/> | ||
</joint> | ||
</ros2_control> | ||
|
||
|
||
|
||
</robot> |
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
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