Files
PhotonVision/photon-client/src/components/pipeline/OutputTab/SingleCalibration.vue

49 lines
979 B
Vue
Raw Normal View History

2019-10-26 23:41:45 +03:00
<template>
<div>
<v-row
align="center"
justify="start"
>
<v-col cols="6">
<v-btn
small
color="accent"
class="black--text"
style="width: 100%;"
@click="takePoint"
>
Take Point
</v-btn>
</v-col>
<v-col cols="6">
<v-btn
small
color="yellow darken-3"
style="width: 100%;"
@click="clearPoint"
>
Clear Point
</v-btn>
</v-col>
</v-row>
</div>
2019-10-26 23:41:45 +03:00
</template>
<script>
export default {
name: "SingleCalibration",
2019-10-29 23:58:06 +02:00
methods: {
clearPoint() {
this.handleInputWithIndex("robotOffsetPoint", 0, this.$store.state.currentCameraIndex)
2019-10-26 23:41:45 +03:00
},
2019-10-29 23:58:06 +02:00
takePoint() {
this.handleInputWithIndex("robotOffsetPoint", 1, this.$store.state.currentCameraIndex)
2019-10-26 23:41:45 +03:00
}
}
}
</script>
<style scoped>
</style>