Robosen Optimus Prime Codes

Discussion in 'Transformers Toy Discussion' started by 84OptimusPrime, Oct 21, 2021.

  1. 84OptimusPrime

    84OptimusPrime Autobot

    Joined:
    Oct 28, 2013
    Posts:
    400
    Trophy Points:
    142
    Likes:
    +494
    Please only post Block Codes or USB Downloads for Robosen Optimus Prime here.


    Edit: If you are posting someone else’s code, please give the creator credit and verify the codes work on your Optimus Prime before posting here.



    ~Till all are One!
     
    Last edited: Oct 21, 2021
    • Like Like x 1
  2. 84OptimusPrime

    84OptimusPrime Autobot

    Joined:
    Oct 28, 2013
    Posts:
    400
    Trophy Points:
    142
    Likes:
    +494
    Optimus Kick
    9C95A6E5-81EA-4ADB-9651-02E803AC5C45.jpeg




    Credit to Billy Zhao

    //put center of mass onto right foot

    Action: 100 Delay 0

    * Right Shoulder: -90

    * Left Upper Arm: -90

    * Left Elbow: 95

    * Left Foot: -35

    * Right Foot: -15

    //detach left foot from the ground

    Action: 100 Delay 0

    * Left Foot: 0

    * Right Foot: -10

    //rotate upper body, counterbalance against lifting of left leg

    Action: 100 Delay 0

    * Left Thigh: 95

    * Left Knee: 0

    * Right Knee: -15

    * Right Ankle: -5

    * Hip Joint: -20

    * Waist: -40

    * Left Ankle: -80

    //return kicking leg/foot to ground

    Action: 100 Delay 0

    * Left Knee: 0

    * Left Thigh: 0

    * Left Ankle: 0

    * Left Foot: 0

    * Hip Joint: 0

    //return everything to starting position

    Action: 100 Delay 0

    * Right Thigh: 0

    * Right Knee: 0

    * Right Ankle: 0

    * Right Foot: 0

    * Waist: 0

    * Right Shoulder: 0

    * Left Shoulder: 0

    * Left Elbow: 0

    * Left Upper Arm: 0
     
    • Like Like x 5
  3. 84OptimusPrime

    84OptimusPrime Autobot

    Joined:
    Oct 28, 2013
    Posts:
    400
    Trophy Points:
    142
    Likes:
    +494
    Optimus dance to Billie Jean/ Gangnam Style/ Jailhouse Rock

    USB CODE in comments

    Credit to KongTing





    Give him a thumbs up and Subscribe- the work he has created so far is AMAZING!
     
    • Like Like x 11
  4. Billy

    Billy New Member

    Joined:
    Oct 22, 2021
    Posts:
    3
    Trophy Points:
    17
    Likes:
    +11
    • Like Like x 4
  5. Tuv1305

    Tuv1305 Well-Known Member

    Joined:
    Dec 11, 2019
    Posts:
    109
    Trophy Points:
    112
    Likes:
    +573
    How do I install actions via USB? It tells I have to disconnect Bluetooth to go into USB mode, but then tells me I can't go into USB mode because it's not connected to the Bluetooth.
     
  6. Ghilz

    Ghilz Derpticon

    Joined:
    Apr 29, 2013
    Posts:
    1,578
    Trophy Points:
    197
    Likes:
    +793
    1) Connect optimus to a PC via USB
    2) Using the app, go to options > "Connect via USB" (This will disconnect optimus from the App and he will not reconnect until he leaves usb mode. You should see Optimus appear on your PC as a flash drive. If not, disconnect and reconnect the cable)
    3) Copy the files into Optimus to their proper folders
    4) Press the power button once, Optimus will disconnect from the PC
    5) Unplug the cable
    6) Your new action will be in the Action menu of the app when you next connect optimus to it
     
    • Like Like x 2
  7. Tuv1305

    Tuv1305 Well-Known Member

    Joined:
    Dec 11, 2019
    Posts:
    109
    Trophy Points:
    112
    Likes:
    +573
    Awesome. Thank you!
     
    • Like Like x 2
  8. Samus252

    Samus252 New Member

    Joined:
    Oct 26, 2021
    Posts:
    1
    Trophy Points:
    1
    Likes:
    +0
    How do you get the app to see the custom audio file?
     
  9. 84OptimusPrime

    84OptimusPrime Autobot

    Joined:
    Oct 28, 2013
    Posts:
    400
    Trophy Points:
    142
    Likes:
    +494
    Hi,
    Bring the entire “folder 23” over to your Optimus USB Drive

    Only the movements with the .sh must go into the action folder.

    Instructions are included with the link below KongTing’s YouTube video.

    Good luck! You can do this
     
  10. ChinaOptimusPrime

    ChinaOptimusPrime Member

    Joined:
    Dec 14, 2020
    Posts:
    17
    Trophy Points:
    7
    Likes:
    +32
    To those interested in the code for the 1 Arm Push=Ups.

    1) Follow these instructions to set Optimus into USB Mode: https://www.facebook.com/100072576607170/videos/398229491770869/
    2) Download the attached "1 Arm Push-Ups.pdf" file
    3) Rename it to "1 Arm Push-Ups.sh"
    4) Copy "1 Arm Push-Ups.sh" to your Optimus' "Action" folder (see attached screenshots)
    5) It's always good hygiene to "Eject USB Mass Storage Device" when you're done (see screenshot).
    6) After you have reconnected to Optimus via Bluetooth, you should see "1 Arm Push-Ups" in your "Actions" menu (see screenshot)


     
    • Like Like x 2
  11. 84OptimusPrime

    84OptimusPrime Autobot

    Joined:
    Oct 28, 2013
    Posts:
    400
    Trophy Points:
    142
    Likes:
    +494
    From Johnny;
    Hi all, please download the “.sh” file and use APP's USB mode via PC or MAC, find the "Action" folder, put ".sh" file into "Action" folder, your robot will learn this action.



    *Not verified if this USB download code is Safe*


    EDIT:
    Removed code as link says:
    “Google Drive can't scan this file for viruses.
    This file is executable and may harm your computer.“


    Reached out to Johnny Lv for clarification. Will update when confirmed safe.





    Credit to Johnny Lv from Facebook Robosen Fans group. Created by Chinese Customer who was inspired by Billy Zhao.
     
    Last edited: Nov 1, 2021
    • Like Like x 1
  12. ChinaOptimusPrime

    ChinaOptimusPrime Member

    Joined:
    Dec 14, 2020
    Posts:
    17
    Trophy Points:
    7
    Likes:
    +32
  13. Billy

    Billy New Member

    Joined:
    Oct 22, 2021
    Posts:
    3
    Trophy Points:
    17
    Likes:
    +11
    Here's a App-CREATE action for a Boxing Jab/Cross combo:


    Legend:
    italics are comments
    bold are action blocks
    • bullets are servo movements: angle/speed
    ____________________
    //code starts below
    //Boxing Guard: ready position

    Action block (Speed: 15 Delay: 30)
    • Head: 15
    • Left Hip: 10
    • Left Thigh: 30
    • Left Ankle: -20
    • Left Foot: -10
    • Right Thigh: 20
    • Right Knee: -30
    • Right Ankle: -40
    • Right Hip: -20
    • Waist: -40
    • Hip Joint: 25
    • Right Foot: 20
    • Left Shoulder Blade: 20
    • Left Shoulder: 20
    • Left Upper Arm: -70
    • Left Elbow: 95
    • Left Lower Arm: 40
    • Left Hand: 40
    • Right Shoulder Blade: -20
    • Right Shoulder: -20
    • Right Upper Arm: 70
    • Right Elbow: -95
    • Right Lower Arm: -40
    //Jab: bring head out of centerline, jabbing up
    Action block (Speed: 15 Delay: 30)
    • Waist: -80
    • Left Shoulder: 0
    • Left Upper Arm: -95
    • Left Lower Arm: 95
    • Left Elbow: 0
    • Left Shoulder Blade: 80
    • Left Hand: 0
    • Right Thigh: 45
    • Right Knee: 0
    • Right Ankle: -20
    • Right Foot: 30
    • Left Thigh: 40
    • Left Knee: 40
    • Left Ankle: -20
    • Left Foot: -15
    • Left Hip: 25
    • Hip Join: 50
    //Cross: shift weight to front plant foot
    Action block (Speed: 15 Delay: 30)
    • Left Hip: 10
    • Left Thigh: 10
    • Left Knee: 0
    • Left Ankle: -40
    • Left Foot: -19
    • Right Thigh: 30
    • Right Knee: -40
    • Right Ankle: -50
    • Right Hip: -20
    • Waist: 40
    • Hip Joint: 20
    • Right Foot: 20
    • Left Shoulder Blade: 20
    • Left Shoulder: 20
    • Left Upper Arm: -70
    • Left Elbow: 95
    • Left Lower Arm: 40
    • Left Hand: 40
    • Right Shoulder Blade: 0
    • Right Shoulder: -20
    • Right Upper Arm: 95
    • Right Elbow: 0
    • Right Lower Arm: -95
    • Right Hand: 0
     
    • Like Like x 4
  14. Billy

    Billy New Member

    Joined:
    Oct 22, 2021
    Posts:
    3
    Trophy Points:
    17
    Likes:
    +11
    Here is one for OP doing a Muay Thai Roundhouse kick.



    Legend:
    italics are comments
    bold are action blocks
    • bullets are servo movements: angle/speed
    ____________________
    //code starts below
    //Prep Optimus: head down, right shoulder up to counterbalance kicking leg, left arm up to protect head, push off left foot, tilt right foot to balance under center of mass

    Action block (Speed: 80 Delay: 0)
    • Head: 10
    • Right Shoulder: -90
    • Left Upper Arm: -90
    • Left Elbow: 95
    • Left Foot: -35
    • Right Foot: -15
    //Take left foot off the ground, shift right foot for balance
    Action block (Speed: 1 Delay: 0)
    • Left Foot: 0
    • Right Foot: -10
    //Get left kicking foot into position: left thigh forward, left knee bent, right knee bent forward, right ankle flexed, hip leaning back, waist rotating toward target, shift right thigh and foot for balance, left ankle in line with leg for the strike, open up both hips
    Action block (Speed: 100 Delay: 0)
    • Left Thigh: 95
    • Left Knee: 60
    • Right Knee: -50
    • Right Ankle: -30
    • Hip Joint: -20
    • Waist: -40
    • Right Thigh: -10
    • Left Ankle: -70
    • Right Hip: -40
    • Right Foot: -3
    • Left Hip: 40
    //Execute Roundhouse Kick: straighten left knee, ankle opened up to the max for the strike, left elbow opens up for counterbalance, bring right arm up for head protection and balance, spin wheels as a homage to Pacific Rim's Elbow Rocket Punch
    Action block (Speed: 100 Delay: 0)
    • Left Knee: 0
    • Left Ankle: -80
    • Left Elbow: 0
    • Left Wheel: 100
    • Right Elbow: -95
    • Left Upper Arm: 30
    • Right Shoulder: 0
    • Left Shoulder: 30
    • Right Upper Arm: 95
    //Retract Kick: Left knee comes back, waist turns to pull body back, hip moves forward, slightly close left and right hips, and tweak right foot and ankle for balance. Spin wheels the other way
    Action block (Speed: 100 Delay: 0)
    • Left Thigh: 95
    • Left Knee: 60
    • Left Wheel: -100
    • Waist: 10
    • Hip Joint: 17
    • Right Hip: -30
    • Left Hip: 20
    • Right Foot: -10
    • Right Ankle: -15
    • Right Thigh: -25
    //Prepare to land left foot on the ground: continue to close the hips for balance, left thigh and ankle drop toward the ground, left ankle and foot opens up for landing, waist continues to pivot for balance, no more wheel spinning!
    Action block (Speed: 100 Delay: 0)
    • Left Hip: 10
    • Right Hip: -10
    • Left Wheel: 0
    • Left Thigh: -15
    • Left Ankle: 30
    • Left Knee: 30
    • Left Foot: -15
    • Waist: 40
    //Landing and back to defensive guard: right foot and ankle tweak to rebalance on both feet, waist pivots back and left arm comes back up for defensive guard
    Action block (Speed: 100 Delay: 0)
    • Right Foot: 10
    • Right Ankle: -15
    • Waist: 20
    • Left Shoulder: 0
    • Left Upper Arm: -95
    • Left Elbow: 95
    • Left Lower Arm: 30
    • Right Lower Arm: -30
    //Audio: One Shall Stand and One Shall Fall
     
    • Like Like x 3
  15. kaotika

    kaotika Well-Known Member

    Joined:
    Sep 21, 2011
    Posts:
    888
    News Credits:
    5
    Trophy Points:
    207
    Likes:
    +759
    there needs to be a better repository for this
     
  16. coder2021

    coder2021 New Member

    Joined:
    Dec 12, 2021
    Posts:
    3
    Trophy Points:
    12
    Likes:
    +1
     
  17. coder2021

    coder2021 New Member

    Joined:
    Dec 12, 2021
    Posts:
    3
    Trophy Points:
    12
    Likes:
    +1
    This is awesome! Do you have an .sh code for this?

     
  18. coder2021

    coder2021 New Member

    Joined:
    Dec 12, 2021
    Posts:
    3
    Trophy Points:
    12
    Likes:
    +1
    Another excellent action for Optimus!

     
    • Like Like x 1
  19. 84OptimusPrime

    84OptimusPrime Autobot

    Joined:
    Oct 28, 2013
    Posts:
    400
    Trophy Points:
    142
    Likes:
    +494
    You can download USB code in his KongTing’s comments
    Works perfect and Audio transfers over.

     
    • Like Like x 2
  20. Goose24

    Goose24 Well-Known Member

    Joined:
    Aug 23, 2020
    Posts:
    202
    Trophy Points:
    77
    Likes:
    +124
    So I finally did this, but when I pull up the app it now has "Optimus Prime Dance" and then a second button that says "_Optimus Prime Dance". Any clue how to get rid of the dupe?