Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
omnibot.py
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
processes
Omnibot
omnibot.py
Commits
5c51e803
Commit
5c51e803
authored
Nov 1, 2022
by
Felix Agner
Browse files
Options
Downloads
Patches
Plain Diff
small readme changes and changed the project name in the toml
parent
0442fb00
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+3
-3
3 additions, 3 deletions
README.md
pyproject.toml
+1
-1
1 addition, 1 deletion
pyproject.toml
with
4 additions
and
4 deletions
README.md
+
3
−
3
View file @
5c51e803
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
## Description
## Description
This is a python package which allows connection (currently only TCP-based) with the omnibots at the Department of Automatic Control.
This is a python package which allows connection (currently only TCP-based) with the omnibots at the Department of Automatic Control.
Note that this package co
n
vers the
*
*client side*
*
. For information about setting up the omnibot, see (link here).
Note that this package covers the
*client side*
. For information about setting up the omnibot, see (link here).
## Installation
## Installation
On linux:
On linux:
...
@@ -18,7 +18,7 @@ To read positions from the crazyflie, use
...
@@ -18,7 +18,7 @@ To read positions from the crazyflie, use
`z = bot.get_z()`
,
`z = bot.get_z()`
,
`theta = bot.get_theta()`
.
`theta = bot.get_theta()`
.
*Example:*
*
*Example:*
*
Connect to a robot at localhost, make it spin in a circle and read the x and y positions.
Connect to a robot at localhost, make it spin in a circle and read the x and y positions.
```
```
from omnibot.tcp import Connection
from omnibot.tcp import Connection
...
@@ -46,7 +46,7 @@ with Connection(HOST) as bot:
...
@@ -46,7 +46,7 @@ with Connection(HOST) as bot:
sleep(0.1)
sleep(0.1)
```
```
*Example:*
*
*Example:*
*
A pre-defined script which rotates first one way, then the other, and prints logged angle:
A pre-defined script which rotates first one way, then the other, and prints logged angle:
```
```
from omnibot_client.Dummybot import run_dummybot
from omnibot_client.Dummybot import run_dummybot
...
...
This diff is collapsed.
Click to expand it.
pyproject.toml
+
1
−
1
View file @
5c51e803
...
@@ -3,7 +3,7 @@ requires = ["hatchling"]
...
@@ -3,7 +3,7 @@ requires = ["hatchling"]
build-backend
=
"hatchling.build"
build-backend
=
"hatchling.build"
[project]
[project]
name
=
"omnibot
_client
"
name
=
"omnibot"
version
=
"0.0.1"
version
=
"0.0.1"
authors
=
[
authors
=
[
{
name
=
"Felix Agner"
,
email
=
"felix.agner@control.lth.se"
}
,
{
name
=
"Felix Agner"
,
email
=
"felix.agner@control.lth.se"
}
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment