Skip to content

Conversation

@mayarajan3
Copy link
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
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
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
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
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
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