![]() This is a example of the languages while loops staffordhs. I think you've assigned bump to sensorNone which seems logically incorrect and you should always expect the same value out of it probably 0. Your trigger condition causes a process that takes at least 6 seconds to complete in a presumably single-threaded system. Your motor will likely be told to start multiple times without stopping the stop is outside the while true loop, even. I don't know anything about robotcbut it looks to me like you have a few issues with these loops. Another thing to note is that you are never going to escape the first while loop without a break or return. Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information. ![]() By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |