GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - XilefTech/CharlieOSX: Multiple new ways for Driving, Navigation and general Control for Lego Midstorms EV3, based on pybricks

BranchesTags
Open more actions menu

Latest commit

 

History

579 Commits
579 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.vscode
.vscode
 
 
UI
UI
 
 
assets
assets
 
 
lib
lib
 
 
site
site
 
 
.gitignore
.gitignore
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
TODO
TODO
 
 
VERSION
VERSION
 
 
charlieosx.py
charlieosx.py
 
 
config.cfg
config.cfg
 
 
main.py
main.py
 
 
profileHelper.py
profileHelper.py
 
 
robot.py
robot.py
 
 
ui.py
ui.py
 
 
webremote.py
webremote.py
 
 

Repository files navigation

Disclaimer: Everything in this Repository is still experimental and WIP. Nothing is expected to fully work. I'm still far away from a final version. If you should experience any issues or bugs, please open an issue in this repository.

CharlieOSX

By XilefTech from the "Lego Spirits"

  • Already won a first place in Robotdesign @ FLL 2020/2021 RePLAY

Image of the Main Menu

Summary

CharlieOSX is a Project, meant to be used in all kinds of driving Lego Mindstorms EV3 Robots, with support for other types of robots maybe coming in the future. CharlieOSX offers a wide feature set with the two main things being:

  1. Highly accurate and self-correcting driving methods based on gyro-sensor data
  2. An on-Brick GUI for Programing, testing and using of programs without the need of a computer at all.

It will be FLL-Ready (as soon as the basic feature set is fully implemented and tested).

Also it will help you to improve your movements through showing important data in the screen while driving. (Not implemented yet)

How to use CharlieOSX with your robot:

  1. Install Ev3dev or Pybricks on your brick.

  2. Download and open this project in VS code

  3. Open the config.cfg file and fill in everything that is needed about your robot

  4. You can now add as many execute() functions as you like to the end of the main.py file with an array with the number codes. Note: you can add multiple commands directly after each other in the array and the robot will drive them all

  5. Just download and the robot will execute your instructions

Features

Feature Status
Steering any of the three Robot types with the Help of the number codes Done
insert/edit the number codes on the brick itself WIP
create a map with barriers and let the robot navigate on it's own NYI
steer the robot with a remote control in your browser Done
save the Remote-controlled path and let it repeat it NYI
use a FLL mode with separate program slots according to the Tasks on the Field and an extra mode for executing them in a specific order at the competition itself NYI

Usage examples:

To use CharlieOSX you always have to initialize it at the beginning of your program:

CharlieOSX = CharlieOSX('config.cfg', 'settings.json', '')

If you then just want to start the Menu-Interface on the brick and use it, you have to call the UI-Mainloop:

CharlieOSX.ui.mainLoop()

Alternatively, if you want to write your own code inbetween lines and don't need the UI, you can use the driving methods directly:

CharlieOSX.robot.straight(100, 20, 0) # drives in a straight line 20cm with 100% speed
CharlieOSX.robot.turn(75, 90, 23)  # turns 90 deg using both motors with 75% speed

Webremote:

If you want to use the browser-based Webremote of CharlieOSX, you'll need a USB-WIFI adapter. When your robot is connected to your local WIFI network, make sure the robots local IP-adress and the localIP in the config match.

To then start the webremote call the run() function:

CharlieOSX = CharlieOSX('config.cfg', 'settings.json', '')
CharlieOSX.webremote.run()

Now the webserver will start and you can acess the webremote with any webbrowser at < yourBrickIP >:8081 so for example 192.168.178.52:8081

Webremote-Image

The interface is pretty simple:

  1. A joystick for moving the robot
  2. A slider to control the velocity of an action motor
  3. A slider to set the maximum speed for the robot

More Information

You will always be able to find more (detailed) information about the project in the wiki. If there are still questions left, after visiting our wiki, feel free to ask in an issue!

Contributors

  • XilefTech
  • GerhardBenkovsky
  • TheGreydiamond

About

Multiple new ways for Driving, Navigation and general Control for Lego Midstorms EV3, based on pybricks

Topics

ev3firstlegoleaguehacktoberhacktoberfestlego-ev3lego-mindstormspybricksrobot

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing
Activity

Stars

9 stars

Watchers

5 watching

Forks

5 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.