A Motor Mount and Wheel Kit with Position Controller Question
chenguanyann
Posts: 15
I have a question about the Position Controller #29319.
First, I set the TRVL(Travel Number of Positions)command = 32767 (All wheel). Then, After the mobile robot pass 32767 counter, it was stopped. How do I add an function as follow:
Original function:
After the value user set the TRVL command, the position counter will be stop after the position arrival the valueof the TRVL command.
Add (or modify) the function:
After the value user set the TRVL command, the position counter will be Auto-zero and restart the counter value, Don't be stop after the position arrival the valueof the TRVL command every times.
Thank you.
First, I set the TRVL(Travel Number of Positions)command = 32767 (All wheel). Then, After the mobile robot pass 32767 counter, it was stopped. How do I add an function as follow:
Original function:
After the value user set the TRVL command, the position counter will be stop after the position arrival the valueof the TRVL command.
Add (or modify) the function:
After the value user set the TRVL command, the position counter will be Auto-zero and restart the counter value, Don't be stop after the position arrival the valueof the TRVL command every times.
Thank you.
Comments
http://www.parallax.com/StoreSearchResults/tabid/768/List/0/SortField/4/ProductID/665/Default.aspx?txtSearch=position+controller
The part # for that option is: 27906
I suggest that you review the attached wheel position controller spin object, which is well documented, to get an idea of what you want to accomplish which, I believe, is continuous motion. The original part # was 29319, but is now 27906 as RobotWorkshop has pointed out. I have successfully used two of the wheel position controllers in a six wheel skid steering robot.
Just a thought.
Regards,
TCIII
According to the Attached File " Wheel_Controller.spin".
So... The "auto_trvl_" function could be use for our case, right?