Skip to content
/ PoMoCo Public
forked from ArcBotics/PoMoCo

Position and Motion Controller software for the ArcBotics Hexy

Notifications You must be signed in to change notification settings

rpcook/PoMoCo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Modifications to GitHub Fork of PoMoCo 1.0 by GitHub user rpcook
Added code to automate connection to BlueTooth Hexy under Linux in ServotorComm.py
PoMoCo_demo.py has minimised interface for demonstrating Hexy and most buttons use Inverse Kinematic code developed by me to position Hexy's body accurately. The code's not packaged properly, neat, nor probably in the right place, but it does (just about work). Neatness to follow.

rpcook license terms as for ArcBotics below.

ArcBotics Notes below:

PoMoCo 0.9 to 1.0 Changes:
1.) All moves now run out of the Moves folder. 

Each move is a separate file that automatically imports all the necessary libraries. On startup, PoMoCo automatically recognizes the files in the move folders, and creates buttons for each of them. The moves are dynamically loaded when its button is pressed, meaning you don't even need to restart PoMoCo when you modify the move!

In Short, the process for creating a move is now:
1.) Create a .py File in [PoMoCo main folder]/Moves/
2.) Write moves as detailed in the documentation
3.) Open PoMoCo
4.) Click the button matching the file name to run the move
5.) Update the move in the text editor, click the button again, and the updated move runs without restarted the program

2.) Frame rate fix 
Changed from 50 FPS to 10FPS. This was causing a lot of slowdowns and hangups on OSX. This change has been confirmed on multiple OSX machines to solve hangups.

3.) Changing file locations
All support files that aren't PoMoCo.py are now moved to [PoMoCo Main Folder]/PoMoCo/ to clean up the look of the software

4.) Baud Rate Change
Slowed down the Baud rate on the serial connection from 115200 to 9600 to correspond with the 1.7 Firmware Update

5.) Move Rate Change
Changed the number of servo updates per move per second from 40 to 5. This dramatically decreases the time it takes per move, especially with moves like walking

6.) Move Cleanup
We had a lot of moves in there we wrote either for trade shows or videos, or were still unfinished (like walking lean back). We fixed each move up, and they're now all ready to go. We even added a couple (like Get Up).

PoMoCo is licensed under the MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Position and Motion Controller software for the ArcBotics Hexy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%