’m trying to get my initial DJI ROS workspace up and running using Ubuntu 18.04 and ROS Melodic. Everything compiles correctly in terms of cmake and catkin_make after changing some dependencies. However, I am having trouble running the node that the documentation is saying to run to see if the nodes are working. When I try to launch the node, I get the following output. It says the user configuration file is not found. Where is the code looking to find a user configuration file? Is this the UserConfig.txt file with the app ID and app key information? If so, where should I place this file within my ROS workspace?
kjhardrict@ubuntu:~/deuce_ws$ roslaunch dji_osdk_ros dji_sdk_node.launch ... logging to /home/kjhardrict/.ros/log/0d0b55f6-a519-11ea-8cff-000c2982f0af/roslaunch-ubuntu-17065.log Checking log directory for disk usage. This may take a while. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.
started roslaunch server ubuntu:46423
SUMMARY ========
PARAMETERS * /dji_sdk/acm_name: /dev/ttyACM0 * /dji_sdk/align_time: False * /dji_sdk/app_id: 1089099 * /dji_sdk/app_version: 1 * /dji_sdk/baud_rate: 230400 * /dji_sdk/dxc: False * /dji_sdk/enc_key: a263fdc78e88cca16... * /dji_sdk/serial_name: /dev/ttyUSB0 * /dji_sdk/use_broadcast: False * /rosdistro: melodic * /rosversion: 1.14.5
NODES / dji_sdk (dji_osdk_ros/dji_sdk_node)
auto-starting new master process[master]: started with pid [17075] ROS_MASTER_URI=localhost:11311
setting /run_id to 0d0b55f6-a519-11ea-8cff-000c2982f0af process[rosout-1]: started with pid [17086] started core service [/rosout] process[dji_sdk-2]: started with pid [17093] [ INFO] [1591133760.758911741]: Advanced Sensing is Enabled on M210. terminate called after throwing an instance of 'std::runtime_error' what(): User configuration file not found [dji_sdk-2] process has died [pid 17093, exit code -6, cmd /home/kjhardrict/deuce_ws/devel/lib/dji_osdk_ros/dji_sdk_node __name:=dji_sdk __log:=/home/kjhardrict/.ros/log/0d0b55f6-a519-11ea-8cff-000c2982f0af/dji_sdk-2.log]. log file: /home/kjhardrict/.ros/log/0d0b55f6-a519-11ea-8cff-000c2982f0af/dji_sdk-2*.log ^X^C[rosout-1] killing on exit [master] killing on exit shutting down processing monitor... ... shutting down processing monitor complete done
|