Xplane and Arudipilot mega 2.012 issue

Hi guys, this is my first time to use APM with Xplane "Demo" i have issue with simulation.i edit APM_Config.h

 

 

 

 

 

i edit APM_config.h file

 

#define HIL_PROTOCOL        HIL_PROTOCOL_MAVLINK
#define HIL_MODE HIL_MODE_ATTITUDE
#define HIL_PORT 0
#define GCS_PROTOCOL GCS_PROTOCOL_MAVLINK
#define GCS_PORT 3

 

 

and im getting this message.

 

 

Opened com portSocket setup problem. Do you have this open already? System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.Parameter name: port   at System.Net.Sockets.UdpClient..ctor(String hostname, Int32 port)   at ArdupilotSimMAVLink.ArdupilotSimMAVLink.SetupUDPXplanes()   at ArdupilotSimMAVLink.ArdupilotSimMAVLink.ConnectComPort_Click(Object sender, EventArgs e)

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Check your firewall - maybe it is blocking UDP ports. As well as maybe your port numbers is wrong.
This reply was deleted.

Activity