|
DCMP
Direct Control Mode Plus - Enhanced firmware for Robouilder
What is DCMP ?DCMP enables Robobuilder to be controlled in real-time from a PC - examples of current demos include automated balance control, real time display of accelerometer, real time display of sound sensor, real time display of battery level, real time control of PSD, whilst simultaneously producing a smooth movement generated by servo position updates from a PC. DCMP is a custom firmware for the Robobuilder humanoid robot. Its loaded onto the RBC unit using the RBC upload tool that comes with robot. See manual for instructions. The firmware puts the robot into "Direct Control mode" where servo commands to the serial port are transferred to the bus the servo are connected to. Any responses from the servos are transfered back to the PC. Why use DCMP?Direct Control Mode Plus - provides high speed access both to direct control servos and to the RBC units sensors enabling applications such as:-
How does it workOn power up, the program will directly enter Direct Control (DC) mode and show Amber and Blue PF1/PF2 LEDS - pulsing (like a heart beat!). The lights on the left hand side represent an audio power meter - the louder the sound - the more lights on. If PF2 Button is held down during power up the program will enter re-charge mode - and a green power LED will flash. DCMP provides direct access to Wck Bus to enable Servos to be controlled via serial port. In order to access additional a capabilities "The Plus" it intercepts a "servo read position" for servo ID 30 with the following data parameter and then returns a two byte data response, contain the information requested: Details
Note: LISP example programs using the RobobuilderLib.dll that run on a PC will be available to demo the capabilities. cmd 15 is supported by a new wckReadAll function. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Little error in this tableau, cmd 1 is Y & Z and cmd 2 is X & Z ;-)
Line 918 in wckMotion.cs :-)
good thanks - now updated