Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Cannot move robot (http://www.chiefdelphi.com/forums/showthread.php?t=109531)

Joe Ross 21-11-2012 21:25

Re: Cannot move robot
 
Quote:

Originally Posted by Butter's (Post 1194372)
No error on console, and I was able to FTP into the robot fine. However, which directory is it in on the cRio?

For java, it's in ni-rt/system/ and called robot.suite

Butter's 21-11-2012 22:55

Re: Cannot move robot
 
Ah, thank you. I'm guessing I should try deleting this file & re-downloading when I get back from break.

Butter's 26-11-2012 14:17

Re: Cannot move robot
 
Just want to quickly add after a few days of debugging the problem was resolved!

Thanks everyone who replied / helped out.

Joe Ross 26-11-2012 14:50

Re: Cannot move robot
 
Quote:

Originally Posted by Butter's (Post 1196129)
Just want to quickly add after a few days of debugging the problem was resolved!

What was the solution?

Butter's 26-11-2012 15:57

Re: Cannot move robot
 
It was a mix of problems.

First one I found was when I added the compressor in the code (To test if it was jaguars or something else), I made a typo in the port. So it was (1,1), which resulted on a start up error.

After that I found a robot specific issue I'm too lazy to write about, and I forgot the other one... I guess I was too excited that I fixed it :p

Ether 26-11-2012 16:08

Re: Cannot move robot
 
Quote:

Originally Posted by Butter's (Post 1196162)
I found a robot specific issue I'm too lazy to write about

Some friendly advice? If you come to CD asking for help, you should be willing to share what you've found when you figure it out. It's considered the courteous thing to do. Others may benefit from your experience.



Butter's 26-11-2012 17:28

Re: Cannot move robot
 
I was hoping it wouldn't be a large deal :/ . I myself only found what the problem was (had to go to class), I didn't fix this exact one. I could ask the guy tomorrow what he did. The most I know was the problem and how I assume he fixed it. Lazy probably wasn't the proper word to explain that.. Sorry!

279 EMPIE 06-12-2012 13:39

Re: Cannot move robot
 
Im not 100% sure but i thought the Jags showed a green Light for Forward, Red Light for Revearse, and a orange Light for nothing because if im right about that your Jags would not be reading anything in the code.

If they are not reading it could be a couple reasons:

1. I would check to make sure you have the ports right Digital Module should be in Slot One or Two not sure which, and on the Side Car the PWM port need to be put in right. In the program your code should have:

public Jaguar Jag1 = new Jaguar(1,(PWM Port Number));

2. There is something wrong with your code and i cant help with out seeing it.


If the Jags are being read by the code and are still not working, make sure that you set Jags. This means you use a paper clip on the jag reset button untill it blinks then you run your robot full speed forward and full speed backwards then it should set it self. <-- this is the way we fixed are robot jags two years ago

279 EMPIE 06-12-2012 13:42

Re: Cannot move robot
 
I should read next time :P ^^^


All times are GMT -5. The time now is 11:33.

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