Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Code changes not deploying to robot? (http://www.chiefdelphi.com/forums/showthread.php?t=133652)

Dinnesy 30-01-2015 12:08

Re: Code changes not deploying to robot?
 
Quote:

Originally Posted by notmattlythgoe (Post 1436093)
Oops, that should be (0, 1) not (0, 10).

yea, i figured that out myself lol. However it still did not fix the problem, which is rather weird.

notmattlythgoe 30-01-2015 12:11

Re: Code changes not deploying to robot?
 
Quote:

Originally Posted by Dinnesy (Post 1436094)
yea, i figured that out myself lol. However it still did not fix the problem, which is rather weird.

Hmmmm, that should have reversed it. Can you make sure the code saved and try it again?

Dinnesy 30-01-2015 12:26

Re: Code changes not deploying to robot?
 
Quote:

Originally Posted by notmattlythgoe (Post 1436095)
Hmmmm, that should have reversed it. Can you make sure the code saved and try it again?

I tested it with a System.out.println("Hello world"); and I can confirm that the code is being deployed.

notmattlythgoe 30-01-2015 12:29

Re: Code changes not deploying to robot?
 
Try this:

Code:

myRobot.arcadeDrive(stick.getY(), stick.getX());
If that doesn't work try:

Code:

myRobot.arcadeDrive(stick.getY(), -stick.getX());

Dinnesy 30-01-2015 12:50

Re: Code changes not deploying to robot?
 
Quote:

Originally Posted by notmattlythgoe (Post 1436111)
Try this:

Code:

myRobot.arcadeDrive(stick.getY(), stick.getX());
If that doesn't work try:

Code:

myRobot.arcadeDrive(stick.getY(), -stick.getX());

That fixed the problem! thank you so much for all the help :D

IF you wouldn't mind me picker your brain a little longer however, I notice that when We Drive the robot forward, the right motor turns starts sooner and goes faster, and when we drive it backwards the left one starts sooner and goes faster.

Could this be because we have all the motors motors hooked up with the same polarity, thus when one side of the motors are going forward, the other side's motors are technically going backwards causing a slight delay?

notmattlythgoe 30-01-2015 12:50

Re: Code changes not deploying to robot?
 
Quote:

Originally Posted by Dinnesy (Post 1436128)
That fixed the problem! thank you so much for all the help :D

IF you wouldn't mind me picker your brain a little longer however, I notice that when We Drive the robot forward, the right motor turns starts sooner and goes faster, and when we drive it backwards the left one starts sooner and goes faster.

Could this be because we have all the motors motors hooked up with the same polarity, thus when one side of the motors are going forward, the other side's motors are technically going backwards?

That is exactly correct.

Dinnesy 30-01-2015 13:11

Re: Code changes not deploying to robot?
 
Alright. Did As I said I would and everything works great. I'd like to thank you a lot a lot as well as everyone else who gave us a hand with our issue. :)

notmattlythgoe 30-01-2015 13:12

Re: Code changes not deploying to robot?
 
Quote:

Originally Posted by Dinnesy (Post 1436143)
Alright. Did As I said I would and everything works great. I'd like to thank you a lot a lot as well as everyone else who gave us a hand with our issue. :)

Absolutely. If you need anything else create a thread and shoot me a PM to let me know its there.


All times are GMT -5. The time now is 13:07.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi