by dlc » Thu Jun 06, 2013 5:22 am
by dlc
Thu Jun 06, 2013 5:22 am
The Action Files made by action builder run until you power cycle the RBC according to the manual. The manual only shows a single action in a single ActionBuilder file. This isn't very useful. Can you have a single ActionBuilder action file do multiple things? I'm assuming you can, because having the HUNO be able to stand up when he falls down assumes that you were doing something to fall down, so... But how? There does not seem to be a sophisticated "switch" type construct to parse action triggers, or is there?
(OP edit)
I'll answer my own question. Apparently every conditional is effectively a "switch" case. I built one action file that uses the accelerometer to stand back up or will swat at you if you are closer than 15mc from his head. I can get sound input or button input from the RBC, but... Now I hit a bug. When I want to get the remote control buttons as a case, this does not work. The BTN_C entry is shown, and I can't select any other button, and when saved as an action file, the RBC does not even respond to the BTN_C button. I don't know what version that I have, it doesn't say anywhere. Is there a version that does work with choosing remote control buttons?
Thanks,
DLC
The Action Files made by action builder run until you power cycle the RBC according to the manual. The manual only shows a single action in a single ActionBuilder file. This isn't very useful. Can you have a single ActionBuilder action file do multiple things? I'm assuming you can, because having the HUNO be able to stand up when he falls down assumes that you were doing something to fall down, so... But how? There does not seem to be a sophisticated "switch" type construct to parse action triggers, or is there?
(OP edit)
I'll answer my own question. Apparently every conditional is effectively a "switch" case. I built one action file that uses the accelerometer to stand back up or will swat at you if you are closer than 15mc from his head. I can get sound input or button input from the RBC, but... Now I hit a bug. When I want to get the remote control buttons as a case, this does not work. The BTN_C entry is shown, and I can't select any other button, and when saved as an action file, the RBC does not even respond to the BTN_C button. I don't know what version that I have, it doesn't say anywhere. Is there a version that does work with choosing remote control buttons?
Thanks,
DLC