Skip to content
This repository has been archived by the owner on Feb 19, 2021. It is now read-only.

camera-sample-mavlink-client fails on Ubuntu #132

Open
hamishwillee opened this issue Mar 6, 2018 · 4 comments
Open

camera-sample-mavlink-client fails on Ubuntu #132

hamishwillee opened this issue Mar 6, 2018 · 4 comments

Comments

@hamishwillee
Copy link
Contributor

hamishwillee commented Mar 6, 2018

  1. The CSD will need to be run with a config that matches the platform. For ubuntu.conf the mavlink config is
    port=24570
    system_id=1
    
    • However the example is hard coded to connect to port 14550 and will not detect CSD for this configuration.
    • Why is this port and system id used?
  2. If the port is changed in config to 14550 the example runs, but it does not detect any streams:
    Open UDP [5]
    Bind UDP [5] 0.0.0.0:14550
    Camera Daemon found: sysid: 1
    
    No streams found.
    Please make your selection (type stream number):
    

So I suggest that we update sample to take an argument for the port (with default 14550) but still need debugging on why streams not found.

@hamishwillee
Copy link
Contributor Author

Can we also confirm that the purpose of this example is to "Test MAVLink publishing of available RTSP streams" ? ie as an alternative tor Avahi

@hamishwillee
Copy link
Contributor Author

hamishwillee commented Mar 13, 2018

This still fails with changes in #138. However it stops at

Bind UDP [5] 0.0.0.0:14550

... so does not even find the camera daemon.

@lbegani
Copy link

lbegani commented Mar 13, 2018

@hamishwillee Lot of things have changed in the mavlink protocol since the time this was written. The idea earlier was to test mavlink video streaming message but now I would like to change it to be a mavlink client to do what QGC does, detect hearbeat, query camera caps etc. For now , we have just moved the files around, no work on making the test app run is done yet. We will make it functional and keep you posted.

@hamishwillee
Copy link
Contributor Author

Thanks @lbegani OK. I've done Dronecode/camera-manager-docs#5 to just track the files moving. There are a few questions there :-)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants