Wednesday, October 1, 2014

HOWTO mount an airport extreme attached disk


[ ]# sudo mount.cifs //IP_ADDRESS/Data -o password=PASSWORD,sec=ntlm,uid=LOCAL_USERNAME /media/airport

[ ]# sudo mount -t cifs //10.0.1.1/DATA -o username=USERNAME,password=PASSWORD /media/airport

Friday, August 29, 2014

[Book] Beginning Google Glass Development


Beginning Google Glass Development (PDF)
Jeff Tang

368 Pages

Publication Date: June 24, 2014

ISBN13: 978-1-4302-6788-1




Tuesday, August 26, 2014

AHRS - Attitude and Heading Reference System

Attitude and heading reference system (AHRS) consists of sensors on three axes that provide attitude information for aircraft, including heading, pitch and yaw.

AHRS consist of either solid-state or microelectromechanical systems (MEMS) gyroscopes, accelerometers and magnetometers on all three axes.

The key difference between an inertial measurement unit (IMU) and an AHRS is the addition of an on-board processing system in an AHRS which provides solved attitude and heading solutions versus an IMU which just delivers sensor data to an additional device that solves the attitude solution.

Monday, August 25, 2014

Robotino

Robotino is a mobile robot system from Festo Didactic. Robotino provides all the sensors, actuators and software interfaces you would expect from a modern state of the art mobile robot system. Even better, Robotino is a 100% open-source robot. SVN

Robotino is support for the Robot Operating System (ROS).

Robotino is programmable in various languages including C, C++, Java, .Net, Matlab, LabVIEW and Microsoft Robotics Developer Studio.

Friday, August 22, 2014

Autonomous Aerial Robot

PIXHAWK

The project is developing robotics framework for micro air vehicles.

Saturday, July 26, 2014

How to disable start up sound in MacBook Air

It has puzzled me for a long time, especially at midnight.

$ sudo nvram --help
nvram: (usage: no such option as --)
nvram [-x] [-p] [-f filename] [-d name] [-c] name[=value] ...
-x                       use XML format for printing or reading variables
                          (must appear before -p or -f)
-p                       print all firmware variables
-f                        set firmware variables from a text file
-d                       delete the named variable
-c                       delete all variables
name=value      set named variable
name                 print variable
Note that arguments and options are executed in order.

$ sudo nvram SystemAudioVolume=%80
$ sudo nvram -p | grep SystemAudioVolume

SystemAudioVolume %80

Wednesday, June 4, 2014

HOWTO Install Codescape Debugger for MIPS on Fedora

The procedure is actually quite simple, but one patch is needed for the license manager.

1. Install Codescape
[ ]# chmod +x Codescape-Debugger-8.0.2.2.CentOS-5.x86.py
[ ]# ./Codescape-Debugger-8.0.2.2.CentOS-5.x86.py

2. Create the LSB linker/loader shared library for the License Manager
[ ]# sudo ln -s /lib/ld-linux.so.2 /lib/ld-lsb.so.3

The License Manager may fail when LSB 3 is not met
Starting the license manager issues the error:
   bash: /opt/imgtec/Codescape-Debugger-8.0/get_img_host_id: /lib/ld-lsb.so.3: bad ELF interpreter: No such file or directory

3. Register
[ ]# /opt/imgtec/Codescape-Debugger-8.0/Codescape-Debugger-Registration

4. That's it. We are done.

Without step 2, the registration failed with the following Error. 


The license manager will call following command to get the "Host ID".
[ ]# /opt/imgtec/Codescape-Debugger-8.0/get_img_host_id