Page 1 of 22 1234567891011 ... LastLast
Results 1 to 10 of 213

Thread: IBusCommunicatoRR [Update Dec 2011]

  1. #1
    Low Bitrate
    Join Date
    Nov 2010
    Posts
    72

    IBusCommunicatoRR [Update Dec 2011]

    Hi all,
    IBusCommunicatoRR, extension plugin for Riderunner

    The plugin is designed to integrate Riderunner into OEM equipment on cars using Ibus (BMW, Mini, Range Rover).
    With this plugin you are able to control RR with the original steeringwheel/board monitor buttons.
    You can also send ibusmessages from RR with the sendtoibus and sendtodisplay.


    Features:
    -It will communicate both from and to Ibus.
    -It will support TAPE input mode.
    -Read PDC distance value from Ibus
    -Read Navigation info
    -Sends songname to IKE display, with scrolling
    -Sends user defined commands to RR
    -Read OBC info
    -Amp and CD emulation
    -Toggle "RTS" to support the screen switch
    -Press or Hold function
    -Speed Camera detection
    -Driver Log
    -Ibus logging


    Install instructions in ReadMe file

    I'm also working on a skin for this plugin: http://www.mp3car.com/vbulletin/rr-s...tion-skin.html


    Skin Commands:
    IBusCommunicatoRR;sendtodisplay;YourTextHere
    Send text to IKE display. Only the text in Ascii, plugin will calculate checksum and convert to hex.
    Example: IBusCommunicatoRR;sendtodisplay;Riderunner :sends "Riderunner" to IKE Display

    IBusCommunicatoRR;sendtoibus;YourCodeHere
    Send IBus message to bus. Full message including checksum need to be here.
    Example: IBusCommunicatoRR;sendtoibus;3B 05 80 41 01 01 FF :current time request

    IBusCommunicatoRR_SyncTime : Set OBC time with current PC time
    IBusCommunicatoRR_SyncDate : Set OBC date with current PC date

    IbusCommunicatoRR_DriverLog_On : Turn on Driver log
    IbusCommunicatoRR_DriverLog_Off : Turn off Driver log
    --------------------------------------------

    Variables:

    OBC:
    $IBusCommunicatoRR_OBCSPEED$ : Current speed in Km/h or mph
    $IBusCommunicatoRR_OBCRPM$ : Current engine RPM
    $IBusCommunicatoRR_COOLANTTEMP$ : Current engine coolant temperature
    $IBusCommunicatoRR_RANGE$ : Range left in your gas tank
    $IBusCommunicatoRR_CONSUMPTION1$ : Current AVG fuel consumption
    $IBusCommunicatoRR_CONSUMPTION2$ : Current AVG fuel consumption2
    $IBusCommunicatoRR_OUTSIDETEMP$ : Current outside temperature
    $IBusCommunicatoRR_IKEOUTSIDETEMP$ : Current outside temperature data taken from the IKE
    $IBusCommunicatoRR_AVGSPEED$ : Average speed
    $IBusCommunicatoRR_ODOMETER$ : Odometer in total Km

    CD Changer:
    $IBusCommunicatoRR_CDNUMBER$ : Current CD# loaded in changer
    $IBusCommunicatoRR_CDTRACKNUMBER$ : Current Tracknumber loaded in changer

    Navi:
    $IBusCommunicatoRR_LATITUDE$ : Current Latitude in Degrees, Minutes and Seconds
    $IBusCommunicatoRR_LONGITUDE$ : Current Longitude in Degrees, Minutes and Seconds
    $IBusCommunicatoRR_NAVCITY$ : Current City your on
    $IBusCommunicatoRR_NAVSTREET$ : Current street or road
    $IBusCommunicatoRR_ALTITUDE$ : Current Altitude in meter
    $IBusCommunicatoRR_DISTANCE$ : Distance to destination

    PDC:
    $IBusCommunicatoRR_PDCRRS$ : Distance from RearRightSide PDC sensor
    $IBusCommunicatoRR_PDCRRC$ : Distance from RearRightCenter PDC sensor
    $IBusCommunicatoRR_PDCRLC$ : Distance from RearLeftCenter PDC sensor
    $IBusCommunicatoRR_PDCRLS$ : Distance from RearLeftSide PDC sensor
    $IBusCommunicatoRR_PDCFRS$ : Distance from FrontRightSide PDC sensor
    $IBusCommunicatoRR_PDCFRC$ : Distance from FrontRightCenter PDC sensor
    $IBusCommunicatoRR_PDCFLC$ : Distance from FrontLeftCenter PDC sensor
    $IBusCommunicatoRR_PDCFLS$ : Distance from FrontLeftSide PDC sensor

    Speed Camera:
    $IBusCommunicatoRR_SpeedCamSpeed$ : Speed Limit on closest camera
    $IBusCommunicatoRR_SpeedCamDistance$ : Distance to closest camera, meter or yards

    Screen:
    $IbusCommunicatoRR_Area0$ : Display message from area0
    $IbusCommunicatoRR_Area1$ : Display message from area1
    -----------------------------------------------
    Sliders:

    PDC:
    IBusCommunicatoRR_PDC_Slider_RRS : RearRightSide
    IBusCommunicatoRR_PDC_Slider_RRC : RearRightCenter
    IBusCommunicatoRR_PDC_Slider_RLC : RearLeftCenter
    IBusCommunicatoRR_PDC_Slider_RLS : RearLeftSide
    IBusCommunicatoRR_PDC_Slider_FRS : FrontRightSide
    IBusCommunicatoRR_PDC_Slider_FRC : FrontRightCenter
    IBusCommunicatoRR_PDC_Slider_FLC : FrontLeftCenter
    IBusCommunicatoRR_PDC_Slider_FLS : FrontLeftSide

    Speed Camera:
    IBusCommunicatoRR_SpeedCam_Slider_Distance : Distance to closest camera
    -----------------------------------------------
    Indicator:

    General:
    IBusCommunicatoRR : Plugin indicator

    CD Changer:
    IBusCommunicatoRR_CDPLAYING : CD is playing in changer

    Navi:
    IBusCommunicatoRR_GPSfix : GPS signal is locked

    Dec2 2010 Updated with new skin command: "IBusCommunicatoRR_SyncTime : Set OBC time with current PC time"
    Dec4 2010 Updated with new variable: "$IBusCommunicatoRR_CONSUMPTION2$ : Current AVG fuel consumption2"
    June6 2011 Update:
    RR Dec 2010 or newer are now required (Using "GetUserVar" for all variables now)
    All features asked for are now added.
    Added SW Contention mode for those not using Melexis based interface (Resler)
    Added PDCSkin settings in .ini to allow for PDC to automatically switch to PDC.skin when active
    Added Variables - Average Speed, Odometer, Altitude, CD number and track number in changer
    Added Indicators - CD changer playing and GPS signal locked
    Added Command - Sync Date

    Dec 17 2011 Update.
    RR Oct 2011 or newer are required
    Added Speed Camera Warning, getting data from OEM Navi on Ibus. Reads camera files from Garmin and Navman csv format
    Added Driver Log
    Added Ibus logging
    Added mph as option for speed
    Updated ReadMe.txt
    Updated Skin examples
    Attached Files Attached Files
    Last edited by mitchjs; 11-24-2013 at 02:01 PM.

  2. #2
    Low Bitrate
    Join Date
    Nov 2010
    Posts
    72
    Faq:

    First: A few question regarding IbusCommunicatoRR compability with iBusRR have been raised and I try to answer them here.
    1) If iBusRR works for you there is no need to change unless you wan't any of the new functions.
    2) IbusCommunicatoRR can do everything iBusRR can, it just do it differently.

    Q) iBusRR can send message to open/close windows, control light, ....
    A) You can send any message you want directly from skin file (you do not need to define the message to send in a .ini file)
    Example to show the difference when sending a "open trunk" message:
    - IbusRR skin file: "SENDMSG;IBusRR;OPEN_TRUNK"
    - Same function in a IBusCommunicatoRR skin file:"IBusCommunicatoRR;sendtoibus;3F 05 00 0C 95 01 A2"

    Q) iBusRR can execute different commands on different screens
    A) Function are already supported in RR by ExecTBL, no need for plugin to do the same.

    Q) How does "RRCommand" in .ini work
    A) RRCommand is the command to send to RR, this is transparent so use skin commands from the RR documentation.
    Any command valid to RR can be used. Example:
    - Multiple commands using the || separator "Vol+||TALK;Volume up!"
    - or set indicator by "SETIND;!MYINDICATOR;ON(OFF)"

    Q) How does "Release ID" in .ini works
    A) Almost all BMB (Board Monitor Buttons) have different code for press, hold and release. Release ID just hold the RRCommand until a "Release ID" is found.
    Normally this is used with the "PressOrHoldID" to get dual functions from same button.
    Example: Your steeringwheel previous arrow are set up as below.
    - When press the plugin detect the ibus code for press and RRCommand are "RRPREV", since the ReleaseID are set 132 it does not send it to RR.
    Release your finger from BMB and plugin will detect the release code, plugin will detect it and send the "RRPREV".
    - Or Press the finger again and plugin will detect press code. ReleaseId is set up it so does not send it to RR, exactly same as previous example.
    This time you do not release your finger, you hold it until BMB detects you holding the button and send an ibus code for hold.
    Plugin detects a STW_PREV_HOLD and the pressorholdID function make it cancel the pending STW_PREV_PRES command and send "STARTFRWD" to RR.
    Release your finger and plugin will send "STOPFRWD" to RR.

    In short, press the button < 1sek and RR will jump to previous track. Hold same button for > 1sek and RR will start to rewind the song until you release the button.

    [ID=130]
    IDName=STW_PREV_PRES
    MsgTemplate="5004683B080F"
    Label="S. Wheel < Press"
    Parse=True
    System=False
    RTSEnable=
    ReplyMsgID=
    ButtonState=True
    ReleaseID=132
    PressOrHoldID=
    RRCommand="RRPREV"

    [ID=131]
    IDName=STW_PREV_HOLD
    MsgTemplate="5004683B181F"
    Label="S. Wheel < Hold"
    Parse=True
    System=False
    RTSEnable=
    ReplyMsgID=
    ButtonState=False
    ReleaseID=
    PressOrHoldID=132
    RRCommand="STARTFRWD"

    [ID=132]
    IDName=STW_PREV_REL
    MsgTemplate="5004683B282F"
    Label="S. Wheel < Release"
    Parse=True
    System=False
    RTSEnable=
    ReplyMsgID=
    ButtonState=False
    ReleaseID=
    PressOrHoldID=
    RRCommand="STOPFRWD"


    Skin example based on Carwings:
    Indicators for GPS signal locked and CD changer active
    Click on "Time" will set OBC clock to current PC time
    Click on "Date" will set OBC date to current PC date
    Click on "Fuel Consump1" will send a request to update and hold will send a reset
    Click on "Fuel Consump2" will send a request to update and hold will send a reset
    Click on "Avg Speed" will send a request to update and hold will send a reset
    Click on "Driver Log On" to enable Driver Log
    Click on "Driver Log Off" to disable Driver Log

    And Parking sensor skin to:

    And Pop_up screen when speed camera are close
    Attached Images Attached Images    
    Attached Files Attached Files
    Last edited by JanneH0; 12-16-2011 at 07:27 PM.

  3. #3
    Confusion Master
    Auto Apps:loading...
    Enforcer's Avatar
    Join Date
    Sep 2003
    Location
    If you go down to the woods today, You're sure of
    Posts
    14,634
    Interesting.


    One thing I would suggest is that you change your variable names and sliders to have a unique prefix that identifies them with your plugin.

    Just in case they conflict with something else.

  4. #4
    Low Bitrate
    Join Date
    Oct 2010
    Location
    Ivry-Sur-Seine (France)
    Posts
    71
    Awesome

    I think a command to display a skin for the rearview camera (connected to the PC) when the reverse gear is engaged is a plus.
    Such commands can, reset the consumption fuel, set the time and date, set a speed for the regulator would be greatly appreciated.

    Thank you for your work.
    Sorry for my English (if you do not understand something please let me know).

  5. #5
    Low Bitrate
    Join Date
    Nov 2010
    Posts
    72
    Hi,

    I think a command to display a skin for the rearview camera (connected to the PC) when the reverse gear is engaged is a plus.
    You can do that already, just create a new ID# in .ini file and the RRCommand to load the skin file.

    Don't know what the code for reverse is but here is an example:
    [ID=145]
    IDName=REVERSE_GEAR_ON
    MsgTemplate="Ibus Code here"
    Label="Reverse Gear engaged"
    Parse=True
    System=True
    RTSEnable=
    ReplyMsgID=
    ButtonState=False
    ReleaseID=
    PressOrHoldID=
    RRCommand="LOAD;rearviewcamera.skin"

    and you might want another when reverse off -> RRCommand="EXIT"

    Such commands can, reset the consumption fuel, set the time and date, set a speed for the regulator would be greatly appreciated.
    Not sure about the time, need to think about it. For the other It's already there.
    Just make a new button in your skin and set the button command to " ibuscommunicatorr;sendtoibus;YourCodeHere"

    Example to reset fuel consumption:
    ibuscommunicatorr;sendtoibus;3B 05 80 40 04 00 FA (Don't know if this is the correct code, but you get the point)

  6. #6
    Low Bitrate
    Join Date
    Oct 2010
    Location
    Ivry-Sur-Seine (France)
    Posts
    71
    Ok thank you for this information.

    For setting the date and time, I think it's best to do as the program ibusrr, hardcoded in the code.
    It could also be interesting to resume the function from ibusrr for gamma.
    All this with the setting in the .ini

    ; ---------------------------------------------------------------------------------------------------
    ;
    ; General Plugin Setting
    ;
    ; SyncTime: Option to set IKE time with the PC Clock each time iBusRR is started. Default is 0
    ; SetGamma: Option to send NIGHTGAMMA to RR when the lights are turned on and DAYGAMMA when they're turned off
    ; ---------------------------------------------------------------------------------------------------

    [Settings]

    SyncTime=1
    SetGamma=1

  7. #7
    Low Bitrate
    Join Date
    Nov 2010
    Posts
    72
    Hi,
    For setting the date and time, I think it's best to do as the program ibusrr, hardcoded in the code.
    Set the OBC time is added as a skin command "IBusCommunicatoRR_SyncTime"
    This way you can do it either manually from a button in the skin, or add it in "onskinstart" in the exectbl file to sync each time it start.


    It could also be interesting to resume the function from ibusrr for gamma.
    All this with the setting in the .ini

    ; ---------------------------------------------------------------------------------------------------
    ;
    ; General Plugin Setting
    ;
    ; SyncTime: Option to set IKE time with the PC Clock each time iBusRR is started. Default is 0
    ; SetGamma: Option to send NIGHTGAMMA to RR when the lights are turned on and DAYGAMMA when they're turned off
    I don't want to add things that can be solved outside the plugin.
    Even if most of the codes for Ibus are the same, sometimes there are differencies depending on models, production year and country specific not forget Mini and Land Rover.
    I like to be as flexible as possible to all kind of models so adding things to the plugin is the last option.

    For this reason SetGamma will not be added, sorry.
    This can be solved by adding 2 new entries in the ini file. Lights on ->RRCommand="NIGHTGAMMA" and Lights off ->RRCommand="DAYGAMMA".
    Or if you want to control it manually just use any spare button from BMB and set RRCommand="GAMMA".

    If you have the codes for it I can then add it to the .ini file

  8. #8
    Low Bitrate
    Join Date
    Oct 2010
    Location
    Ivry-Sur-Seine (France)
    Posts
    71
    that's responsiveness!

    In my bimmer, I have 2 fuel consumption. Is it possible to have the second consumption with a variable like $IBusCommunicatoRR_CONSUMPTION2$.

    Otherwise, in IbusRR there is a variable $VIN$, I do not know what it is but maybe peoples serves it.

    Again thank you for this plugin.

  9. #9
    Low Bitrate
    Join Date
    Nov 2010
    Posts
    72
    In my bimmer, I have 2 fuel consumption. Is it possible to have the second consumption with a variable like $IBusCommunicatoRR_CONSUMPTION2$.
    $IBusCommunicatoRR_CONSUMPTION2$ added.

    Otherwise, in IbusRR there is a variable $VIN$, I do not know what it is but maybe peoples serves it.
    VIN is "Vehicle identification number" http://en.wikipedia.org/wiki/Vehicle...ication_Number

    I find it pretty useless to have it in a car pc set up as I don't see the need for it. If anybody have a good reson why, then I can add.

  10. #10
    Confusion Master
    Auto Apps:loading...
    Enforcer's Avatar
    Join Date
    Sep 2003
    Location
    If you go down to the woods today, You're sure of
    Posts
    14,634
    Quote Originally Posted by JanneH0 View Post

    VIN is "Vehicle identification number" http://en.wikipedia.org/wiki/Vehicle...ication_Number

    I find it pretty useless to have it in a car pc set up as I don't see the need for it. If anybody have a good reson why, then I can add.

    Same reason people do most of the things they do with a PC in the car, because they can

Page 1 of 22 1234567891011 ... LastLast

Similar Threads

  1. Build on Mandriva 2010
    By yoshihiro in forum RevFE
    Replies: 28
    Last Post: 02-23-2010, 06:50 AM
  2. music defaults to first song on open
    By soundman98 in forum Road Runner
    Replies: 18
    Last Post: 11-23-2009, 03:36 AM
  3. Replies: 13
    Last Post: 05-28-2009, 04:18 PM
  4. pc reboot on sd startup
    By duanes7 in forum StreetDeck
    Replies: 3
    Last Post: 12-14-2007, 09:55 AM
  5. IRMAN plugin
    By knyarko in forum StreetDeck
    Replies: 3
    Last Post: 01-05-2007, 09:26 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •