|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Start method for encoders
Last year there was a method called Start() in encoder.cpp that allowed us to start our encoders and begin to receive values. This year, the Start method is completely gone and doesn't show up on WPI's deprecated list. When we try and use the getter method for our encoders, nothing is being printed. We were wondering what is being used in replacement for the Start method in 2015. Thanks. We're using c++ by the way.
|
|
#2
|
|||
|
|||
|
Re: Start method for encoders
Nothing. You do not need to explicitly start an encoder.
|
|
#3
|
|||
|
|||
|
Re: Start method for encoders
For some reason when we use a standard getter there is nothing being print out at all. Not even a zero. Do you know what this could be?
|
|
#4
|
|||
|
|||
|
Re: Start method for encoders
The get() method returns an int, so this seems like an issue with the print statement. How are you trying to print? Is that code being called as expected?
|
|
#5
|
||||||
|
||||||
|
Re: Start method for encoders
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|