Get current Gimbal parameters


#21

The issue is I think ‘ts’ is set to 0. Can you please try with ‘ts’ set to 2 ?


#22

Thanks
That does it.

Another issue - can we get the video stream using ros sdk ?


#23

Only if you are using M210 series. DJI does not provide video stream using ros sdk for M100.


#24

And if we are using M600 ?


#25

Is there any way to stream from M 100 that you know (not by ros sdk …) ?


#26

As I said, it is only available for M210 series.
Please checkout these links:

The above points are valid for DJI Cameras. If you are using your own custom camera, you can connect it to RPi or other computer and get video stream.


#27

You can also checkout https://flyt.live.
It can stream video from mobile phone/tablet attached to DJI RC (it should work with any DJI drone).


#28

Thanks

Is there is a way to setHome to M 600 ?


#29

Hi

Can we use flytos Ros services using ronnodejs ?
If so, can you send usage example ?

Ofer


#30

I believe you meant ROS nodejs.
We do not have any usage example but you can follow these guides.

Our API documentation - http://api.flytbase.com/
Rosnodejs Overview - http://wiki.ros.org/rosnodejs & http://wiki.ros.org/rosnodejs/overview
Rosnodejs Rostopic Subscription Tutorial - http://wiki.ros.org/rosnodejs/overview/Publishers%20and%20Subscribers#Subscribers
Rosnodejs Rosservice Client Tutorial - http://wiki.ros.org/rosnodejs/overview/services#Calling_Services


#31

Hi

We are trying to call hot_point_… from command line -

rosservice call /flytos/dji_sdk/mission_hotpoint_upload ‘{‘hotpoint_task’:{“latitude”: 32.9180, “longitude”: 34.8192, “altitude”: 10, “radius”: 70, “angular_speed”: 5, “is_clockwise”: 0, “start_point”: 0, “yaw_mode”: 0}}’

osservice call /flytos/dji_sdk/mission_hotpoint_getInfo
hotpoint_task:
latitude: 32.918
longitude: 34.8192
altitude: 14.0
radius: 30.0
angular_speed: 5.0
is_clockwise: 0
start_point: 0
yaw_mode: 0
cmd_set: 0
cmd_id: 0
ack_data: 0

BUT KEEP GETTING -

STATUS/1 @ getErrorCodeMessage, L644: missionHpActionCallback
STATUS/1 @ getCMDSetMissionMSG, L871: MISSION_TASK_TIMEOUT

result: False
cmd_set: 3
cmd_id: 32
ack_data: 214

when we call -

rosservice call /flytos/dji_sdk/mission_hotpoint_action 0

What could be the reason that we can’t activate the action ?

Thanks

Ofer


#32

HI
I managed to resolve that issue - invalid parameter in dji assistant

Thanks

Ofer


#33

hi @shuki,
can you please mention what exact parameter you fixed in DJI assistant.


#34

Yes

The “Enable Ground Station” checkbox for M 100


#35

We have another issue

Most of the time we manage to call all hot_point_XXX ros services using rospy.
But, suddenly we get “Unable to connect to service [errno 111] connection refused”.

What can be the cause for that error ?

Ofer


#36

Sharing the runlog would be a lot helpful to debug this issue.