microsoft / Azure_Kinect_ROS_Driver

A ROS sensor driver for the Azure Kinect Developer Kit.
MIT License
304 stars 226 forks source link

parameter 'sensor_sn' has invalid type: expected [string] got [integer] #277

Closed furkansariyildiz closed 1 year ago

furkansariyildiz commented 1 year ago

Hello everyone, I have a problem with Azure Kinect ROS Driver (Foxy) launch file. I am trying to give string value for sensor_sn parameter using launch file but it returns parameter 'sensor_sn' has invalid type: expected [string] got [integer].

DeclareLaunchArgument( 'sensor_sn', default_value="000138922712" )

Thank you for any advice.

furkansariyildiz commented 1 year ago

Okay, I solve it via this command; (https://github.com/ros-planning/moveit2/issues/1049)

LC_NUMERIC=en_US.UTF-8 ros2 launch azure_kinect_ros_driver driver.launch.py

furkansariyildiz commented 1 year ago

I have one more solution, you need to create config.yaml files for all Azure Kinect DK.