We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bcaff1 commit 80c7bb8Copy full SHA for 80c7bb8
lib/body.js
@@ -94,7 +94,7 @@ class Body {
94
console.log('Robot body: gripper goal:', cmd);
95
96
if (!Object.prototype.hasOwnProperty.call(this.grippers, cmd.side)) {
97
- console.error('Gripper command side must be either left or right. Right now, it is', cmd.side);
+ console.error(`Gripper command side must be one of [${Object.keys(this.grippers)}]. Right now, it is '${cmd.side}'`);
98
return;
99
}
100
0 commit comments