juancarlostinoco / ardupilot-mega

Automatically exported from code.google.com/p/ardupilot-mega
0 stars 0 forks source link

APM Planner ( and others) has TCP/UDP connectivity informaiton all over the place. #644

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Using SITL?  You select "TCP" from drop-down, and then type in the IP address 
and port info ( assuming you do *not* 127.0.0.1, like me)  

Using UDP ( maybe for jbsim?, I think?)   Kinda like the above, but you don't 
get prompted for an IP address, just a port number to listen on. 

Using the Simulation tab?    Then there's an "Advanced IP Settings" button, 
which does what?  Reading between the lines, I think these are for UDP and for 
connecting Planner to Xplane and other sims.   I aught to know, I use them, but 
I still can't remember which is which, and in what situation/s this would be 
used over the "UDP" drop-down on the front page? 

Then of course there's mavproxy,  which there's near zero useful documentation 
for, except this I found in the wiki page "mavproxy.py --master 
tcp:127.0.0.1:5760"   

If this is supposed to be trying to be as simple as possible for the average 
user, then it's failing.    I'd like to see a dedicated "connectivity" screen 
in the Planner, describing all the in's and out's, with helpful hints, and 
links to walkthroughs that don't assume you are (a) running everything on the 
same box and (b) running precisely what hte aurthor was.  Not everyone uses 
windows.  

I see the SITL wiki page is quite clear when describing how to use the 
Planner+SITL+JBSim combo, but what about Xplane?   

I see the Xplane page is fairly clear when I want to use HIL+Xplane, but what 
about SITL? 

Maybe I'm just missing it, but the SITL+Xplane combo isn't really covered in 
either of them.

http://code.google.com/p/ardupilot-mega/wiki/SITL
http://code.google.com/p/ardupilot-mega/wiki/Xplane

Original issue reported on code.google.com by davidb...@gmail.com on 23 May 2012 at 4:13

GoogleCodeExporter commented 8 years ago
for xplanes you need tyo compile it as a attitude level hil. and it will work

Original comment by Meee...@gmail.com on 30 May 2012 at 10:25

GoogleCodeExporter commented 8 years ago
I have no idea what an "attitude level hil" is, nor  what I need to compile ( 
Planner?) in order for "it to work" .  Can you please elaborate? 

Original comment by davidb...@gmail.com on 31 May 2012 at 4:34

GoogleCodeExporter commented 8 years ago
HIL_MODE=HIL_MODE_ATTITUDE
have a look at the makefile.

Original comment by Meee...@gmail.com on 2 Jun 2012 at 12:09