When you launch cmd to run regsvr are you right clicking to launch it with admin rights? That one got me the first time.
hi
yes i started as admin went to the c: prompt enter the info and i just get a message saying its not in that path or need debugging ??
i have got the same problem on vista.
i change the source folder from roborealm to c:/roborealm/
the i can register… i dont know
i test it on C:/users/documents/eca/eca…
but this dont worked… only the short path…
vista = fista
i downgrade my vista back to XP , i think for robo projects its is better…
i tried the short path too but still no luck
roborealm works ok just can’t reg the rr_com_api.dll
i will download roborealm again see if that helps ??
Hmm… That doesn’t look quite right… Let me fix it:
I think I might have figured it out!
This is a post from Roborealm forum
Try taking the “C:” out of the path…
I had this problem too. All you have to do is put in the dll file name. I didn’t use a file path. It seemed to work fine for me.
Edit: You’re actually typing it wrong too. You’re supposed to do “regsvr32 rr_com_api.dll”
thanks man took out the c: and it worked fine
doh! should have knowen that from dos days lol
no good directing it to c: if your already in it
thanks again
chris
Flowbot it works!
Blob tracking works nice at first time
realy cool!
I want to expand your program.
one for new movements are programmed to determine how attacking mode. stand on 4 legs front legs high… or so…(when possible an object comes with speed to the camera… he detect the speed an then he defend her self with attacking mode … just so… but i must look for it
and the 2 nd, I have lights on the head what I would switch them on and off. its from RC cars it gives kits for this. impule on impulse off.
thank you
Nice! We finally fixed it. Just a poorly registered DLL that whole time. Well, enjoy!
hi flowbot
do you plan at any time to ps2 type pc game pad control
to your vb software ? it would save having to buy a bot board and atom pro.
all my hex stuff has arrived to day cant wait to get it built and try out
the colour tracking ,i brought the micromagic hex and a load of tower pro servos and all the kit i need to build a working hex.
regards
chris
flowbot do you want integrate the balance modus like xans code 1.3??
hi flowbot
do you plan at any time to ps2 type pc game pad control
to your vb software ? it would save having to buy a bot board and atom pro.
To be totally honest, that is why I made this software in the first place, so I could control the hex right from the computer instead of using a PS2 pad and a bot board. But if you prefer physical buttons to virtual ones feel free to give it a shot. It should be entirely possible to do.
So I guess the answer is, no, not anytime soon but it would make a neat option in the future.
P.S. Good luck on the hex assembly!
flowbot do you want integrate the balance modus like xans code 1.3??
I’d love to, but I’m a bit swamped with school and work right now. It might be a few weeks before I get any free time again to work on this…sigh
oh this is sad, but i wish u a good time and good works in school.
its most impressive in live that u have a good education.
what school u do? what s your job?
my tracking u really good, but keep distance doesnt work…
what he use for this? cog? when you messuring this?
i think he must take, high and large at first contact? or how it works?
hmmm i must load the new vb.net on my computer i cant see the code this time
Hey flowbotX when you going to get a messenger service?
Also I had an idea, since your doing wonders with xan’s phoenix code and it’s in VB, I remember making some VB app’s a while back and I know that VB and the windows mobile platform were quite close… so here’s my idea that I was speaking to wowy7 about it and I guess the idea kinda hit me upside the face, these pocket PC’s i remember I had an Ipaq 39XX something rather and it had a serial port with a cable on the bottom, anyway if you could somehow convert your code to pocket pc, then this bot board would most likely be not used by myself. Granted there needs to be a way to still give the pda input’s like sensors and what not… in my case “a 5 axis gyro/accelerometer” and the ability to read 7 Pwm inputs off my 2.4ghz receiver so i can keep it radio controlled
the bluesmirf connected to the ssc32 and controlled via blue tooth on a pda… would be quite baller if you ask me I really not sure if it would make rc control obsolete and simply have many more programming options if you used a pda for control?.. although you cant dual touch on pda’s as far as I know…
I think if anyone has the “know how” it would be you
that would be just using it as a wireless controller
the other fact would be strapping the pda on the phoenix and simply using the pda as a replacement for the botboard/atom pro the battery life is pretty good on pda’s and even more so when the screen is off…
this pda I saw was 624mhz, that’s 39x faster then the atomPro… you could literally be very sloppy with code and it would still run fine…
oh crap the ideas are running though my head, I know from when I programmed pda stuff there wasn’t a whole lot that was different in code for pda’s compared to windows…
…Humm idea’s Ideas…
–Aaron
You know if there was a piece of hardware that was able to send and receive serial bluetooth data…from inputs…
actually what about taking a botboard2 and simply putting code on it that sent data out via some output pins at the maximum speed to a bluesmirf to a pda the pda did the hard number crunching then it sent back to a separate bluetooth receiver connected to the ssc32 that told the servos what to do?
kinda spendy I know, but in theory you think the whole thing would be quick enough? data rates fast enough exct…humor my idea for a second and let me know what you guys think.
Or better yet! How about control from your bluetooth enabled cell phone?!
Check it out:
ilovevb.net/Web/blogs/vbmobile/a … world.aspx
Seems to me that all you would have to do is download a windows mobile sdk and convert the code over…don’t know how intense that would be but I’m sure its possible.
Same goes for windows CE. It is a great idea.
Sorry about messenger. Like I said the other day. I’m swamped for the next couple of weeks at least. It’s all I can do to drop by the forum here… But I haven’t forgotten.
So here is the list of great ideas I have heard over the last litte while that deserve implementation:
- Save files for individual robot hardware configurations (seperate from code) (br549 is already working on this one)
- Implement Xan’s 1.3 and balance calcs
- Port to Windows CE and/or mobile
- Get program working with OpenCV facetracking
- Joystick and gamepad support
I feel like starting a development group or club of people interested in taking the base program we have here and running with it. Maybe if it got big enough we could get ourselves a whole forum section! Who knows.
- Save files for individual robot hardware configurations (seperate from code) (br549 is already working on this one)
What in general? servo pin connections? I happen to already have code to do this that I used with my BRAT Jr. software. I could send you some code if you want.
Flowbot, the code interms of base VB code and code for windows mobile is nearly identical, the only things you would need to change would be things like display window sizes “i forget what name its called” anyway the …flippin window thing you look at, screen dimensions… <— that.
as for the balance calculations, Zenta did that and I imagine within a day you would be able to duplicate it its pretty simple once you see it done in code, but as for starting how to do it from scratch… be a bit beyond me!
[code];[BalCalcOneLeg]
BalCalcOneLeg [PosX, PosZ, PosY, BodyOffsetX, BodyOffsetZ]
;Calculating totals from center of the body to the feet
TotalZ = BodyOffsetZ+PosZ
TotalX = BodyOffsetX+PosX
TotalY = 150 + PosY’ using the value 150 to lower the centerpoint of rotation 'BodyPosY +
TotalTransY = TotalTransY + PosY
TotalTransZ = TotalTransZ + TotalZ
TotalTransX = TotalTransX + TotalX
gosub GetBoogTan [TotalX, TotalZ]
TotalYbal = TotalYbal + TOINT((BoogTan180.0) / 3.141592)
gosub GetBoogTan [TotalX, TotalY]
TotalZbal = TotalZbal + TOINT((BoogTan180.0) / 3.141592)
gosub GetBoogTan [TotalZ, TotalY]
TotalXbal = TotalXbal + TOINT((BoogTan*180.0) / 3.141592)
;serout S_OUT, i9600, “BalOneLeg PosX=”, sdec PosX," PosZ=", sdec PosZ," TotalXTransZ=", sdec TotalTransZ, 13]
return
;--------------------------------------------------------------------
;[BalanceBody]
BalanceBody:
TotalTransZ = TotalTransZ/6
TotalTransX = TotalTransX/6
TotalTransY = TotalTransY/6
if TotalYbal < -180 then 'Tangens fix caused by +/- 180 deg
TotalYbal = TotalYbal + 360
endif
if TotalZbal < -180 then 'Tangens fix caused by +/- 180 deg
TotalZbal = TotalZbal + 360
endif
if TotalXbal < -180 then 'Tangens fix caused by +/- 180 deg
TotalXbal = TotalXbal + 360
endif
;Balance rotation
TotalYBal = TotalYbal/6
TotalXBal = TotalXbal/6
TotalZBal = -TotalZbal/6
;Balance translation
LFGaitPosZ = LFGaitPosZ - TotalTransZ
LMGaitPosZ = LMGaitPosZ - TotalTransZ
LRGaitPosZ = LRGaitPosZ - TotalTransZ
RFGaitPosZ = RFGaitPosZ - TotalTransZ
RMGaitPosZ = RMGaitPosZ - TotalTransZ
RRGaitPosZ = RRGaitPosZ - TotalTransZ
LFGaitPosX = LFGaitPosX - TotalTransX
LMGaitPosX = LMGaitPosX - TotalTransX
LRGaitPosX = LRGaitPosX - TotalTransX
RFGaitPosX = RFGaitPosX - TotalTransX
RMGaitPosX = RMGaitPosX - TotalTransX
RRGaitPosX = RRGaitPosX - TotalTransX
LFGaitPosY = LFGaitPosY - TotalTransY
LMGaitPosY = LMGaitPosY - TotalTransY
LRGaitPosY = LRGaitPosY - TotalTransY
RFGaitPosY = RFGaitPosY - TotalTransY
RMGaitPosY = RMGaitPosY - TotalTransY
RRGaitPosY = RRGaitPosY - TotalTransY
return[/code]
I believe it’s the 2nd part of this code…
as for the pocket pc thing… very interesting, im not sure about having 2 blue smirf’s on a phoenix though, gotta be a better way of doing that…
Not unless there is some device that you can power from some voltage, it’s small has the ability to read analog/digital inputs and have some serial outs, thats able to take a blue smirf onto it, that way the pocket pc tx/rx would be pretty easy for one who is “Visual Basic Inclined” to attempt to send some data back and forth and make a front end… until then, its rc phoenix for me.
I’m amazed what 16mhz and roughly 20k of code can do for this 18 servo’ed robot, be interesting to see what some real cpu speed does for it, the terrain adaption and facial / object recognition seems possible with ppc’s as the control/cpu grunt work.
Hi again
I have changed your code as per helpfile. Done RoboRealm as per file and i can launch you new GUI with blob tracking so my API must be fine?
It connects to my comport fine, roborealm does not launch though and i have changed the path as instructed.
And when it does launch, what is the file it should be running (i.e if i started it manually)
Thanks
Tim
PS i can wake the robot and sleep the robot fine, just no blob tracking