VEXcode IQ v2.0 Preview

We are happy to release a v2.0 preview of VEXcode for VEX IQ. It can be downloaded here: VEXcode Overview - VEX Robotics

Changes

  • Rebranded from “VEXcode IQ Blocks” to “VEXcode IQ”
  • Added IQ C++ support to VEXcode IQ
  • Added IQ C++ code viewer while in Blocks mode
  • Added errors display interface to VEXcode text viewer
  • Added ability to convert Blocks Projects to C++
  • Updated and added Blocks example projects
  • Updated Vision Utility to display the center coordinates of a detected object instead of the origin coordinates
  • Updated Vision Utility to allow you to select an image area by dragging in any direction
  • Resolved issue where ghost text may appear when dragging blocks
  • Add software privacy policy link in the “About” dialog window
  • Resolved an issue where My Blocks may not load properly on project load
  • Resolved an issue where invalid data was generated for Trig functions - all Trig functions now return degrees
  • Added new preview languages - Deutsch, Lietuvių, Русский, Suomi, Türkçe
  • Small increase to the memory available per stack (when started/event/thread) to allow for larger and more complex projects

Known Issues

  • [Blocks] Using the “Share” button to generate a PDF of a project does not print the content of project notes (yellow boxes)
  • [Blocks] Motor commands do not automatically update when device/direction names change in the Devices window
  • [Blocks] My Blocks parameter blocks may not appear disabled if you drag them straight from the definition block into any block outside of the originating My Block - however, the parameter’s behavior is disabled
  • [Blocks] Undo/Redo actions in the Blocks interface can cause you to lose your blocks project if triggered directly after opening the Help / Devices / Code Viewer panels
  • [iPad] Share feature is disabled due to Safari engine issue
  • [Android] Share feature is disabled due to Chrome engine issue
  • [Chrome OS] Saved indicator text may display “Not Saved” when the code is actually saved. Users can hit save to force the label to match the current state
  • [Blocks] The horizontal scroll bar in the code viewer may not be visible, but horizontal scrolling is allowed
  • [C++] Linker errors will appear in a pop-up error window as opposed to appearing in the “Errors” interface.
  • [All] Example project names are not translated yet
14 Likes

Great!!! Now I just need to learn C++ : P

1 Like

c++ is very epic.
void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = position; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::value_type = position]/10
would recommend

1 Like

Just be aware that IQ has very little memory and we are not supporting standard library classes

4 Likes

Do you mean there will be entirely no std library, or that some parts of it will not work?

1 Like

You may find some simple template only classes that work, but we do not link against the standard C++ library so most things will not work.

8 Likes

will printing to the console work?

std::cout will not work.

printf will work only for small programs, it uses a lot of memory.

We have a Brain.Terminal.print function that has similar functionality, however, VEXcode does not have any integrated terminal at present so you would need to use an external program like PuTTY to display the output.

7 Likes

I’m assuming that means strings are not supported? Will you need to use null-terminated C strings instead of std::strings?

std::string is not supported.

2 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.