by chrisvo » Sat Jul 03, 2010 4:35 pm
by chrisvo
Sat Jul 03, 2010 4:35 pm
How do you interface the Surveyor SRV-1 SVS to the Kondo RCV4?
Serial UART. The SRV-1 has a UART port and then there's a small circuit you will need to invert the signal level before it comes into the RCB-4 -- we used a CD74HC00E (NAND) chip because we had them laying around but you can probably use a CD74HC04E (Inverter) instead. These particular chips work mostly because they are tolerant of both 5V and 3.3V logic.
To hook up the two SRV-1 boards and the RCB-4 we made a small motherboard:
http://www.flickr.com/photos/christophe ... 081021455/This motherboard is a terrible design and we want to make a lot of changes for next year based on the trouble with this year's design. We are also considering making an entirely new board to completely replace the RCB-4, but these plans are not solid yet.
If I'm understanding this right you program your motions and store them into the RCV-4's 50 slots and then trigger them as & when required using the C based algorithms running on the Surveyor SRV-1 SVS. Is that an accurate understanding?
Yes. There are several ways to run motions:
1. You can just run the motion from the slot. Simple enough.
2. In libkondo4, we have also made it possible to emulate a KRC button press (the kondo remote control) on the RCB-4, which can be used in many ways in the motions. We use these to do arbitrarily long motions like walking, sidesteps, etc. For example, you can have the robot to keep walking until you let go of the button. There are many more possibilities for this, as the KRC also has the ability to send analog direction pad information (like you could have your robot walk faster or slower, or curve to the side when it walks, etc).
3. In libkondo4, you can set a counter first, which can then be used by the motion. For example, we have a walk motion which will walk N steps. To walk 3 steps, we set the counter C1 to 3, then run the motion.
Do you feedback any data from the RCV-4 back to the Surveyor SRV-1 SVS such as gyro data etc?
Yes. We do not have A/D converters on the SRV-1 so we plug our accelerometers into the RCB-4 and use libkondo4 to query the accelerometer values. We use it that way because when the robot falls down, the RoboCup gameplay software also has to know it fell to reset it's algorithm.
You can also use libkondo4 to query any AD port on the robot, query battery status, or set/unset any PIO. I recently added the ability to query servo data too, but I don't know all the fields. You can get position right now, but supposedly there's more information like temperature, etc that you can query from the servos.
We use the gyro for a small amount of stabilization as directed by Kondo. It works OK but nothing to write home about.
How do you interface the Surveyor SRV-1 SVS to the Kondo RCV4?
Serial UART. The SRV-1 has a UART port and then there's a small circuit you will need to invert the signal level before it comes into the RCB-4 -- we used a CD74HC00E (NAND) chip because we had them laying around but you can probably use a CD74HC04E (Inverter) instead. These particular chips work mostly because they are tolerant of both 5V and 3.3V logic.
To hook up the two SRV-1 boards and the RCB-4 we made a small motherboard:
http://www.flickr.com/photos/christophe ... 081021455/This motherboard is a terrible design and we want to make a lot of changes for next year based on the trouble with this year's design. We are also considering making an entirely new board to completely replace the RCB-4, but these plans are not solid yet.
If I'm understanding this right you program your motions and store them into the RCV-4's 50 slots and then trigger them as & when required using the C based algorithms running on the Surveyor SRV-1 SVS. Is that an accurate understanding?
Yes. There are several ways to run motions:
1. You can just run the motion from the slot. Simple enough.
2. In libkondo4, we have also made it possible to emulate a KRC button press (the kondo remote control) on the RCB-4, which can be used in many ways in the motions. We use these to do arbitrarily long motions like walking, sidesteps, etc. For example, you can have the robot to keep walking until you let go of the button. There are many more possibilities for this, as the KRC also has the ability to send analog direction pad information (like you could have your robot walk faster or slower, or curve to the side when it walks, etc).
3. In libkondo4, you can set a counter first, which can then be used by the motion. For example, we have a walk motion which will walk N steps. To walk 3 steps, we set the counter C1 to 3, then run the motion.
Do you feedback any data from the RCV-4 back to the Surveyor SRV-1 SVS such as gyro data etc?
Yes. We do not have A/D converters on the SRV-1 so we plug our accelerometers into the RCB-4 and use libkondo4 to query the accelerometer values. We use it that way because when the robot falls down, the RoboCup gameplay software also has to know it fell to reset it's algorithm.
You can also use libkondo4 to query any AD port on the robot, query battery status, or set/unset any PIO. I recently added the ability to query servo data too, but I don't know all the fields. You can get position right now, but supposedly there's more information like temperature, etc that you can query from the servos.
We use the gyro for a small amount of stabilization as directed by Kondo. It works OK but nothing to write home about.