Camera manager bugs
lidiadltv opened this issue · comments
Tell us about your environment
- Ubuntu version: 20.04
- Docker Version:
- ROS/ROS2 version: Humble
- Commit hash: 0ee9463
Steps to reproduce issue
docker run -it --name psdk --rm --net host --privileged -v /dev:/dev --mount type=bind,source=$HOME/rossetup.sh,target=/rossetup.sh umdlife/umd-robot-essentials:v1.0.0 ros2 launch umd_bringup psdk_wrapper.launch.py
Open another terminal and enter the container
docker exec -it psdk /bin/bash
source /entrypoint.sh
Check the list of available services
ros2 service list
Try to set the shutter speed on the camera:
ros2 service call /robotxxx/camera_set_shutter_speed psdk_interfaces/srv/CameraSetShutterSpeed "payload_index: 1 work_mode: 0 shutter_speed_factor: 1"
Try to get the shutter speed on the camera:
ros2 service call /robotxxx/camera_get_shutter_speed psdk_interfaces/srv/CameraGetShutterSpeed "payload_index: 1"
Expected behavior
1 - Being able to set or get shutter speed
2 - Being able to download the file list from the camera SD card
3 - Being able to download a file from the camera SD card
4 - Being able to delete a file from the camera SD card
Actual behavior
1 - DJI function returns error 0x0E3 which means DJI_ERROR_SYSTEM_MODULE_RAW_CODE_INVALID_PARAMETER
2,3 and 4 do not throw any error but no action is perform either.