Skip to content

cuddlebots/go-cuddlebot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cuddlebot Control Server

The Cuddlebot Control Server cuddled is implemented using the Go Programming Language as a RESTful API.

Getting Started

To get started, install Go from the project website. Then, install the Go package dependencies:

go get github.com/codegangsta/negroni
go get github.com/phyber/negroni-gzip/gzip
go get github.com/stretchr/graceful
go get github.com/mikepb/go-crc16

These packages include the Negroni HTTP Middleware for Go and supporting packages.

To build binaries for Linux on ARM, you'll also need to install the GNU Tools for ARM Embedded Processors. Make sure that the tools are available on your PATH.

A Makefile is available with the following targets:

  • build compile cuddled and cuddlespeak for the current platform and for Linux/ARM
  • clean remove the build directories

The binaries under bin-arm-linux/ are used as part of the Yocto Embedded Linux build process. More details are available as part of the Cuddlebot system image project.

Project File Organization

  • bin/ compiled binaries for the current platform
  • bin-arm-linux/ compiled binaries for the Linux/ARM
  • cuddle implements the control server library
  • cuddled implements the control server daemon
  • cuddlespeak implements a command-line tool to control the motors

License

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published