|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||||
|
||||||
|
Re: Sensor Issue
When you copied the front panel controls to teleop, did you make sure the values stayed the same?
|
|
#2
|
|||
|
|||
|
Re: Sensor Issue
Yes. All values are the same.
|
|
#3
|
|||
|
|||
|
Re: Sensor Issue
Here is a pic of the front panel...I am unsure if there are any other VIs I need to add a front panel to other than teleop...
|
|
#4
|
||||
|
||||
|
Re: Sensor Issue
We had this issue when we tried using the "Digital", or "PWM", output. We ended up just choosing to use analog, as you did here.
The one thing to remember about this sensor is, it only samples at a 10Hz rate. Anything beyond that is not getting you any additional data, and may be corrupting your readings.. With the default config, you are sampling it at 1KHz. Try setting the sample rate down to 10Hz and see how it works. (We ended up re-building the digital interface and it worked like a charm. I have NO CLUE why it failed previously!) |
|
#5
|
|||
|
|||
|
Re: Sensor Issue
I edited the code, but its still not functioning
|
|
#6
|
||||
|
||||
|
Re: Sensor Issue
Dividing the value by 9.8 is only off by a factor of 1000.
It should be .0098. |
|
#7
|
|||
|
|||
|
Re: Sensor Issue
I changed the scaling but it still does not show its working...is there specific numbers for the AverageBits and OversampleBits?
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|