Comments (2)
This occurs from the reason being that the Green Horizon calculation is the first function to use the image. When the SEGFAULT error occurs, usually its to do with accessing invalid memory space. From my previous experience, usually you get a NULL pointer when the device has failed the transfer.
Solution: Would have to catch this inside the NUbot\SeeThinkThread.cpp and throw an exception or a new error, "Camera Exception" -> best notification would be to get the robot to "Say" -> "Camera Exception", and Sit down. You might also consider replacing the cable from the HEAD. Or a swap Cameras to verify is this is a problem localised with the camera, or cable.
from robocup.
I tried adding code to Vision to check for a null image as soon as it was retrieved from the blackboard and that didn't solve the problem, since the image pointer was non null but pointing to invalid memory (at that particular time). Either way a closer look at the DarwinCamera class is needed, which Madison is already doing, since it seems to me that the responsibility of detecting and generating alerts for faulty camera data should really be with the class responsible for accessing it.
from robocup.
Related Issues (20)
- Robot #1 Crashes/Reboots? HOT 1
- fix merge conflicts with MergeLocChanges and develop HOT 2
- Segment Filters occasionally blows out vision processing HOT 3
- we lost our goals HOT 1
- field lines become obstacles when looking down HOT 7
- Be Ronaldinho
- Check Boot Fix is on all Robots
- Robot resets to goalkeeper position when picked up HOT 4
- Localisation generates too many models when seeing both goals HOT 1
- Localisation fails to throw out wrong-side-of-field goalposts HOT 4
- Do ball voting whenever localisation has models on both sides of the field to cull the models. HOT 1
- localisation fails to adapt to visual features quickly
- Odometry forward motion is 25% of actual motion
- New Orientation Filter frequently faisl to detect falls
- SensorReadManager Segfault
- SensorReadManager's error reporting segfaults when the FSRs are disconnected
- Update the Script Tuner's `help` command.
- Demo code does not compile
- Run on Boot Crashing (#5) HOT 1
- Config system errors at startup from script loading HOT 4
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 robocup.