Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[-]
Slideshow

[-]
Stats
» Members: 768
» Latest member: topout7@hotmail.com
» Forum threads: 593
» Forum posts: 3,155

Full Statistics

Control system
#11
I know this thread is a month old but I had an issue with the USB Bluetooth not being recognized. Would give an error "Bluetooth Dongle Init Failed, error code: D1, running PS3BT".

I found a fix in https://github.com/felis/USB_Host_Shield_2.0/issues/331
basically you replace a line in the USB_Host_Shield_2.0/BTD.cpp

Replace:
ConfigDescParser<USB_CLASS_WIRELESS_CTRL, WI_SUBCLASS_RF, WI_PROTOCOL_BT, CP_MASK_COMPARE_ALL> confDescrParser(this);

With:
ConfigDescParser<USB_CLASS_VENDOR_SPECIFIC, WI_SUBCLASS_RF, WI_PROTOCOL_BT, CP_MASK_COMPARE_ALL> confDescrParser(this);
Reply
#12
(10-13-2018, 02:28 AM)Deanw1968 Wrote: I know this thread is a month old but I had an issue with the USB Bluetooth not being recognized. Would give an error "Bluetooth Dongle Init Failed, error code: D1, running PS3BT".

I found a fix in https://github.com/felis/USB_Host_Shield_2.0/issues/331
basically you replace a line in the USB_Host_Shield_2.0/BTD.cpp

Replace:
ConfigDescParser<USB_CLASS_WIRELESS_CTRL, WI_SUBCLASS_RF, WI_PROTOCOL_BT, CP_MASK_COMPARE_ALL> confDescrParser(this);

With:
ConfigDescParser<USB_CLASS_VENDOR_SPECIFIC, WI_SUBCLASS_RF, WI_PROTOCOL_BT, CP_MASK_COMPARE_ALL> confDescrParser(this);

That's interesting. I didn't have any problem with the cheap USB dongle I bought. I am not sure which version of USB_Host_Shield I ended up using, and have since re-installed my PC, so I will need to figure it out all over again.

Thanks for the heads up.
Reply
#13
Are you using both of those PS3 Move controllers, or just one? Haven't been able to find anywhere that mentions using two of them.
Reply
#14
The shadow MD system optionally uses two controllers. You do the sequence triggers by holding a button on one controller and selecting a direction on the other. I think this makes the finger gymnastics a bit easier.

I believe it also lets you have direct control over the drive and dome at the same time.
1
Reply
#15
I use two move controllers. It’s very easy to control. The only downside is both hands are encumbered. Meaning, I can’t easily enjoy a tasty beverage while wowing the crowds with my R2.

Eebel
Reply
#16
I had a feeling shadow MD is set up to drop back to single controller mode if you turn off the second controller.
Reply
#17
(01-12-2019, 05:42 AM)Martyman Wrote: I had a feeling shadow MD is set up to drop back to single controller mode if you turn off the second controller.

Yes, you can use a single controller with SHADOW-MD.  However, I feel you lose a lot of control.  I suppose if you had your A-list sequences set up on a single controller you could get by for a while...maybe when going from one place to another.  

Eebel
Reply
#18
So, I have been working on some code to run on a second Arduino Mega to emulate the Sabertooth motor driver, and control my 2/3/2 system and ODrives. I am probably 90% done, but am starting to feel it is a kludge.

This morning I bit the bullet and ordered an M4 Metro Grand Central board which I am hoping will be able to replace both arduino megas and possibly the mp3 trigger in my current setup. The M4 has a 32bit CPU at 120MHz with floating point support. It can support up to 8 hardware serial ports. It should have plenty of power and features to do everything I could want.

So I will be writing my own replacement for SHADOW-MD (reusing as much of the code as possible). My code will include ODrive drive motor control and 2/3/2 system control (I will see how easy it is to retain the standard SHADOW-MD functionality as well). Unfortunately my droid is a fairly non-standard build so my code will probably not be that useful to anyone else, but I will share it once I am done.
Reply
#19
I am in the midst of printing my second mech (R5-D4). I used SHADOW-MD for my R2 and I am investigating a more modern approach to control. So, I am interested in how this turns out.

Eebel
Reply
#20
Can you share the odrive code? And would that work on the standard s.h.a.d.o.w?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)