View Single Post
  #27   Spotlight this post!  
Unread 30-03-2016, 20:04
Jaci's Avatar
Jaci Jaci is online now
Registered User
AKA: Jaci R Brunning
FRC #5333 (Can't C# | OpenRIO)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Perth, Western Australia
Posts: 253
Jaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond repute
Re: Pathfinder - Fast Motion Profiling for Java and C++, Tank and Swerve Drive

Quote:
Originally Posted by Ether View Post
Not a big deal, but I'm curious why you chose the above convention?
I chose that system because it seemed sensical if you view your robot starting from the midline and viewing the field from top-down. Again, you can change the followers if you want to modify the coordinate system

Quote:
Originally Posted by Ether View Post

It seems like there has to be a better way. Quite often, it's possible to make a small change to the order or method of computation to completely avoid those kind of errors. And if not, isn't there a way to trap floating point errors and make an alternate calculation in an exception handler?


There most likely is, and I will be testing approaches within the next few days. This only happens if you're trying to make a path with 90 degree exit angles without the Y value changing, creating a graph oscillates multiple 10s of meters in magnitude
__________________
Jacinta R

Curtin FRC (5333+5663) : Mentor
5333 : Former [Captain | Programmer | Driver], Now Mentor
OpenRIO : Owner

Website | Twitter | Github
jaci.brunning@gmail.com
Reply With Quote