I'm getting good readings from AccelX and AccelY, but for AccelZ there are no readings--it's just = 0.

We're using latest RobotC 2.30 with all firmware updated.

Is this a firmware issue or is our VEXnet joystick simply defective???

Mon Nov 15, 2010 12:08 pm

jbflot

Site Admin

Joined: Tue May 15, 2007 9:02 amPosts: 406

Re: VEXnet Joystick Accelerometer Value

Thanks for posting your comment. The good new is that this is a property of the firmware, and not your Joystick.The Joystick firmware currently only passes the "0" value to the Cortex. ROBOTC uses the default firmware file.

Is there a target date for making the AccelZ readings available in the firmware??

Thu Nov 18, 2010 3:01 pm

Enterprize

Rookie

Joined: Tue Nov 23, 2010 9:51 pmPosts: 3

Re: VEXnet Joystick Accelerometer Value

What is the meaning of the value returned, in units or otherwise? I assume it is acceleration, but it could have been converted already.

I am unable to run bugtesting at the moment, so I can't see when the values are changing, or to what?

Tue Nov 23, 2010 9:55 pm

jbflot

Site Admin

Joined: Tue May 15, 2007 9:02 amPosts: 406

Re: VEXnet Joystick Accelerometer Value

Quote:

Is there a target date for making the AccelZ readings available in the firmware??

Since ROBOTC uses the default firmware, we do not have control over when it will be available.

Quote:

What is the meaning of the value returned, in units or otherwise?

The joystick does return acceleration values, ranging from -127 to +127. If you connect your robot/joystick to the computer over VEXnet, you can view the values returned using the Robot > Remote Control Troubleshooter > VEXnet Cortex Controller in ROBOTC.

Currently, I need to program using the Male/Male USB Cable because RobotC isn't responding to the driver, or something to that nature, so I am unable to use troubleshooter, as the dongle needs to be attached.

Wed Nov 24, 2010 3:38 pm

Sam1234

Rookie

Joined: Tue Mar 24, 2015 4:46 pmPosts: 2

Re: VEXnet Joystick Accelerometer Value

Can you somebody help me and get a code to access the accelerometer in the vex controller. Me and my teacher have mad this thing where two motor control a etch-a-sketch. The left joystick controls the the left to right movment of the etch-a-sketch and the right joystick controlls up and down. can you help me figure out how to controll the etch-a-sketch with the accelerometers?

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum