Hallo I’d like yours please your helping me I am in this new. I have hexapod CH3-R Basic Atom 28 Pin SSC-32 Servo Controller and I’d like him program only I don’t know how . I want that robot go all by himself and single detect obstruction helping Ultrasonic Range Sensor SRF05. Ultrasonic Sensor to rotate Servo motor scale 180° (I want that oneself sensor roration on servo right to left.), that he detect three parties. I tried worked helping Powerpod autonomous (independet) program but robot doesn’t go and I don’t why. I shall be happy to if me sent functional program that I am this could examine. Thanks
I have question by SSC-32 Sequencer. I can generate program for autonomous (self-employed) travel robot, or this make only from PowerPod??? Thanks
The powerpod generated autonomous code has the complete movement engine, but the builder must write the autonomous part of the code. This will require some experience. I am not aware of any pre-written autonomous code for the hexapod robots.
Hallo
I am make program by PowerPod or SSC-32 Sequencer that robot constant go forward and detected barriers helped sensor rotation right and again robot go directly.
I have not experience programing
Hi Pilottt,
Have you followed the assembly guides and the like to build your CHR-3. Have you downloaded the Basic Micro IDE (Studio) to your machine? Do you have a serial cable to connect your computer to the serial connector on the Bot Board 2? If so have you loaded this generated program into Studio and was studio able to find the correct serial port to talk to your robot and if you click on download were you successful in downloading the program to your CHR-3? If so it probably still won’t do anything but at least all of the pieces are in place.
Once you are at that step, you should notice that there are a lot of comments in the generated program about different variables to set to do different things…
For example: If you edit the code and add something like the following just before the Shunt label it might walk foreword at some fixed speed, leg position, etc…
; Up where variables are defined...
ButA var bit
Prev_ButA var bit
; now after the label Main and before the label Shunt try:
Buttons = 0 ; Start off with no buttons pressed.
Prev_ButA = ButA ; remember previous state
ButA = in12 ; get the new state of the Btn A on BB2
if ButA and (Prev_ButA = 0) then
; Toggle the ON/Off switch
Buttons.bit4 = 1 ; Say that we pressed the on/off switch
endif
; need to figure out what we want to do but to start off with
; walking forward at some speed and height...
Steering = 0 ; not rotate
XSpeed = 40 ; go forward at some speed
YSpeed = 0 ; not diagnal...(translation):
Height = 0
LegUpShift = 40 ; higher up but not that it needs extra stuff
GaitSpeed = 10 ; somewhere in the middle of speed
KneeShiftOn = 0 ; normal gait
LockLegs = 0 ; Normal walk
LeftStickMode = 0 ; probably don't need to set
; here is the current label shunt...
Shunt
If that works, you should hopefully be able to figure out how to process buttons B and C and try experimenting with the different variables to see what they do…
Good Luck
Kurt
Hello Kurt
Thank you very much for the very code helped me. Code works well only I have changed small “code” program. I will testing Buttons B,C, for rotate robot.
Thanks
Pilottttt
Hallo I’d like yours please your helping me. I saw as make Timers but I don´t know. I want that activate (set) Timer on 10 second example …with servo and when ending 10 second that turn off servo. I know about it to exist two types Timers ON and OFF. It does not matter what Timers apply.
Thanks