-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changed the names of the cameras #325
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly good, just minor notes.
Also can you update the forearm camera config in camera-config
to be the wrist camera? Then we can just test everything and make sure it works end-to-end.
@@ -107,9 +107,9 @@ void initCameras() { | |||
auto cfg = cam::readConfigFromFile(Constants::MAST_CAMERA_CONFIG_PATH); | |||
cameraConfigMap[Constants::MAST_CAMERA_ID] = cfg; | |||
// openCamera(Constants::MAST_CAMERA_ID); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we remove this line
src/Constants.cpp
Outdated
const char* MAST_CAMERA_CONFIG_PATH = "../camera-config/MastCameraCalibration.yml"; | ||
const robot::types::CameraID MAST_CAMERA_ID = | ||
"upperArm"; // TODO: replace with real camera name | ||
const robot::types::CameraID MAST_CAMERA_ID = "mast"; // was upperArm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to put the // was upperArm
comment on this and the other definitions I think. We can document that on this PR if necessary
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works great!
Related to: huskyroboticsteam/mission-control#69 and huskyroboticsteam/Simulator#18
Changed the names of the cameras:
upperArm
->mast
rear
->wrist
front
->hand