Questions tagged [gobot.io]

Gobot is a framework for robotics, physical computing, and the Internet of Things, written in the Go programming language

Gobot makes commanding robots incredibly simple and fun.

All you need to get started is install Gobot with :

go get -d -u github.com/hybridgroup/gobot/...

8 questions
3
votes
0 answers

Magnetometer output for LSM303DLHC sensor on i2c bus is erratic. Problem writing gobot pilot

I use the Adafruit LSM303DLHC sensor. It is made of 2 sensors, an accelerometer and a magnetometer. I am currently writing a driver for this sensor to work with the gobot.io package through i2c interface on a Raspberry Pi 2. Problem: The…
Jokari
  • 43
  • 3
2
votes
1 answer

Execute SparkCore function using Gobot.io and sleepy RESTful Framework for Go

I have the following bit of code where I'm using the RESTful framework for Go called sleepy. I can successfully start the service at: http://localhost:3000, however when I try to access http://localhost:3000/temperature I'm expecting my SparkCore…
gotnull
  • 26,454
  • 22
  • 137
  • 203
1
vote
1 answer

sphero sprk+ isn't discoverable in macbook pro bluetooth

I'm trying to connect to Sphero Sprk+ device with gobot.io, like this example: https://gobot.io/documentation/platforms/sprkplus/ The code cannot connect to the device, so I checked in the visible bluetooth devices from Bluetooth Preferences in…
Forepick
  • 919
  • 2
  • 11
  • 31
1
vote
1 answer

Gobot OpenCV fails

I'm trying to run OpenCV test application from GoBot Go Lang OpenCV . I tried to run the example code given in that page and all I get is an error: 2016/06/10 20:15:26 Initializing Robot cameraBot ... 2016/06/10 20:15:26 Initializing…
Jishnu U Nair
  • 512
  • 5
  • 12
  • 29
0
votes
0 answers

Gobot unable to run for Arduino Uno D1 Wemos ESP8266

I am using Gobot with Arduino Uno D1 Wemos ESP8266. $ gort scan serial /dev/cu.Bluetooth-Incoming-Port /dev/cu.usbserial-1410 /dev/tty.Bluetooth-Incoming-Port /dev/tty.usbserial-1410 $ cat blink.go package main import ( …
Prasad Surase
  • 6,486
  • 6
  • 39
  • 58
0
votes
0 answers

How to use the gpio of the orange-pi zero in conjunction with gobot

For turning on led lights I want to access the GPIO of the orange-pi zero via gobot I am using gobot since my server from which i want to do this is written in Go. However on the platforms section of gobot it does not mention the orange-pi platform.…
dvanderleij
  • 31
  • 1
  • 6
0
votes
1 answer

An error occurs when I execute go file which controls dji tello drone with keyboard in windows 10

I have a go file named as drone_control.go which controls dji tello drone with keyboard button clicks. When I try to execute this file using the command prompt it shows an error * exec: "stty": executable file not found in %PATH% I am using windows…
Chamila Maddumage
  • 3,304
  • 2
  • 32
  • 43
0
votes
2 answers

Too many arguments to conversion in gobot

I was trying to test a LDR using gobot framework. I used AnalogSensorDriver device driver and my code is package main import ( "time" "gobot.io/x/gobot" "gobot.io/x/gobot/drivers/aio" "gobot.io/x/gobot/platforms/raspi" ) func…
Sachith Muhandiram
  • 2,819
  • 10
  • 45
  • 94