Activation Issues
2544 4 2017-7-7
Uploading and Loding Picture ...(0/1)
o(^-^)o
Newmakr
New

United States
Offline

I'm running into errors with the activation process with the Manifold and a Matrice 100. I have installed the dji_sid_lib and added user privelege to dialout. Everything has been catkin_maked and all the apps are running. API control is enabled on DJI Assistant and DJI GO is running on the controller, connected to the internet. When I run the launch command, it seems that the getDroneVersion function isn't being run during the activation process. The activate function is correctly reading the launch parameters defined in the launch file, App ID and Key are correct (but omitted here) Have I missed defining the drone type somewhere, or is the SDK trying to read this information through the hardware link to the drone? It also seems that the Manifold isn't reading anything through the serial connection. I followed the hardware guide setup and checked all the pin voltages for that.


Is it stepping through the getDroneVersion call somehow? Its stopping after the printf commands after the getHwVersion and getFwVersion functions fail to return.




rosAdapter->init(serial_name, baud_rate);
rosAdapter->coreAPI->getDroneVersion();
//usleep(1000000);
ros:uration(1.0).sleep();
printf("=================================================\n");
printf("Hardware : %s\n", rosAdapter->coreAPI->getHwVersion());
printf("Firmware : 0x0%X\n", rosAdapter->coreAPI->getFwVersion());
printf("=================================================\n");





Not sure how to delete this table that copied with the above code.


ubuntu@tegra-ubuntu:~/catkin_
ws/src/Onboard-SDK-ROS/dji_sdk$ roslaunch dji_sdk sdk_manifold.launch
... logging to /home/ubuntu/.ros/log/11a15224-6349-11e7-b673-60601f199aea/roslaunch-tegra-ubuntu-2421.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://tegra-ubuntu:51267/

SUMMARY
========

PARAMETERS
* /dji_sdk/app_bundle_id: Not required in t...
* /dji_sdk/app_id: *******
* /dji_sdk/app_version: 1
* /dji_sdk/baud_rate: 230400
* /dji_sdk/enc_key: 679acf2abc4b06a3e...
* /dji_sdk/groundstation_enable: 1
* /dji_sdk/serial_name: /dev/ttyTHS1
* /rosdistro: indigo
* /rosversion: 1.11.21

NODES
  /
    dji_sdk (dji_sdk/dji_sdk_node)

auto-starting new master
process[master]: started with pid [2432]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to 11a15224-6349-11e7-b673-60601f199aea
process[rosout-1]: started with pid [2445]
started core service [/rosout]
process[dji_sdk-2]: started with pid [2456]
=================================================
app id   : *******
app key  : *******
=================================================
--- Connection Info ---
Serial port: /dev/ttyTHS1
Baudrate: 230400
-----
STATUS init,line 62: Open serial device /dev/ttyTHS1 with baudrate 230400...
[ INFO] [1499455115.022988311]: Succeed to create thread for readPoll
=================================================
Hardware :
Firmware : 0x00
=================================================
ERROR activate,line 449: Please call getDroneVersion first.
Broadcast call back received


Any help would be appreciated.
Thanks
2017-7-7
Use props
DJI Natalia
Administrator
Flight distance : 318 ft

Offline

Sorry about that, we've reported this case to the engineers, will get back to you soon when I get information from them, thank you very much for your patience!
Update: we received your e-mail and replied you already, please feel free to reply the e-mail if you have any further questions, thanks.

2017-7-7
Use props
Taegoo Kim
lvl.1
South Korea
Offline

DJI Natalia Posted at 2017-7-7 19:50
Sorry about that, we've reported this case to the engineers, will get back to you soon when I get information from them, thank you very much for your patience!
Update: we received your e-mail and replied you already, please feel free to reply the e-mail if you have any further questions, thanks.

HI, Natalia

I am also getting the exactly issue as mentioned above.

Please let me know what the estimated causes would be so that I can reduce the amount of debugging time.

Thank you,
Taegoo
2017-7-28
Use props
DJI Natalia
Administrator
Flight distance : 318 ft

Offline

Taegoo Kim Posted at 2017-7-28 03:29
HI, Natalia

I am also getting the exactly issue as mentioned above.

Please send an e-mail to djisupport@dji.com, they will help you follow up the case.
2017-7-31
Use props
JohnJWitcher
New

United States
Offline

Thanks for answer
2019-8-7
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules