-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
40 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,20 +2,22 @@ | |
|
||
from __future__ import absolute_import | ||
import datetime | ||
import sys | ||
|
||
from pymycobot.generate import MyCobotCommandGenerator | ||
from pymycobot.Interface import MyBuddyCommandGenerator | ||
from pymycobot.mycobot import MyCobot | ||
from pymycobot.mybuddy import MyBuddy | ||
from pymycobot.mecharm import MechArm | ||
from pymycobot.mypalletizer import MyPalletizer | ||
from pymycobot.mycobotsocket import MyCobotSocket | ||
from pymycobot.genre import Angle, Coord | ||
from pymycobot import utils | ||
from pymycobot.mybuddysocket import MyBuddySocket | ||
from pymycobot.mira import Mira | ||
from pymycobot.mybuddybluetooth import MyBuddyBlueTooth | ||
from pymycobot.mybuddyemoticon import MyBuddyEmoticon | ||
from pymycobot.mypalletizersocket import MyPalletizerSocket | ||
|
||
|
||
__all__ = [ | ||
"MyCobot", | ||
|
@@ -30,11 +32,16 @@ | |
"MyBuddySocket", | ||
"MyBuddyBlueTooth", | ||
"Mira", | ||
"MyBuddyEmoticon", | ||
"MyPalletizerSocket" | ||
"MyPalletizerSocket", | ||
"MechArm" | ||
] | ||
|
||
__version__ = "2.9.7b3" | ||
|
||
if sys.platform == "linux": | ||
from pymycobot.mybuddyemoticon import MyBuddyEmoticon | ||
__all__.append("MyBuddyEmoticon") | ||
|
||
__version__ = "2.9.7" | ||
__author__ = "Elephantrobotics" | ||
__email__ = "[email protected]" | ||
__git_url__ = "https://github.com/elephantrobotics/pymycobot" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# coding=utf-8 | ||
from pymycobot import MyCobot | ||
|
||
class MechArm(MyCobot): | ||
def __init__(self, port, baudrate="115200", timeout=0.1, debug=False): | ||
super().__init__(port, baudrate, timeout, debug) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters