V5 Programming

I need help programming with the V5 cortex.
Could someone tell me how to?

go to help.vex.com for help with VCS

btw it is called a V5 Robot Brain

also, there are other choices RobotMesh and Pros.

Click here to try Robot Mesh Studio.

Struggling here to - here’s what I know to date:

Vex Coding Studio has three ā€˜versions’:
ModKit - VEX C++ and C++ Pro
…and a Robot, Blocks and Text Tabs

ModKit-generated code looks like VEX C++ so I decided to ONLY use VEX C++ for now.

The Robot tab is where you configure the hardware - Like the ā€œMotors and Sensorsā€ setup on Robot C

I suggest looking at the sample in VCS by creating a new file, click templates tab, select sample from respective folder. Also you can use ModKit to generate code too!

VCS seems more ā€˜object’ oriented so this means lots of power & flexibility, but more overwhelming.

For instance each ā€˜smart’ motor also has an encoder seamlessly built in. This allows all sorts of options/control on a 'motor object’ - like max torque, max power, breaking, hold position etc.

https://help.vexcodingstudio.com is great to look at details / options for commands

Right now I’m trying to understand motors and encoders. I’ve attached a sample-file that may help

Good luck!
V5 Samples.zip (1.5 KB)

YES! RoboMesh a good language.

It may be easiest to pick and stay w/ ONE language until your good w/V5. I sticking w/VCS for now because it’s closest to the VEX-Nest

If you look for sample code make sure it’s in your ā€˜flavor’

BTW is there a competition template in Robot Mesh?

We are publishing two YouTube videos on this as we speak. Click here to see them on YouTube, and if you don’t see them, try again in a few minutes. We literally uploaded the video minutes ago.

Yes, and it’s presented right in front of you when you go to create a project, instead of being buried in menus (cough VCS cough)

WOW - RoboRMesh’s changed a lot!

Cursive look at the V5 API it looks similar to VEX C++ but some features, like 'include competition template, auto-detect configuration - How neat! -

Bit of another learning curve - I’ll definately be looking for videos/samples of RoboMesh V5!!

Will RMS work offline?

Paid versions = off-line. $50 pretty reasonable for 1/yr 50 students. FWIW you may be able to tether w/your phone.

BTW BMS looks real nice - may be my go-to for V5

@jrobitai I believe RMS for V5 is supposed to get offline support in this month (November)'s update, which has not yet been released.

Speaking of updates… we never got the ā€œOctoberā€ VCS Update did we?

At least I can trust RobotMesh.

1 Like

Thank you all for the help

The schools in our area are built like steel fortresses and some cell providers have absolutely no cell coverage inside. That’s what made me decide not to use RobotMesh this year. I really wanted my team to go with it, but we couldn’t risk not being able to get coverage inside schools when tournaments are going on.

1 Like

Yeah we’re kind of stuck between a rock and a hard place. If you don’t have very rock solid, super experienced coders, PROS for V5 has quite a learning curve to it. VEX Coding Studio tried to accomplish a lot (too much) and it’s now not a product I would say is suitable for a lot at the moment, even as we wait for upgrades.

RMS is nice, great support, but the schools up here basically kill any cell traffic, and network access is iffy.

It doesn’t have to be this way.
https://youtu.be/LG-AZz_nm5E

Sure. That’s one option. LOL!

1 Like

I’m coding in C++ in VCS and I want a motor to move while I’m pressing a button, what do I do?

I code in RMS, but here’s for a button

if(con.ButtonR1.pressing()) {
Motor.spin(directiontype::fwd); }
else if(con.ButtonR2.pressing()) { 
Motor.spin(directiontype::rev); }
else { 
Motor.stop(braketype::brake); }

Hope this Helps

Is there any thing changed on robot c also do we know about the robot backlog