SyntaxHighlighter

Wednesday 14 August 2013

Day 42: Raspberry Pi MAC addresses and stuff

Currently stuck with LowryDemo. Moved all the repeated code that was assigning models to marker nodes into one for loop in the setupMarkerTracking method instead. To be honest that's where the code belongs, so I'm saving a lot of repeated code. However after doing this, now no models show up on markers when the code runs.

After further debugging, it seems no markers are being tagged as found, even when I hold them up to the camera. Will study the new code more closely and see if I can work out what the issue is.

Pi labelling

Graham contacted me with a little job involving uniquely identifying and labelling the new Raspberry Pi's with sequence numbers before they are distributed to the first year students. Basically I need to write a script that will run on a standalone non-networked laptop that will monitor for Pi's being connected, and when one is found connected it will then log the MAC address with the appropriate sequence number.

This sequence number will then be written on the Pi's case with a permanent marker pen.

So step one, find out how computers are being used to connect to Pi's and what writing a script to do that would involve!

No comments:

Post a Comment

Note: only a member of this blog may post a comment.