Giter Site home page Giter Site logo

Comments (4)

pcler avatar pcler commented on June 29, 2024

Does the IP and port of ground control station means those of the PC which is running Qgroundcontrol?

Yes. The target IP/port mean the ones of your PC that is running Qgroundcontrol Station. And the src port means the port of Onboard linux that you would like to communicate with the Qgroundcontrol Station. In the concrete, you can get target IP by checking the IP of your PC which is running Ogroundcontrol Station. And you can set target port by modifying the launch file that you mention, meanwhile input the same value on your Qgroundcontrol Station as the 4th point of https://github.com/dji-sdk/Onboard-SDK-ROS/blob/3.1/dji_sdk_dji2mav/README.md shows.

What's more, it is allowed that several stations connect to the same drone. That is how the indexes after "targetIp" "targetPort" "srcPort" come.

If the connection is fail, please double check whether the IP and port is correctly config. Then check out whether anything else blocks the port. Some firewalls may do so.

from onboard-sdk-ros.

pcler avatar pcler commented on June 29, 2024

It would be better if you could show us more details about the failure, such as your launch file and your Qgroundcontrol station config. Thank you!

from onboard-sdk-ros.

lanyusea avatar lanyusea commented on June 29, 2024

closed because we have updated all codes/docs about the onboard SDK to solve any possible problem.

please reopen the issue if you still suffer the same problem

from onboard-sdk-ros.

wkyoun avatar wkyoun commented on June 29, 2024

wkyoun@wkyoun:~$ roslaunch dji_sdk_dji2mav dji2mav_bringup.launch

... logging to /home/wkyoun/.ros/log/e7964014-7499-11e6-85c9-00c2c6cf6a1b/roslaunch-wkyoun-    7686.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://192.168.43.124:36496/

SUMMARY
========

PARAMETERS
 * /dji2mav_bringup/srcPort1: 14555
 * /dji2mav_bringup/srcPort2: 14549
 * /dji2mav_bringup/targetIp1: 192.168.43.138
 * /dji2mav_bringup/targetIp2: 192.168.43.138
 * /dji2mav_bringup/targetPort1: 14550
 * /dji2mav_bringup/targetPort2: 14551
 * /rosdistro: indigo
 * /rosversion: 1.11.20

NODES
  /
    dji2mav_bringup (dji_sdk_dji2mav/dji2mav_bringup)

ROS_MASTER_URI=http://192.168.43.124:11311

core service [/rosout] found
process[dji2mav_bringup-1]: started with pid [7704]
[dji2mav] [INFO] Going to establish connection for Manager with index 0. The size of sender list is     set to 16, the size of send buf and recv buf are set to 512 and 4096...
[dji2mav] [INFO] Going to establish connection with 192.168.43.138:14550 using port 14555...
[dji2mav] [INFO] Attempt to connect to 192.168.43.138:14550 using local port 14555...
[dji2mav] [INFO] ...connection succeed.
[dji2mav] [INFO] ...succeed in establishing connection.
[dji2mav] [INFO] ...succeed in establishing connection for Manager 0.
[dji2mav] [INFO] Going to establish connection for Manager with index 1. The size of sender list is     set to 16, the size of send buf and recv buf are set to 512 and 4096...
[dji2mav] [INFO] Going to establish connection with 192.168.43.138:14551 using port 14549...
[dji2mav] [INFO] Attempt to connect to 192.168.43.138:14551 using local port 14549...
[dji2mav] [INFO] ...connection succeed.
[dji2mav] [INFO] ...succeed in establishing connection.
[dji2mav] [INFO] ...succeed in establishing connection for Manager 1.
[dji2mav] [INFO] Succeed in registering module heartbeat.
[dji2mav] [INFO] Succeed in registering module sensors.
[dji2mav] [INFO] Succeed in registering module waypoint.
[dji2mav] [INFO] Succeed in registering module hotpoint.
[dji2mav_bringup-1] process has died [pid 7704, exit code -11, cmd /home/wkyoun/catkin_ws/devel    /lib/dji_sdk_dji2mav/dji2mav_bringup __name:=dji2mav_bringup __log:=/home/wkyoun    /.ros/log/e7964014-7499-11e6-85c9-00c2c6cf6a1b/dji2mav_bringup-1.log].
log file: /home/wkyoun/.ros/log/e7964014-7499-11e6-85c9-00c2c6cf6a1b/dji2mav_bringup-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
done

Warning: You have connected QGroundControl to a firmware flight stack which is only partially supported. If you are using the APM Flight Stack it is currently recommended to use Mission Planner, APM Planner or Tower as your ground control station.

screenshot from 2016-09-07 10 41 41

from onboard-sdk-ros.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.