Tilt sensor in the legacy controller


#1

hi all
I was wondering if there was a tilt sensor in the controller and how I would be able to use this in programming.
here is an image image
thank you


#2

#3

what programming environment are you using?


#4

robot C is the studio I am useing


#5

this is 4 the v4 controller and cortex
image


#6

Just by looking at this, I would say there’s no tilt sensor in the V5 controller. Tilt Sensor is listed under VEXnet Joystick and Rumble Motor is listed under V5 Wireless Controller.


#7

yes I am wondering how I can program useing the tilt sensor


#8

here:

http://help.robotc.net/WebHelpVEX/index.htm#Resources/topics/VEX_Cortex/ROBOTC/Remote_Control/vexRT-Accel.htm


#9

o this is the tilt sensor. I thought you could tilt the controller and it could controll the robot


#10

Yes, did you read the thing I linked you?


#11

yes but is this the code to make a robot move based on the degrees of the controller to the ground?


#12

Yes, this is the code you need. My teams have tried it and found it is not a great way to control the robot in competition. They would get too excited and over-control the robot.


#13

ok thank you for the help