Need advice replacing my wireless ps controller with laptop

Delay my last

If i read the instructions clearly i would have seen i have to download to the Atom 28 with serial option

:open_mouth:

Ps what is autonomous mode?

Iā€™m pretty sure Autonomous is when the robot navigates by itself. Using sensors to detect obstacles.

Iā€™m guessing you meant ā€œbelayā€ā€¦ as in belay that last command. :wink:

pretty much self directed, although the task it is set upon is generally set as an input from either a person or another control program. 8)

cheers guys, i will look at that as a way of controlling my robot with a webcam etc

Cheers

Hi

I have connected sucessfully wit a usb/rs232 lead from laptop using Powerpod to my robot. this has a mini-abb board.

I have now hooked my webcam and using roborealm i have processed my blue ball and am happy with my image processing. Now i want to turn the distance from the COG of the ball into motion from my robot. The default lynxmotion settings are for a ssc-32 board which i havent got.

Do i need

a. To alter the code on my atom 28pin chip to control motion
b. Come up with a code in roborealm to control motion

This might seem a daft question but as im a newbie please forgive me, im slowly getting addicted to this robot lark!!

Thanks

You can tell im a newbie, im talking pap. I have got the ssc-32 board to drive my legs obv, i just couldnt see it!!

So if i connect to this serial port on the 32 board then will the default servo control in roborealm control my legs?

Does this mean my mini abb is extant then?

No the Bot board and Atom are required to send the SSC-32 the proper sequence of movements to make the robot walk. It should use the serial port to receive commands similar in nature to the PS2 game controller, to effect the walking speed direction etc.

I donā€™t know much about roborealm but I assume you have the ability to send special characters in response to the video queues.

All i wanna do is make my robot follow my ball. What program/language you suggest is easier for a complete beginner?

Do you suggest i write the program on my atom?

Thanks

No you do not have to write a program for the atom. That program is already done for you. It accepts serial commands from another device such as the PC roborealm is working on. We have gone full circle here. I do not know what else to add.

I apologise for being a pain in the ar!*

I am happily controlling my hexapod with my usb/serial using powerpod.
I have now moved on to image processing. I have RoboRealm image processing. Im happy with that too. I just need to know what avenue to look down in order to turn my processing into hexapod movement.

i.e do i stay connected to mini-abb board or switch direct to ssc-32?
Does a VBScript program do the movement? If i have a lynxmotionSSC connection on my Roborealm menu.

Sorry

Thanks

Use the SSC-32 directly connected to the PC. No, VBScript does not control your SSC-32, Roborealm does that. VBScript tells roborealm what servos to move where and roborealm tells the SSC and teh SSC tells the servos. understand? I donā€™t know enough to really explain how it works yet. :frowning:

Yeah i get that cheers. Im just going to use the COG measurement on a blue ball to make the robot move towards or away depending on the distance.

Now i have realised i have a ssc-32 :blush: i will use the gui in roborealm for the ssc board, i just wanted to confirm where i connected the cable.

Thanks for the advice

Are you saying you have compiled and programmed the Atom with the code generated by powerpod for serial control, and are using the example PC program to send it commands to make it walk? Or are you saying something completely different? Define ā€œcontrollingā€ā€¦

I have programmed my atom for serial control

I can then happily move the robot using powerpod serial control window.

This proves my serial - usb lead works.

Im pleased with that, never mind the rest i aim to do!

As suggested above, i will clag upto the ssc-32 board using roborealm and try to track a ball.

Ok that is good that you are able to control the hexapod with the serial control program. Now what you want to do is create a script that tells the robot to walk forward or backwards (the same as the serial program is currently sending to the bot) depending on the roborealm results. I have not used roborealm, but there must be a way to create custom scripts. If I understand it correctly it only sends commands to the SSC-32 to move a pan and tilt camera to track whatā€™s in the video from the cam. You need to modify this to control the whole hexapod instead of just two servos.

Thanks

Ill try that, ill prob succeed by 2012!

Hereā€™s a tutorial I found on roborealmā€™s website for controlling a hexapod.
hexapodrobot.com/guides/HexE ā€¦ al_01.html

You might want to check out the software I have posted here:

lynxmotion.net/viewtopic.php ā€¦ sc&start=0

Control all the bot functions and interfaces with Roborealm for machine vision. If nothing else, the code might help you get started on your own.

FlowbotX

I have launched ur program successfully and did the server API etc
It says edit line 1884 in the code

Can u tell me exactly what file this is please i need to edit

Cheers

Yeah, those arenā€™t very good directions are they?

The line you need to change is:

VisionSource.Open("C:\Users\...\RoboRealm\RoboRealm\RoboRealm.exe", 6060)

Just type in the complete actual address of your roborealm installationā€¦this is so the program can launch roborealm when you enable trackingā€¦in case you donā€™t have it open already.

You say that you have the app up and running? Were the rest of the driections easy enough to follow? Do you recommend any other changes?

Did you get the rest of the variables entered in from the other setup guide?

Let me know if you need any more help