{"id":16254211,"url":"https://github.com/celer/xpider","last_synced_at":"2025-06-16T16:09:39.780Z","repository":{"id":137058479,"uuid":"110282826","full_name":"celer/xpider","owner":"celer","description":"Golang Xpider Controller","archived":false,"fork":false,"pushed_at":"2017-11-12T20:53:43.000Z","size":9,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-08T12:51:02.071Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/celer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-11-10T19:06:06.000Z","updated_at":"2024-11-03T18:29:12.000Z","dependencies_parsed_at":"2023-04-07T12:17:05.269Z","dependency_job_id":null,"html_url":"https://github.com/celer/xpider","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/celer/xpider","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/celer%2Fxpider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/celer%2Fxpider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/celer%2Fxpider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/celer%2Fxpider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/celer","download_url":"https://codeload.github.com/celer/xpider/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/celer%2Fxpider/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260194172,"owners_count":22972637,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T15:20:33.308Z","updated_at":"2025-06-16T16:09:39.752Z","avatar_url":"https://github.com/celer.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduction\n\nThis is a first cut at a driver for the [Xpider](http://xpider.me) robot for golang.\n\n![Picture of a Xpider Robot](http://res.cloudinary.com/hrscywv4p/image/upload/c_limit,fl_lossy,h_9000,w_1200,f_auto,q_auto/v1/666328/620_415_2-01_cwuoh9.jpg)\n\n\nThere are a few assumptions:\n\n\t* You've already connected to the Xpider WIFI\n\t\t* Xpider_XXX, Pass: 12345678\n\t* The Xpider is listening for commands on the IP address \n\t\t* 192.168.100.1\n\nThis driver does not capture the video feed from the robot, to do this you'll needa\nto fire up a connection to rtsp://admin:admin@192.168.100.1:554/cam1/h264\n\n# Getting started\n\n```\n\tgo get github.com/celer/xpider\n```\n\n## Connect to the robot\n\nTo get to this point you'll need to connect to the \nwifi network that the Xpider robot uses, mine appears\nas Xpider_242, yours will probably look similar. The\nrobot is simply listening on an IP address on the network\nit's setup. \n\n```go\n\t// Connect to the xpider\n\tx := \u0026xpider.Controller{}\n\terr := x.Connect(\"192.168.100.1:80\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n```\n\n## Send a command to the robot\n\n```go\n\n\t// Set our front LEDs to be green and red\n\tx.FrontLED(0, 0xFF, 0, 0xFF, 0, 0)\n\n\t// Move to some location\n\tx.AutoMove(100, r, 100, 10)\n\n```\n\n## Get the state of the robot\n\n```go\n\tstate:=x.GetState()\n\tfmt.Printf(\"Observed Distance %d\\n\", state.ObsticalDistance)\n\n```\n## See examples/ for examples\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fceler%2Fxpider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fceler%2Fxpider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fceler%2Fxpider/lists"}