How to get multiple Move A Fixed Distance vi's to work?

OK, I've seen other postings where people didn't have luck with this vi.  Hopefully, the debugging I'm working on will help the community in figuring it out.  I'm looking start with a really simple FTC autonomous prototype to drive (straight) down the ramp, turn (towards a goal - hopefully we'll have a sensor too), deploy goal grabber, then drive backwards a specific distance and orientation (to the parking zone), then spin to deposit the goal.  So, the first challenge was drive forward, turn and back up.  This should've been a 30-minute exercise.  We probably have dozens of man-hours invested so far - with no luck.
So, I've included a series of vi's:
3movedistance_test doesn't work: it only goes forward; in fact it doesn't go exactly 360 degrees
ditto on 2movedistance_test
1movedistance_test seems to work fine
when I dial down the power on 1movedistance_test to 20%, one motor moves ~360, the other moves ~120
[oops - gonna have to upload the rest of the files separately - only 3 attachments allowed]
3movedistance_parallel - I can dial down the speed to 1, and both motors turn exactly 180 - it looks like they're taking turns though, they individually index about 30 times
That's phase 1 of the research.
Phase 2 was to get the sledgehammer out and skip the Move A Fixed Distance vi, and use the Wait For Rotation vi with a standard Move Motors vi.  MoveDistanceJC has the following characteristics:
at 80% power, Motor B goes ~2-1/4 revolutions (obviously greater than 0.1") and Motor C goes 2-1/3 revolutions
at 50% power, Motor B goes ~1-1/4 revolutions and Motor C goes 1-1/3 revolutions
at 20% power, Motor B goes ~1/3 revolution and Motor C also goes 1/3 revolutions
Attachments:
3movedistance_test.vi ‏24 KB
2movedistance_test.vi ‏18 KB
1movedistance_test.vi ‏18 KB

We're apparently not the only ones either:
Mike5027 2014.10.06
Mike5027 2014.10.09
4644Mentor 2012.02.23
robuff 2012.02.24
philbot 20211.05.03
FTC7785 2013.10.21
The vi help is sparse in detail.
These are the only 3 possible workarounds that I could find that got me started on the variation in MoveDistanceJC:
How to calibrate NXT motors to travel the same distance?
LabVIEW example: Motors
FRC704 2011.02.13

Similar Messages

  • How to get Multiple Movies on iDVD

    I have a standard 4.7gb blank dvd and a lot of full-length movies in .avi, all around 750mb. I want to make a menu in idvd that has all the movies and you click which one you want, but just one movie takes up the enture space, even though it is 750mb, So I want to put about 4 on there. How do I do this? Thanks a lot.

    In order for a DVD to be playable in a commercial DVD player, the video files on that DVD have to be converted to a file format that can be recognized by any commercial DVD player.
    The standard video format for commercial DVD playback is mpeg-2... mpeg-2 has a very high bitrate. In other words, a 1-minute sample of mpeg-2 video will be MUCH BIGGER than a 1-minute sample of divx, avi, or h.264 video.
    I believe iDVD only allows for a maximum of 2-hours of video on one DVD disc. So if you have 4 videos and each video is longer than 1 hour, than the maximum number of videos that you can place on 1 DVD, will be 1.
    In your case you will have to look at another program other than iDVD to achieve what you want to do. You need a program that allows you more control over the bitrate of each video file. That way, you can control the size of each video file.
    Programs such as...
    Toast Titanium
    http://www.macupdate.com/app/mac/6351/toast-titanium
    Popcorn 4
    http://www.macupdate.com/app/mac/16695/popcorn
    Xilisoft DVD Creator 7
    http://itunes.apple.com/us/app/xilisoft-dvd-creator-7/id433594067?mt=12
    DVD-Creator
    http://itunes.apple.com/us/app/dvd-creator/id428417852?mt=12
    miDVD Pro
    http://itunes.apple.com/us/app/midvd-pro/id529728401?mt=12
    Read the following article for more indepth info. on this subject...
    How to put many movies or episodes in one DVD
    http://www.dvd-guides.com/guides/all-to-dvd/250-put-many-movies-episodes-in-one- dvd

  • Im trying to make a poster size collage of pictures and also want to put a story in the middle of the poster. I just can't understand how to get multiple pictures and how to arrange them around the poster?

    Im trying to make a postersize picture collage and I don't know how to get multiple pictues arranged. Someone said I can use the layer option. But Im just not getting it. Please help!

    Click File >> Open and select all of your photos
    That will add them to the project bin
    Then select File >> New >> Blank File
    Select background color White (or whatever you prefer) and add your width and height for your final image (set resolution 72 for web usage or 240 to 300 for printing) then click OK
    In the project bin click your first photo and drag it up into the main window on top of your new background.
    Click on the move tool and click in the center of the photo and drag to arrange it where you want on the background - you can hold down the shift key to maintain original proportions whilst dragging the corner handles of the bounding box to get the size you want.
    Do the same with the next photo (drag it up into the main window) and use the move tool to position it. Then continue with each image.
    Finally Click Layer >>Flatten image and save as jpeg. (Save as PSD if you want to preserve the layers for editing again)
    N.B. as you add images they get dropped in the center. So you need to use the move tool to drag them apart. Click in the middle of one and move it around, and then the others until you get them positioned as you want.
    When you click again with the move tool a bounding box appears around the image and you can drag out the corner handles to re-size your photos. Hold down the shift key when dragging the corner handle and that will maintain the proportions of the original.
    Finally click Layer >>Flatten Image and save your collage - you may then want to use the crop tool to cut away any surplus white canvas, and then re-save. Click the T tool to add text.

  • I downloaded and bought a movie from iTunes on my iPad and now want the same movie on my MacBook Pro but its not offering me to download it, it giving me the options of buying it which I already did. How I get the movie onto my MacBook?

    I downloaded and bought a movie from iTunes on my iPad and now want the same movie on my MacBook Pro but its not offering me to download it, it giving me the options of buying it which I already did. How I get the movie onto my MacBook?

    You can connect the iPad to your Mac's iTunes and do File > Devices > Transfer Purchases, that should copy it over to the Movies part of your library.
    Depending upon what country that you are in, and whether the film studio allows it, you might also be able to re-download it on your Mac via the Purchased link under Quicklinks on the right-hand side of the iTunes store home page.

  • How to get multiple selected fields in list

    Hello all,
    I am trying to get multiple selected value from a list but i dont know how to get multiple selected fields from a list though AS3.
    Actually i want to pass the selected fields to php, so for that i need to get the selections and send to php.
    Thankx..

    i want to put the selected fields of list in an array through AS3....
    actually......i figured it out how to do that...........
    Its simple......use
    list.selectedItems[index]
    and to get the number of items selected......
    list.selectedItems.length
    simple.....

  • How to get multiple records using fn-bea:execute-sql()

    Hi,
    I created Proxy service(ALSB3.0) to get records from DB table. I have used Xquery function(fn-bea:execute-sql()). Using simple SQL query I got single record, but my table having multiple records. Please suggest how to get multiple records using fn-bea:execute-sql() and how to assign them in ALSB variable.
    Regards,
    Nagaraju
    Edited by: user10373980 on Sep 29, 2008 6:11 AM

    Hi,
    Am facing the same issue stated above that I couldnt get all the records in the table that am querying in the Proxyservice.
    For example:
    fn-bea:execute-sql('EsbDataSource', 'student', 'select Name from StudentList' ) is the query that am using to fetch the records from the table called StudentList which contains more than one records like
    Id Name
    01 XXX
    02 YYY
    03 ZZZ
    I tried to assign the result of the above query in a variable and while trying to log the variable, I can see the below
    <student>
    <Name>XXX</Name>
    </student>
    I want to have all the records from my table in xml format but it's not coming up. I get the value only from the first row of my table.
    Please suggest.
    regards,
    Venkat

  • I've got movies on my computer on itunes, however my parents wish that i use my laptop for itunes stuff, and i cant figure out how to get those movies to be able to sync with my ipod again, it wont recognize that I have them. Suggestions?

    I've got movies on my computer on itunes, however my parents wish that i use my laptop for itunes stuff, and i cant figure out how to get those movies to be able to sync with my ipod again, it wont recognize that I have them. Suggestions?

    While you're in itunes, with the leftside window open, click on Apps. Then, look across the top middle of your itunes screen. You will see several choices: All, Iphone/iPad Touch, Ipad, Ipod Games, List, and Updates. 
    Clicking on each of these gives you a different view. 
    When you select ALL you will see all of your apps. When you select Updates you sill see only the apps that need to be updated. When you are in Updates you will see the Update button in the lower right corner.
    Hope this helps.

  • How to get quicktime movie  into FCP X?

    how to get quicktime movie  into FCP X?

    What exactly are you trying to do that using the import files function won't accomplish?
    Russ

  • Erratic Behavor When Using Encoders in Move a Fixed Distance VI

    I have constructed a VI to have a FTC Robot drive in a Square using the Move a Fixed Distance VI in the Competition Toolkit for Labview 2012.  Sometimes the VI works great, then sometime it appears to skips over code or just stop.   I am using the Move a Fixed Distance VI followed by a Stop Motors for each segment (series of move straights then 90 deg turns).   Also, I am using a Wait Time greater than the time required to move the fixed distance.  The same Erractic behavior occurs whether I down the VI to the NXT brick or run VI from the NXT Brick.  The Brick is using the lastest Firmware for Labview 2012
    I have had problems with erratic behavior in the Move a Fixed Distance VI for years.  I have NO such problems with Robot C move fixed distance routines.

    Hi Mike,
    I'm sorry you are seeing erratic behavior with Move Fixed Distance. What type of motors are you using? Have you noticed anything more specific about the type of behavior you are seeing, e.g. the motor does not move the complete distance, or the motor does not stop after the specified distance?
    If you can come up with a VI which isolates the problem, even if it works 90% of the time, that would be really helpful for me to reproduce on my end.
    Thank you!
    Garrett

  • Does anyone know how to get a movie to play on the apply TV that you rented?

    Does anyone out there know how to get a movie to play on the Apple TV that was rented through Apple TV?

    It's not going to show under purchases because it's a rental. You have to go into settings - iTunes - check for rental.
    Note: a rental will disappear once it's expired (after 24hrs or 48 hrs depending on location)

  • How to get multiple beep sound?

    Hi
    I want to get multiple beep sounds as output if a comparison condition gives output as true.
    Can anyone tell me how to get multiple beep sound?
    Solved!
    Go to Solution.

    You could make it more pleasant if you would play a different sound file based on the comparison. (look in the windows\media folder for the sounds used by the OS. Try e.g. c:\windows\media\tada.wav)
    Very few people still communicate in morse code.
    LabVIEW Champion . Do more with less code and in less time .

  • How to get Multiple FLV duration?

    How to get Multiple FLV duration in single shot?.  Am using Netstream concept.

    I have more flv files and taking it via XML. I want to play the multiple flv video in single timeline. For that i need duration of multiple flv in for loop. Is it possible to take without metadata?

  • I bought a movie...verified my payment,but have nooo idea how to get the movie downloaded or where to even find it. did not purchase coud. that ought to be a free feature

    I bought a movie...verified my payment,but have nooo idea how to get the movie downloaded or where to even find it. did not purchase coud. that ought to be a free feature

    Go to Settings>General>Usage. How much space does it show you have?
    If you connect your phone to your computer, what does iTunes say is on your phone? Do you see a large amount of "Other"? If so, you may have a corrupted database. You'll need to sync your phone then restore it as NEW (not from back up) then re-sync your data).

  • How to get iPhoto movies into iMovie?

    Yosemite was recently installed on my 2012 Macbook Pro. Previously, whenever I opened iMovie it would automatically thumbnail any new movies in my iPhoto library and I’d be able to use them immediately in iMovie. Since the Yosemite install, there’s a new version of iMovie and I can’t figure out how to get the movies in iPhoto into iMovie. So confused. Help!

    within iMovie on the left side go to iPhoto Library, then movie the mouse slightly to the right where you see choices for events...faces...places....try selecting events and it should bring up what you may be looking for.  From this point you can select photos or videos to move into your project.  hope this helps

  • I pre-ordered a movie and in my e-mail I have my receipt, however, I cant figure out how to get the movie on my touch. Can someone tell me how do I do this please?

    I can't figure out how to download a pre-ordered movie from iTunes. I have the receipt but don't know how to get the movie on my touch. Can anyone help me please?

    I ment format as PDF or DOC,  I actually figured it out just messing around.  An yes I ment email.  Thank you so much for replying to my confusion.

Maybe you are looking for

  • Default image opener

    I'm in a little bit of crisis here. I'm on a Mac Mini (Power PC) running Tiger, and I think I've completely "screwed" myself over. I'm not sure how I did it (it wasn't an error on the computer's fault, I can say that much), but when I went into the F

  • How to make a file reference

    Applescript file reference causes me more confusion then normal in Applescript. How do I construct a user reference free file reference. -- set fn to path to file "my speaking document.rtf" of documents folder -- set fn to   "my speaking document.rtf

  • IPhone viewing PDF forms

    Hi guys, I have a PDF form that was filled out and saved with Acrobat Premium and then e-mailed. I can view the form attachment normally on a PC, but the iPhone merely shows the PDF without any of the form data filled in. Am I missing something or is

  • Enterprise Portal Material/Links

    Hi All, I have worked in SAP XI and have j2ee experience also. Can anybody pls let me know where I can find Enterprise Portal Material/Links for beginers. Regards Rachit

  • HELP: Can anyone identify this E61 standby icon??

    I suddenly have a strange unidentified icon appearing in the upper right of the standby screen, right beside the wifi indicator. I've never seen it before, and now all of a sudden it's just there and never goes away. To me it looks like either a car