V5 Programming

#1

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

0 Likes

#2

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.

0 Likes

#3

Click here to try Robot Mesh Studio.

0 Likes

#4

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)

0 Likes

#5

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?

0 Likes

#6

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.

0 Likes

#7

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)

0 Likes

#8

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!!

0 Likes

#9

Will RMS work offline?

0 Likes

#10

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

0 Likes

#11

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

0 Likes

#12

Speaking of updates… we never got the “October” VCS Update did we?

At least I can trust RobotMesh.

1 Like

#13

Thank you all for the help

0 Likes

#14

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.

0 Likes

#15

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.

0 Likes

#16

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

0 Likes

#17

Sure. That’s one option. LOL!

0 Likes

#18

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

0 Likes

#19

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

0 Likes

#20

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

0 Likes