APM Planner Setup (Also works with Mission Planner on windows)

172 views
Skip to first unread message

Eamon

unread,
Dec 6, 2015, 7:24:45 PM12/6/15
to swiftnav-discuss
Hi,

I just got my setup working fairly well and consistently. I had issues setting up piksi to broadcast through a UDP connection to mission planner but I had much more success when using MavProxy to broadcast observations and link mavproxy to Mission Planner or APM planner via a UDP connection.

I thought I would post my process up here in the hopes that it will help someone in a similar situation. This assumes you have already installed MAVProxy, Piksi console and APM Planner on your system.

Start Piksi DGPS broadcasting on UDP connection
1. Start a terminal (ctrl-alt-t)
2. Move to the piksi_tools directory (cd ~/piksi_tools) or wherever you may have it installed
3. Start piksi console (sudo python piksi_tools/console/console.py)
4. Select the correct serial port and continue
5. In the Piksi console go to tab 'Advanced' select 'SBP relay' tab and press start.

Connect MavProxy to Hexacopter and forward piksi observations
1. Start another new terminal (ctrl-alt-t)
2. Start mavproxy and connect to radio reciever (sudo mavproxy.py –master=/dev/ttyUSB0 )
    - Change the USB0 port to whichever port is correct.
3. Forward piksi ovservations in the mavproxy terminal. Run the command 'module load DGPS'
4. Broadcast Mavlink messages on UDP in the mavproxy terminal. Run the command 'output add 127.0.0.1:14550'

Start APM Planner
1. Press windows button to open search. Type APM Planner and select the program.
2. APM Planner should automatically connect to UDP port 14550 on startup

Reply all
Reply to author
Forward
0 new messages