by cbhanukiran » Tue Aug 10, 2010 5:10 pm
by cbhanukiran
Tue Aug 10, 2010 5:10 pm
Hi.... Hello everyone......
This will be a bit long, so please spare some time. It will be of GREAT HELP to me. Your feedback will be of GREAT use to me.
I'm doing a similar project similar to
http://robosavvy.com/forum/viewtopic.php?p=9254#9254
and my idea is to make the RN explore an unknown environment ("walk" into a room autonomously and mark new objects, remember them with their positions, so that it can walk directly to the object later on). The Wireless Cam communicates with the laptop directly. So I wouldn't talk about it here.
Now I have some starting trouble, regarding which approach to take.
Option One: (without using roboBasic)
Donot use roboBasic at all. Here I treat the ATMEL chip as a bare minimum SSC microcontroller. Just send from laptop the motor commands, continously to RN. And try to read the sensor values from laptop, using serial port again. After processing, send a different set of motor commands to RN. Here to make the RN move continously, I should be continously feeding with motor commands and I should be reading the sensor values regularly.
Option Two: (using roboBasic)
Upload a big roboBasic routine which consists of (walk, turn left, turn right, walk back, getup_incaseof_fall etc) and RN will be having to two sensors Accelerometer (to determine falls, slippage) and Ultrasonic sensor (for measuring distance of obstacle) on two ports (say 5 and 6). Now I use Bluetooth to send the integer values of the sensor readings from RN to the laptop (where I process them) and send another value back to RN, which says what to do next. This is accomplished by using a switch case (kind of construct in roboBasic), whether it should walk forward/backward, turn left/right.
I don't know which approach is better. My lack of knowledge in Hardware is costing me dear (I'm from Computer Science background).
If I'm not clear somewhere I will explain it some more. But give me some feedback at the earliest.
Thank you so much for your time.
Bhanu Kiran C
Hi.... Hello everyone......
This will be a bit long, so please spare some time. It will be of GREAT HELP to me. Your feedback will be of GREAT use to me.
I'm doing a similar project similar to
http://robosavvy.com/forum/viewtopic.php?p=9254#9254
and my idea is to make the RN explore an unknown environment ("walk" into a room autonomously and mark new objects, remember them with their positions, so that it can walk directly to the object later on). The Wireless Cam communicates with the laptop directly. So I wouldn't talk about it here.
Now I have some starting trouble, regarding which approach to take.
Option One: (without using roboBasic)
Donot use roboBasic at all. Here I treat the ATMEL chip as a bare minimum SSC microcontroller. Just send from laptop the motor commands, continously to RN. And try to read the sensor values from laptop, using serial port again. After processing, send a different set of motor commands to RN. Here to make the RN move continously, I should be continously feeding with motor commands and I should be reading the sensor values regularly.
Option Two: (using roboBasic)
Upload a big roboBasic routine which consists of (walk, turn left, turn right, walk back, getup_incaseof_fall etc) and RN will be having to two sensors Accelerometer (to determine falls, slippage) and Ultrasonic sensor (for measuring distance of obstacle) on two ports (say 5 and 6). Now I use Bluetooth to send the integer values of the sensor readings from RN to the laptop (where I process them) and send another value back to RN, which says what to do next. This is accomplished by using a switch case (kind of construct in roboBasic), whether it should walk forward/backward, turn left/right.
I don't know which approach is better. My lack of knowledge in Hardware is costing me dear (I'm from Computer Science background).
If I'm not clear somewhere I will explain it some more. But give me some feedback at the earliest.
Thank you so much for your time.
Bhanu Kiran C