update ev3gyro_test
added main pendulum code (incomplete)