Back to godoc.org

Package controller

v0.0.0-...-5c919d2
Latest Go to latest

The latest major version is .

Published: Aug 30, 2020 | License: MIT | Module: github.com/FCARRILLOM/LaSillaRota/Vision

Index

Variables

var SupportedColors = [][]int{

	{255, 0, 0},
	{0, 255, 0},
	{0, 0, 255},
	{255, 255, 255},
	{192, 192, 192},
	{128, 128, 128},
	{0, 0, 0},
	{128, 0, 0},
	{255, 255, 0},
	{128, 128, 0},
	{0, 128, 0},
	{0, 255, 255},
	{0, 128, 128},
	{0, 0, 125},
	{255, 0, 255},
	{128, 0, 128},
	{130, 0, 0},
}
var SupportedColorsName = map[string]bool{"Red": true, "Lime": true, "Blue": true, "White": true, "Silver": true,
	"Gray": true, "Black": true, "Maroon": true, "Yellow": true, "Olive": true, "Green": true, "Aqua": true, "Teal": true,
	"Navy": true, "Fuchsia": true, "Purple": true, "DarkRed": true, "Khaki": true, "Beige": true, "Brown": true, "Pink": true,
	"Orange": true}
var SupportedColorsNameList = []string{"Red", "Lime", "Blue", "White", "Silver",
	"Gray", "Black", "Maroon", "Yellow", "Olive", "Green", "Aqua", "Teal",
	"Navy", "Fuchsia", "Purple", "DarkRed"}

func ToColor

func ToColor(r int, g int, b int) string

type VisionBody

type VisionBody struct {
	Url string `json:"url"`
}

type VisionObject

type VisionObject struct {
	Name     string `json:"name"`
	Color    string `json:"color"`
	Position string `json:"position"`
}

func (*VisionObject) CallVisionApi

func (u *VisionObject) CallVisionApi(c echo.Context) error

func (*VisionObject) GetClothes

func (u *VisionObject) GetClothes(c echo.Context) error

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier