Thanks Vladimir, I appreciate your help.
Using apm2.launch worked. My confusion with which launch file to use was two-fold:
- APM is both a hardware platform and a software stack; it wasn't clear to me whether "apm2.launch" was somehow specific to the APM 2.x series boards
- I'm running ArduCopter-3.3x, which runs atop PX4 on a PX4 board (Pixhawk), so "px4.launch" seemed like a better choice than the ancient-sounding "apm2"
So thanks for the clarification, and thanks for merging in the pull request to update the docs!
As for TCP vs UDP connection, I figured that connecting to a virtual (TCP) serial port would more closely simulate the final "production" environment, where I'll be connecting the companion computer to one of the Pixhawk's telemetry UARTs. But at your suggestion, I tried using MAVProxy's UDP proxy, and found the proper incantation to be:
roslaunch mavros apm2.launch fcu_url:=udp://localhost:14551@
That's because, by default, the sim_vehicle.sh script tells MAVProxy to forward to 14550 and 14551, and APMPlanner likes to listen on 14550, leaving 14551 available for mavros.
Thanks again,
Clay