Skip to content

New Century Robotics (Public Welfare) lvgl 6.x simulator based on pros.

License

Notifications You must be signed in to change notification settings

3038922/pros-lvgl-sim

Repository files navigation

pros-lvgl-sim

  • Note: that currently only supported C++ pros/*.hpp
  • Download: git clone --recursive https://github.com/3038922/pros-lvgl-sim.git
  • or: git clone https://github.com/3038922/pros-lvgl-sim.git git submodule update --init --recursive
  • how to build: Development Environment Tutorial

Cmake tools tutorial

avatar avatar avatar avatar

  • Considering the future, I have updated lvgl to 6.1.
  • The API of pros itself has a little conflict with the simulator support, so don't directly cover the project into the project of pros at present.
  • After all the tests are completed, I will delete the ncrapi related code and only keep the independent pros-lvgl-sim.

Operation guide

  • find ncrapi_lvgl_sim_kernel\ncr_lvgl_sim_conf.h
  • #define USE_PROS_LVGL_SIM 1
  • 0 If you are compiling a standard vex program. such as make clean make all prosv5 mut
  • 1 If you want to use a simulator.You can copy your graphic code directly to the project and run it.
  1. click 1 autonomous()
  2. click 2 opcontrol()
  3. click 3 competition_initialize()
  4. click 4 disabled()
  5. click w s E_CONTROLLER_ANALOG_LEFT_Y.
  6. click a d E_CONTROLLER_ANALOG_RIGHT_X.
  7. click q e E_CONTROLLER_ANALOG_LEFT_X.
  8. click ⬆ Up Arrow ⬇ Dw Arrow E_CONTROLLER_ANALOG_RIGHT_Y.
  9. click z E_CONTROLLER_DIGITAL_L1.
  10. click x E_CONTROLLER_DIGITAL_L2.
  11. click c E_CONTROLLER_DIGITAL_R1.
  12. click v E_CONTROLLER_DIGITAL_R2.
  13. click r E_CONTROLLER_DIGITAL_UP.
  14. click f E_CONTROLLER_DIGITAL_DOWN.
  15. click t E_CONTROLLER_DIGITAL_LEFT.
  16. click g E_CONTROLLER_DIGITAL_RIGHT.
  17. click y E_CONTROLLER_DIGITAL_X.
  18. click h E_CONTROLLER_DIGITAL_B.
  19. click u E_CONTROLLER_DIGITAL_Y.
  20. click j E_CONTROLLER_DIGITAL_A.

Project Preview

avatar

About

New Century Robotics (Public Welfare) lvgl 6.x simulator based on pros.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published