Closed mfran89 closed 4 months ago
A little more context ,
I am setting up the mavsdk server by setting the host address to the mavproxy --out
Thanks Mike
Sorry, it was a silly issue I figured out. I was setting the ip address for System(IP_ADDRESS,PORT) to the remote IP address as opposed to the ip address of what system it was running on, in this case I set it to localhost and it worked. For some reason I found that 127.0.0.1 didn't work, but not a big deal. Hope this helps someone.
Thanks for the note. The connection set up will be a bit more explicit in the future: https://github.com/mavlink/MAVSDK/pull/2342
Hey!
I had used mavsdk 1.3.1 and mavsdk 1.3.2 on android alittle while ago, primarily using it via the serial method and got it to work. I recently tried to use the tcp method of connecting to the drone and it looks like I am successfully able to connect to the drone, however I am having issues sending commands to it.
For example I used to send
When I wanted to get a mission downloaded, but using TCP it blocks forever and doesnt return.
Similarly , when I want to get telemetry information like below :
I would usually see asynchronous log cat messages show up about the gps information. Over TCP I do not see any messages coming through. What I do see via the debug data is that MAVSDK is printing the status text like
MAVLink: emergency: L0: NOTICE! Auto adjusting transition alt!
but when I try to get that telemetry streamed via the subscribe method I used above I do not see that stream for via my function.Any thoughts and advice on this would be really helpful.
Thanks Mike