View Full Version : pic: Totally Desctiptive Object Name
[cdm-description=photo]40908[/cdm-description]
Richard Wallace
30-10-2014, 05:56
Every robot needs a locky-thingy. A robot without one might fire when it isn't supposed to, and hit the wrong target; e.g., a referee, FTA, or robot inspector.
Wouldn't want that. Better put in the locky-thingy.
When I first read the title, I thought it said 'deceptive object name' at which point it could be named "THE_unlock".
Every robot needs a locky-thingy. A robot without one might fire when it isn't supposed to, and hit the wrong target; e.g., a referee, FTA, or robot inspector.
Wouldn't want that. Better put in the locky-thingy.
The locky-thing on our robot is called the trigger.
But since in this picture, the project is called DrawingPad, I'm assuming this isn't for an FRC bot.
It's actually a mutex, so it is supposed to lock data during reads and rights. Without properly using it, the software would crash spectacularly as the server is 100% threaded! Memory does not like to be read and written to at the same time, at the same location.
DonRotolo
02-11-2014, 17:18
Memory does not like to be read and written to at the same time, at the same location.Use different memory: Instead of ROM (Read-Only Memory), use WOM (Write-Only memory (repeater-builder.com/molotora/gontor/25120-bw.pdf)). That will solve the problem completely.
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.