Skip to content

Jibo blocks [FOR REFERENCE]#396

Open
mayarajan3 wants to merge 14 commits into
mainfrom
jibo-blocks
Open

Jibo blocks [FOR REFERENCE]#396
mayarajan3 wants to merge 14 commits into
mainfrom
jibo-blocks

Conversation

@mayarajan3
Copy link
Copy Markdown
Collaborator

No description provided.

if (jiboName != "") {
database.ref("Jibo-Name/" + jiboName).push({ ...data });
await new Promise(r => setTimeout(r, 2000)); // wait a bit before proceeding
await awaitFn();
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wait forever if name isn't available

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should wait until firebase responds until executing next one -- re "unresolved race conditions"

return Promise.race(requests);
}

async ASR_received(): Promise<any> {
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

special scenario "ask and wait"


this.ros = null;
this.connected = false;
this.rosbridgeIP = "ws://localhost:9090"; // rosbridgeIP option includes port
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not used

import 'firebase/compat/database';
import firebase from 'firebase/compat/app';

const config = {
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move authentication data, on firebase end -- fix permissions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant