Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this implement/fix?
PS4用のゲームパッド、DUALSHOCK4でRaspberry Pi Mouse V3を操作できます。
Does this close any currently open issues?
No
Related PR: rt-net/raspimouse_ros_examples#38
How has this been tested?
使用した機材はこちら
以下のUbuntuマシンで、必要なROS 2ノードを起動し、ゲームパッドで操作できることを確認しました。
$ uname -a Linux ubuntu 5.4.0-1045-raspi #49-Ubuntu SMP PREEMPT Wed Sep 29 17:49:16 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
実行したコマンドはこちら。
$ ros2 launch raspimouse_ros2_examples teleop_joy.launch.py joydev:="/dev/input/js0" joyconfig:=dualshock4 mouse:=true
Any other comments?
dmesgのログはこちら。DUALSHOCK4は有線で接続しています。
Checklists