|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
VI to condition controller input easily and effectivly
https://drive.google.com/file/d/0B4f...it?usp=sharing
https://www.youtube.com/watch?v=5pDs...ature=youtu.be The video explains all the features and workings of it. TLDR: -single or two axis functionality(for single axis use, set one input to 0) -deadzone -minimum output -variety of scaling types, parameters user select able for curve type of choice -angular offset(plug gyro or compass into this and the robot will auto compensate orientation changes to maintain heading) |
|
#2
|
||||
|
||||
|
Re: VI to condition controller input easily and effectivly
Youtube is blocked at my school.
Can you explain what this does for those of us unable to load the video? ![]() |
|
#3
|
|||
|
|||
|
Re: VI to condition controller input easily and effectivly
The code does(or rather can if u want it to or not) a lot. It has two axis input(x, y) but u can set one axis to 0 and use it in single axis mode. Now for what it does:
-easily set a deadzone, this is vector magnitude based so you still get good low value diagnol output and you maintain very low output values. Instead of just ignoring those values. -selectable scaling types, you get linear(normal scaling), square root, square, and n^x which allows you to set it to anything u want if u want less or more curve the video demonstrates this very well. - minimum output for mechanisms where u know it takes at least x value to start moving. -angular offset. Can be hard offset(like 90 to make robot move sideways when u press forward) of feed gyro Or compass angle into this and it automatically offsets input angle so the robot always maintains heading.( for use with maccunum or holonomic drive). The key part is all his works together to maintain full input and output resolution and range so you don't get any weird effects of other conditioning methods. The video explains this all well if u can get access to it. This is an improved version of what we have used for years now and it works amazingly well, I wouldn't want to go without it. Last edited by sanelss : 28-01-2014 at 11:47. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|