Again I have a question about this Route Manager...
For my VNAV system, I need to find the altitude for the CURRENT waypoint, not wp[1] or wp[2]. Inside /autopilot/route-manager/wp is listed the current waypoint infos, but missing altitude. Inside /autopilot/route-manager/route/wp[x] I find the altitude property, but those numbers in [x] correspond to different Waypoint IDs, so I can't getprop it... Unless I can somehow put a variable with it's value in the middle of the 2 parts of property... I tried this, but this isn't the right way to do it. But perhaps, it will allow you to understand what I mean. \
- Code: Select all
var wpnum = "1";
getprop("/autopilot/route-manager/route/wp["wpnum"]/altitude-ft");
I wish route manager forwarded all waypoint props into the current waypoint selection...