|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Recently our SmartDashboard is having issues. The data we request from the robot is not returning anything. We are able to write to the SmartDashboard, and the dashboard is connected to the robot. Any help would be appreciated.
|
|
#2
|
||||
|
||||
|
Re: Problem with the SmartDashboard
What type of data are you guys requesting from the robot? Sounds like the SmartDashboard may not be the problem.. maybe it's whatever data you guys are requesting (sensor feedback, etc.)
|
|
#3
|
|||
|
|||
|
Re: Problem with the SmartDashboard
We are Requesting the data from one lidar, and one ultrasonic. The types of data we are requesting is the voltage of the ultrasonic, which is then converted into a distance by using a calculation. For the lidar, we are requesting data through the lidar.read(), which should return bytes.
|
|
#4
|
|||
|
|||
|
Re: Problem with the SmartDashboard
Sensors have nothing to do with SmartDashboard. You read those from the DIO/AIO ports.
|
|
#5
|
||||
|
||||
|
Re: Problem with the SmartDashboard
Right, but in his case the SmartDashboard is connected to the robot and they are able to write to the SmartDashboard which I think eliminates that the SmartDashboard is the issue in this case..? Maybe it's the sensors that are not properly sending values and that's why the values aren't changing..
|
|
#6
|
|||
|
|||
|
Re: Problem with the SmartDashboard
Quote:
1) Sensor is not wired correctly 2) Sensor not connected to roborio correctly 3) Sensor class not properly created 4) Provided wrong port number to the sensor class 5) Not using the sensor class correctly to read the value. 6) Sensor is broken |
|
#7
|
||||
|
||||
|
Re: Problem with the SmartDashboard
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|