Yesterday, we've together converted what we've done/tested using basic frame to advanced framework, with the cRIO project, the first thing we did was the tank drive. We first have to initialize a new joystick port in begin.vi and then call the function in teleop.vi. Then,replace arcade drive function with tank drive function. We've Noticed that the advanced framwork have different seperated vi. instead only have 1 basic robot main. That made the program more organized and can use more advance programming. We''ve also transfer the fake shifting code from the basic framework to the advanced framework, and we actually tested on our new chassis, it works perfectly fine.
Continue today, because 2 buttons are more clarify for the driver and controller. So Chen changed it to 2 buttons fake shifts. Then we also wanted to make a slide bar to control the motor speed to see at what percentage of the motor speed would turn the best. After programmed those, Chen encountered a problem of running the teleop. vi., but later on we figured that if we want to run a vi in advanced framwork, we have to run the robotmain.vi in order to run the whole thing, running just 1 vi wouldn't work. After real testing,the percentage of motor speed for turning would be 85%.
Chen encountered problem of running just teleop. vi. Thinking Hard to solve the problem
New Chassis with the trailor is ready to be tested.
With Ms. Owens' help , Chen seemed to got a little hint.
Erica and Jessica are deploying the program to the robot.