sudo apt install libhidapi-dev
pip3 install pydualsenseSupported 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 deviceOn 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 restartros2 run dualsense_driver dualsense_driver.pySet 0~255 motor power to left_motor / right_motor ROS 2 parameters.
ros2 param set /dualsense_driver left_motor 255