Comments (9)
My guess is that the widget code doing the parsing doesn't match the Sendable implementation.
Can you send how the NT data looks (from any raw NT view)?
from shuffleboard.
There were several updates to the NT code in 2024.3.1. Can you confirm it still happens on that version or later (2024.3.2 was just released)?
from shuffleboard.
What is the type of Localized
?
It should be a double[3]
.
Is it part of the Field2d publishing, or is it an entry you've published to that path?
from shuffleboard.
I don't have access to the robot, or a suitable testing environment right now, as I remembered this issue while doing a disk scan. Will update once I do.
from shuffleboard.
Can you please test a build from #798 and see that the issue doesn't reproduce and no other issues pop up?
from shuffleboard.
Incomplete data in map: {.name=Odom, .type=Field2d, .controllable=true, Robot=[D@35f5daf9, Localized=x: 1.4519350881997504, y: -31.02742566505306}
Where is this data coming from? That string for the "Localized"
key is not a standard format that WPILib sends data in
from shuffleboard.
AFAIK we don't use NetworkTables at all in our robot code so anything there should be stuff published by WPILib.
I still haven't had a chance to test #798 yet, but tomorrow I should be able to test it.
from shuffleboard.
At minimum you're sending the Field2d object. What else are you sending? Note that the Shuffleboard and SmartDashboard APIs are NT wrappers...
Please go over your usage of the Shuffleboard API and check if you're publishing anything to the same path as the field.
Searching for "Localized" would also be a good guess to find what is being published and where.
from shuffleboard.
Across our entire SmartDashboard API calls, this line is the only one that includes the word "Localized", which seems suspiciously similar to the format of the data causing the exception. I don't think it's related to this issue though, as it publishes to a separate path, and the pose value in the exception is unlikely to come from this line, the robot would have to see an AprilTag from 30 meters away. We also don't publish anything to the same path of the field.
SmartDashboard.putString("Localized pose", "x: " + robot_actual_pose.getX() + ", y: " + robot_actual_pose.getY());
I'll look into our NT usage deeper once I'm able to work on the robot.
from shuffleboard.
Related Issues (20)
- Field2d widget hit boundary can extend outside widget boundary
- Record camera streams alongside NT HOT 1
- It is possible to hang Shuffleboard by setting Graph Update Rate too high HOT 1
- Shuffleboard.startRecording() does not work when connected to FMS HOT 3
- Shuffleboard crashes frequently on MacOS HOT 4
- Shuffleboard continuously jumps back to start tab when using selectTab and kGyro HOT 5
- Shuffleboard does not display integer arrays correctly ("[J@......")
- Some network table sources fail to appear after restarting the network table server HOT 1
- MacOS Client Hangs When Changing NetworkTable address HOT 3
- Integer array updates do not appear in Shuffleboard
- NT NPE
- SmartDashboard tab of Shuffleboard doesnโt Repopulate on a File New
- Grid is off center.
- Command activation and deactivation buttons do not work properly. HOT 12
- Shuffleboard data disappears from widgets HOT 14
- CCE in loading CameraServer settings from saved layout JSON HOT 1
- Sendable Chooser returns default option despite correct option selected HOT 5
- CameraServer telemetry exceptions
- Utilize NT4 pub/sub in NT plugin
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shuffleboard.