sudo apt install libhidapi-dev
pip3 install pydualsense
Supported connection types are USB only.
If you set the permission only this time, execute the following command:
sudo chmod 606 /dev/hidraw* # or specify the device
On the other hand, if you would like to do it permanently, update the udev rules with the following commands:
sudo cp config/99-dualsense.rules /etc/udev/rules.d/
sudo service udev restart
ros2 run dualsense_driver dualsense_driver.py
Set 0~255 motor power to left_motor
/ right_motor
ROS 2 parameters.
ros2 param set /dualsense_driver left_motor 255