Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Re: TBDI Test Program, Robot Arm

  1. #1
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    68
    Posts
    3,865
    Rep Power
    405

    Re: TBDI Test Program, Robot Arm

    Here it is, so much fun.
    I marked the lines where you can make changes to fit your joystick or gamepad with '<<<<<<<<<<<<<<<<<<<<<<<<<<<<

    make sure you have thinbasic_TBDI.dll in your libs folder or put a copy into the bot folder.

    who will add sound?
    who will add an object to pick up and drop?
    can't wait to see your additions.

    I added 2 versions since the original post. The first is the original mix of buttons, sliders and axis controls.
    I decided to make an all button version this way everyone can control it for sure. The video is the original version.
    Button only:
    Buttons 1 and 2 control the fingers
    Buttons 3 and 4 rotate the base
    Buttons 5 and 6 rotate arm1
    Buttons 7 and 8 rotate arm2

    http://www.kryton9.com/web/posts/vids/wmvs/temp/bot.wmv
    Attached Files Attached Files
    Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
    Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server

  2. #2
    thinBasic MVPs Michael Hartlef's Avatar
    Join Date
    Sep 2006
    Location
    Germany
    Age
    58
    Posts
    3,299
    Rep Power
    348

    Re: TBDI Test Program, Robot Arm

    That is cool kent. I got an idea for a nice game right away Cool stuff.

  3. #3
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,153
    Rep Power
    736

    Re: TBDI Test Program, Robot Arm

    Hi,

    this is nice, quite swift bot


    Petr

    P.S. kryton, where did you get drivers for my brain waves? - I wanted to color it the same way originally

    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  4. #4
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    68
    Posts
    3,865
    Rep Power
    405

    Re: TBDI Test Program, Robot Arm

    Mike the joystick commands are really intuitive and made it really easy. Great job you did with it!
    Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
    Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server

  5. #5
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    68
    Posts
    3,865
    Rep Power
    405

    Re: TBDI Test Program, Robot Arm

    Petr, glad you had the same colors in mind. Nice that we have so many optional ways to color the models along the creation path and even to change after they are made.
    Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
    Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server

  6. #6
    thinBasic MVPs Michael Hartlef's Avatar
    Join Date
    Sep 2006
    Location
    Germany
    Age
    58
    Posts
    3,299
    Rep Power
    348

    Re: TBDI Test Program, Robot Arm

    Quote Originally Posted by kryton9
    Mike the joystick commands are really intuitive and made it really easy. Great job you did with it!
    Thank you Kent, I try to do the same with the force feedback stuff.

  7. #7
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    68
    Posts
    3,865
    Rep Power
    405

    Re: TBDI Test Program, Robot Arm

    Guys, the bot program used to work fine with my joystick, but when I added my gamepad, now neither the joystick or gamepad work with the program.

    In control panel, I am able to use both of them fine for testing and calibration. Any ideas?
    Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
    Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server

  8. #8
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,817
    Rep Power
    10

    Re: TBDI Test Program, Robot Arm

    Ken,

    are you referencing to TBDI commands?
    Now TBDI has a TBDI_Init function to be executed just after the window you want to control has been created.

    Not sure I'm replying correctly here.
    Eros
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  9. #9
    thinBasic MVPs Michael Hartlef's Avatar
    Join Date
    Sep 2006
    Location
    Germany
    Age
    58
    Posts
    3,299
    Rep Power
    348

    Re: TBDI Test Program, Robot Arm

    First, like Eros said, you need to add

    TBDI_INIT(window_handle from the TBDL_Createwindow command)

    Second, TBDI detects only the first joystick/Gamepad rigght now. So one will not work even if you have both connected.

    Michael


  10. #10
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    68
    Posts
    3,865
    Rep Power
    405

    Re: TBDI Test Program, Robot Arm

    Thanks guys will try it tonight when I get back. Sounds like the solution for now!!
    Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
    Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server

Page 1 of 2 12 LastLast

Similar Threads

  1. TBDI Test Program, Robot Arm
    By kryton9 in forum TBDI module. thinBasic Direct Input integration by MikeHart
    Replies: 2
    Last Post: 25-04-2007, 20:51

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

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