mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-15 17:12:59 -04:00
25 lines
496 B
Go
25 lines
496 B
Go
//go:build dummy
|
|
|
|
package roverd
|
|
|
|
import (
|
|
"fmt"
|
|
"log"
|
|
)
|
|
|
|
type NightVisionLight struct{}
|
|
|
|
func NewNightVisionLight(cfg NightVisionConfig, logger *log.Logger) (*NightVisionLight, error) {
|
|
return nil, fmt.Errorf("night vision not supported in dummy build")
|
|
}
|
|
|
|
func (n *NightVisionLight) Close() {}
|
|
|
|
func (n *NightVisionLight) HandleAction(action string) error {
|
|
return fmt.Errorf("night vision not supported in dummy build")
|
|
}
|
|
|
|
func (n *NightVisionLight) NightVisionOn() bool {
|
|
return false
|
|
}
|