Skip to content
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

Merged
merged 7 commits into from
Jul 17, 2024
Merged

Changed the names of the cameras #325

merged 7 commits into from
Jul 17, 2024

Conversation

Geeoon
Copy link
Member

@Geeoon Geeoon commented May 24, 2024

Related to: huskyroboticsteam/mission-control#69 and huskyroboticsteam/Simulator#18
Changed the names of the cameras:

  • upperArm -> mast
  • rear -> wrist
  • front -> hand

Copy link
Member

@abhaybd abhaybd left a 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);
Copy link
Member

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

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
Copy link
Member

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

@Geeoon Geeoon requested a review from abhaybd June 28, 2024 07:40
Copy link
Member

@abhaybd abhaybd left a comment

Choose a reason for hiding this comment

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

Works great!

@abhaybd abhaybd merged commit f5c3aa8 into master Jul 17, 2024
3 checks passed
@abhaybd abhaybd deleted the camera-naming branch July 17, 2024 23:33
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.

2 participants