RRPDC - RoadRunner park distance control extension plugin
This plugin is intended to work with my custom PDC USB interface.
A detailed description of the whole project can be found here.
How it works:
The plugin is automatically activated when you engage reverse gear, RoadRunner will switch to the plugin skin and alerts you about the presence of obstacles.
If a buzzer is connected to the hardware, this one gradually increases in frequency as you approach the object. A continuous tone denotes that you are within 0.30 m (about 0.98 ft) of the obstacle.
The plugin can be configured to show the distance in meters, inches or feet and optionally it can display a live video from a backup camera.
All the video capture devices that come with a WDM driver, such as framegrabbers in conjunction with a CCD camera or camcorder, USB cameras (webcams) and digital camcorders through Firewire (IEEE 1394), are compatibles with this software.
For example, in my car, I have installed one of these wide-angle mirrored camera and I have connected it to the composite video input of my Cinergy 600 Radio TV card.
Video of the plugin in action:
How to install:
Copy the files provided in the RoadRunner folder (or better, in the PLUGINS folder) and the skin files in your favorite skin folder (you can also use the skin provided (that is part of my BMW-E36 skin) as a guideline to develop your own skin.
Register the DLL, from a command prompt type: regsvr32 <your plugin path>\RRPDC.dll
Add in your "MENU.SKIN" the command "X,RRPDC".
Launch the tool “RRPDC Config” and set all the stuff.
Added skin commands:
“PDC” – Go to the plugin screen (for testing propouse).
“PDC_BUZZER” – Toggle mute/un-mute the buzzer.
"PDC_CAMERA" – Start the fullscreen camera view (doesn't require additional skin, a click on the screen will turn off the view).
“PDC_BUZZER” – Indicates if the buzzer is muted.
"PDC_STOP" - Indicates that the obstacle is at less then 0.30 m (0.98 ft).
"PDC_DISTANCE" – Shows the distance when an obstacle is under 2.00 meters (6.56 ft) in rear of the vehicle.
"PDC_SENSOR_A" – Shows visually the distance detected by the ultrasonic sensor A (Rear extreme left).
"PDC_SENSOR_B" – Shows visually the distance detected by the ultrasonic sensor B (Rear center left).
"PDC_SENSOR_C" – Shows visually the distance detected by the ultrasonic sensor C (Rear center right).
"PDC_SENSOR_D" – Shows visually the distance detected by the ultrasonic sensor D (Rear extreme right).
"PDC_SENSOR_E" – Shows visually the distance detected by the ultrasonic sensor A (Front extreme left).
"PDC_SENSOR_F" – Shows visually the distance detected by the ultrasonic sensor B (Front center left).
"PDC_SENSOR_G" – Shows visually the distance detected by the ultrasonic sensor C (Front center right).
"PDC_SENSOR_H" – Shows visually the distance detected by the ultrasonic sensor D (Front extreme right).
"Axx, X, Y, W, H, R, G, B" - Defines the live video "confine" position (you must also CLIP this area). Please note that the image from the camera always maintains its aspect ratio.
"Cxx, X, Y, W, H" - Clip window region, this tag must to have the same parameters of the tag above.
Look at the skin provided for more details on how to use these commands.
The configuration utility is multilingual, curently it has been translated into:
Spanish - Thanks to Aveigal
German - Thanks to Zorro
French - Thanks to Coucouillu
Russian - Thanks to Kadyroff
Hungarian - Thanks to FPeter
Netherlands - Thanks to Servowire
Slovenian - Thanks to Dejan
Romanian - Thanks to Dexter4000
Portuguese - Thanks to Myrus
Greek - Thanks to 85755
Danish - Thanks to Boelle
Finnish - Thanks to Tumeski
Klingon - Thanks to... Worf :lol:
Would you like to get it translated also in your language?
Downlad this file: "Attachment 54288", translate it and post it back, I will be happy to include also your language.
- Fixed the indicators in agreement with this thread
- Added support for two devices (front and rear).
- Added configurable delays (users request).
- Added fullscreen camera view.