|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#16
|
|||||
|
|||||
|
Re: Autonomous Help
That looks good. Let me know if there is anything else.
|
|
#17
|
|||
|
|||
|
Re: Autonomous Help
Thanks a bunch I will test this tonight and get back to you if I need any more help. Thanks!
|
|
#18
|
|||
|
|||
|
Re: Autonomous Help
Just tested the program and the robot executed the turn and went on into the straight drive however it did not stop and I also noticed that I was not getting a distance value on my smart dashboard. Tomorrow we are going to check the encoder with a multimeter and see if we get any voltages.
|
|
#19
|
||||
|
||||
|
Re: Autonomous Help
Quote:
|
|
#20
|
|||
|
|||
|
Re: Autonomous Help
No Idea my mentor thought we would get some answers doing that. I'm just concerned the encoder may be broken.
|
|
#21
|
|||
|
|||
|
Re: Autonomous Help
I also think it could be the encoder.setDistanceperpulse(); because I don't know what it needs to be set at.
|
|
#22
|
|||
|
|||
|
Re: Autonomous Help
Should the encoder be plugged into DIO or analog?
|
|
#23
|
|||||
|
|||||
|
Re: Autonomous Help
It needs to be plugged into DIO. What kind of encoder are you working with?
|
|
#24
|
|||
|
|||
|
Re: Autonomous Help
[quote=notmattlythgoe;1432076]It needs to be plugged into DIO. What kind of encoder are you working with?[/QUOTEh
http://www.andymark.com/product-p/am-0180.htm US Digital Encoder E4P-250-250-N-S-D-D-B |
|
#25
|
|||||
|
|||||
|
Re: Autonomous Help
[quote=curtis0gj;1432078]
Quote:
|
|
#26
|
||||
|
||||
|
Re: Autonomous Help
Quote:
Last edited by Ether : 22-01-2015 at 10:18. |
|
#27
|
|||
|
|||
|
Re: Autonomous Help
[quote=notmattlythgoe;1432080]Alright I have it in two of the DIO ports. However it is possible that we soldered it wrong or maybe have the cables plugged into the DIO backwards.
|
|
#28
|
|||
|
|||
|
Re: Autonomous Help
We are going to do that tonight and I think it's to check the solder we did.
|
|
#29
|
|||
|
|||
|
Re: Autonomous Help
Quote:
|
|
#30
|
||||
|
||||
|
Re: Autonomous Help
Quote:
As you manually rotate the encoder shaft (very very slowly), you should see the voltage going from ~5V to ~0.4V on each channel. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|