What this VI is intended to do is give a direction and distance to travel, if your robot is at the pixel point "reference" and you want it to go to the pixel point labelled "target".
The distance part is working fine, but the direction clearly
isn't.
It runs properly, but some part of my math isn't correct.
Any help would be greatly appreciated; this is part of the control system for telling a robot where to go.
Other stuff I've done (mostly working) can be found at
http://sotabot.com/robot/programming.html