-
Notifications
You must be signed in to change notification settings - Fork 6
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
Tickets/love 89 Mirror Cover Status in TMA #442
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.
Great job @fdelcampo ! I've only left a few comments regarding not removed comment blocks. Please take a look to them. Thanks!
{/* {<div className={styles.azContainer}> | ||
<Azimuth | ||
currentValue={this.props.azimuthActualPosition} | ||
targetValue={this.props.azimuthDemandPosition} | ||
/> | ||
</div>} */} |
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.
This comment block should be removed.
// getAngleClosedCoverMirror() { | ||
// const stateToClosedMTMountMirrorCoversState = { | ||
// RETRACTED: Math.PI / 12, | ||
// DEPLOYED: Math.PI / 2 + Math.PI / 4, | ||
// RETRACTING: Math.PI / 2, | ||
// DEPLOYING: Math.PI / 2 - Math.PI / 6, | ||
// LOST: -Math.PI / 36, | ||
// }; | ||
// // const mirrorCoversValue = this.props.mirrorCoversState.map((state) => mtMountMirrorCoversStateMap[state]); | ||
// // return mirrorCoversValue.map((value) => stateToClosedMTMountMirrorCoversState[value]); | ||
// return this.props.mirrorCoversPosition.map((value) => value + 5); | ||
// } |
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.
This comment block should be removed.
// const mirrorCoversValue = this.props.mirrorCoversState.map((state) => mtMountMirrorCoversStateMap[state]); | ||
// return mirrorCoversValue.map((value) => stateToClosedMTMountMirrorCoversState[value]); | ||
//} | ||
|
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.
This comment block should be removed.
//'ok': styles.ok, | ||
//'warning': styles.warning, |
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.
These lines should be removed.
/* .azContainer { | ||
position: absolute; | ||
left: -60%; | ||
top: -60%; | ||
width: 220%; | ||
} | ||
/* width: 100%; * | ||
} */ |
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.
This comment block should be removed.
/* .bgCurrent { | ||
fill: transparent; | ||
stroke: #3a525f60; | ||
transition: stroke-dasharray linear 0.5s; | ||
} */ |
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.
This comment block should be removed.
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.
Thank you @fdelcampo !
…down (angles with both position the rotations)
… to MirrorCovers component
b145f6e
to
aade7a3
Compare
Added telemetries about the individual status of the mirror covers, and add the individual position.
Refactor about azimuth visualization in this component