I have started working on my HR -OS1 again. (It has been a year.)
In the ~/HROS1-Framework/Linux/project/node_server/src directory, when I do: node app.js I get:
Listning on port 2114
Successful robot init
The 'bot rises, then settles to the sitting position.
On the web page 192.168.1.76:2114 I see the 5 buttons (Stand, Sit, Wave, Turn walk on, Say something).
When I click on any of the buttons there is no response.
BTW I have edited the app.js file to have:
/************************************
* Function calls to native code: *
* *
* *
************************************/
// these core actions must be updated
// to reflect the page builds
// on the rme editor (these are suggested
// page number selections)
function setCoreActions() {
actionList.stand = 2;
actionList.walk_rdy = 8;
actionList.sit = 16;
actionList.sitshtdown = 6;
actionList.test = 20;
actionList.yes = 23;
actionList.wow = 24;
actionList.wave = 25;
actionList.littlemac = 29;
actionList.brah = 30;
actionList.bow = 31;
actionList.whyyyy = 32;
actionList.poser = 33;
actionList.elainecarlton = 34;
actionList.affirmative = 37;
actionList.negatory = 38;
actionList.wave2 = 39;
actionList.clap = 40;
actionList.oops = 41;
Where can I go to look for a solution?
Make sure that you have actions on the pages that those buttons are linking to- the node_server demo app was put together by some folks at Intel for a show, so they had a bunch of custom animations programmed in.
I have edited the function setCoreActions section of the app.js file to be:
function setCoreActions() {
> actionList.stand = 2;
> actionList.walk_rdy = 8;
> actionList.sit = 16;
> actionList.test = 20;
> actionList.yes = 23;
> actionList.wow = 24;
> actionList.wave = 25;
> actionList.littlemac = 29;
> actionList.brah = 30;
> actionList.bow = 31;
> actionList.whyyyy = 32;
> actionList.poser = 33;
> actionList.elainecarlton = 34;
> actionList.affirmative = 37;
> actionList.negatory = 38;
> actionList.wave2 = 39;
> actionList.clap = 40;
> actionList.oops = 41;
> }
I still get no response from the action buttons on the website 192.168.1.76:2114.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks