View Single Post
  #1   Spotlight this post!  
Unread 26-09-2014, 21:50
Zelda (Team702) Zelda (Team702) is offline
Registered User
FRC #0702
 
Join Date: Sep 2014
Location: Culver City
Posts: 2
Zelda (Team702) is an unknown quantity at this point
Setting an absolute value in Java

Hey everyone, I have a question that I've had for quite a while that no one seems to know the answer too. I'm a semi-new programmer for my team, I've been coding for them for about a year or so. I recently took charge of the programming subteam and have switched the team over to Java from C++. Now recently I was reprogramming our robot from Arial Assist and realized I have no idea how to set an absolute value in Java! In C++ I used to be able to use the fabs command, but it doesn't seem to work the same in Java.

If anyone knows the answer to my question please let me know. We are using Talons if that is of any use knowing. Thank you for taking the time to help another team out! I'll be FOREVER grateful.
Reply With Quote