Closed robotphil closed 2 years ago
Could you share the output of the following commands?
echo $ROS_PACKAGE_PATH
rosmsg show ds4_driver/Status
So embarrassingly, after putting this project down for a couple of days it seems like the problem has fixed itself, perhaps I needed to restart the system for Python to fully get set up - the fresh install seems to have done the trick. In any case, here is the output:
$ echo $ROS_PACKAGE_PATH /home/phil/catkin_ws/src:/opt/ros/noetic/share
$ rosmsg show ds4_driver/Status std_msgs/Header header uint32 seq time stamp string frame_id float32 axis_left_x float32 axis_left_y float32 axis_right_x float32 axis_right_y float32 axis_l2 float32 axis_r2 int32 button_dpad_up int32 button_dpad_down int32 button_dpad_left int32 button_dpad_right int32 button_cross int32 button_circle int32 button_square int32 button_triangle int32 button_l1 int32 button_l2 int32 button_l3 int32 button_r1 int32 button_r2 int32 button_r3 int32 button_share int32 button_options int32 button_trackpad int32 button_ps sensor_msgs/Imu imu std_msgs/Header header uint32 seq time stamp string frame_id geometry_msgs/Quaternion orientation float64 x float64 y float64 z float64 w float64[9] orientation_covariance geometry_msgs/Vector3 angular_velocity float64 x float64 y float64 z float64[9] angular_velocity_covariance geometry_msgs/Vector3 linear_acceleration float64 x float64 y float64 z float64[9] linear_acceleration_covariance float32 battery_percentage int32 battery_full_charging ds4_driver/Trackpad touch0 uint16 id int32 active float32 x float32 y ds4_driver/Trackpad touch1 uint16 id int32 active float32 x float32 y int32 plug_usb int32 plug_audio int32 plug_mic
Awesome! Thanks for the follow up!
Hello, I am having a bit of trouble running this node in ROS. I've had the issue on a couple of different computers now so I feel like I am missing something.
I issue the following command: roslaunch ds4_driver demo.launch
and I get the following output
I am using a fresh copy of Ubuntu 20.04.4, running ROS Noetic installed plus Gazebo. This is the only thing I've installed on this system so far.
When installing ds4_drv I followed the instructions on the noetic branch, downloading the ds4drv driver exactly how it says in the instructions, and ran into no problems in doing so.
I git cloned the noetic branch of ds4_driver directly to my src folder and used catkin_make to compile. There were no issues on compilation.
I am not quite sure what is going on, I suspected it was a problem with my python setup but I am not quite experienced enough in python to understand what is going on. I thought starting completely fresh would help but the problem persists.