Comments (8)
Hey,
Are you actually using the arduino for the goal inputs? This warning is only printed if a goal_event is received and it carries a duration amount that is too small.
So you'd have to check who is actually generating these goal events..
This is printed by the score plugin - not the event_debug plugin.
I'd try to see what is generating these goal events and what their format is.
If you're using an Arduino, do check the serial output in the serial monitor in Arduino IDE and verify what they format of the goal events is.
from foos.
Seems to be generated by yellow team with source: serial but I'll keep
digging and see if anything else uncovers itself in the logs! Thanks
On Aug 14, 2016 14:32, "swehner" [email protected] wrote:
Hey,
Are you actually using the arduino for the goal inputs? This warning is
only printed if a goal_event is received and it carries a duration amount
that is too small.
So you'd have to check who is actually generating these goal events..
This is printed by the score plugin - not the event_debug plugin.
I'd try to see what is generating these goal events and what their format
is.
If you're using an Arduino, do check the serial output in the serial
monitor in Arduino IDE and verify what they format of the goal events is.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#33 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/ALzGpNgQL-cD9lb4T7sgDKlHZv2RIv0Kks5qfxjwgaJpZM4Jj4NJ
.
from foos.
Hey - if you're still having with issues with this, you can post some output from the serial monitor of the arduino IDE while you're using the arduino (pushing buttons, triggering goals) - Maybe I see something weird.
You can also put some print statements before https://github.com/swehner/foos/blob/master/plugins/io_serial.py#L39
to see what you're Arduino is sending.
from foos.
thanks - I'm testing this just with arduino IDE and you're right - seems like it's isolated to do with my arduino code - getting a constant output of non-standard characters. Guessing I've compiled the arduino code incorrectly which I'll look into myself but if this has been a problem for anyone else, please feel free to point me in the direction.
arduino-sketch.txt
from foos.
ok that was simple - didn't realise baud rate should be 115200 - with that the serial monitor still outputs constantly:
YG 24 908
YG 24 912
YG 32 892
YG 28 904
YG 28 908
YG 20 904
YG 28 920
YG 16 904
YG 16 920
YG 40 920
YG 28 876
YG 32 904
YG 32 904
That's with just the nano attached at the moment, hence the constant output to the PI & crashing - any ideas welcome, hardware is definitely not my area, though I'm doing my upmost!
from foos.
So, I think I need some more info on what you're using.
First of all, you're running the .ino file from the repository, right?
I understand that you have connected the IR receiver and Emitter, right? If not - if you just plugin the arduino as it is without connecting anything, the input ports might be floating and this could easily produce this behavior...
There is no pull-down configured on those ports so if there's nothing connected it'll be reading either 1 or 0 randomly.
If you have something connected can you send the part numbers (just in case you have a slightly different component).
Does this also happen with the black IR sensor?
Check if it's something the IR sensor is receiving - see if it stops if you cover it with your hand or a dark plastic cup or something similar.
from foos.
thanks Swehner - I tried both with and without the ir received and emitter set-up - if I comment out the yellow goal only then all is well so I'm guessing it must just be a hardware issue otherwise the black goal would be triggering as well.
if (goalsEnabled) {
//processGoal(d, PIN_MASK_YELLOW, &goalY, &goalTimeY, &offTimeY, GOAL_YELLOW_STR);
processGoal(d, PIN_MASK_BLACK, &goalB, &goalTimeB, &offTimeB, GOAL_BLACK_STR);
}
I'm going to attempt switching the yellow goal pin from pin 10 to pin 12 to see if that resolves the issue.
from foos.
this seems to have done the trick thankfully in case anyone has any issues.
from foos.
Related Issues (20)
- 38khz pwm only to+ IR led or to + ir receiver too? HOT 5
- How i can change the gamemode on Start? HOT 1
- Button Pins dont work.... HOT 5
- Need help, how i can change goalsound?
- Are there any problems running with buster? HOT 2
- what PNP transistor to use HOT 3
- Goals keep registering as long as LED is pointing at receiver, and stops when it is blocked HOT 12
- Portrait mode HOT 3
- Problem to install libav-tools HOT 9
- Problem to install libav-tools HOT 1
- Menue zeigt foos-tournament nicht an HOT 1
- RASPI B - GPIO PROBLEME
- Problem tu run GUI HOT 4
- Problem with camera & UI HOT 2
- IR Lichtschranke HOT 10
- Der fernseher geht bei replay kurz aus und wieder an HOT 2
- Die Auflösung der Kamera ist schlecht HOT 1
- Problem mit der GUI (RPi only Setup) HOT 3
- Hardware HOT 1
- Foos läuft plötzlich nicht mehr HOT 2
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 foos.