GetJoyStickAnalog return variable type is ‘int’ as seen in the right hand EasyCv4 window Project Explorer, Header file API.h
The value returned has a range from +127 to -127
Line Follower: first step is to see the sample code provided with EasyCv4,
File Menu, Open Project, Samples (bottom left corner) LineFollowerTest to see how to read the line follower sensor.
To get ideas on how to implement a program to autonomously follow a line,
use the Search feature of vexforum:
There are four pages of threads under “line follower”](https://vexforum.com/wiki/index.php/VEXnet_Joystick)
Some more clarification on the joystick channels:
Channel 1 is the side-to-side motion of the right joystick.
Channel 2 is the up-and-down motion of the right joystick.
Channel 3 is the up-and-down motion of the left joystick.
Channel 4 is the side-to-side motion of the left joystick.
The value of a channel in a program is dictated by its position. If the right joystick is not touched and is exactly centered, then Channels 2 and 3 = 0. If the right joystick is moved as far up as it can go and is not moved to the side, then Channel 2 = 127 and Channel 3 = 0. If the right joystick is all the way down and not moved at all to one side then Channel 2 = -127 and Channel 3 = 0.