|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: swerve drive with arduino mega 2560
If you want trig functions you don't actually need full floating point support: use a look-up table.
http://www.societyofrobots.com/progr...rigtable.shtml BTW there are trig look-ups masked into the Parallex Propeller just for this reason, https://www.parallax.com/sites/defau...anual-v1.2.pdf Page 34. Last edited by techhelpbb : 27-05-2016 at 14:23. |
|
#2
|
||||
|
||||
|
Re: swerve drive with arduino mega 2560
all oof the answers are confusing me, the calculations i can probably figure out on my own, and the whole thing is completely set up except for the code, which is what i need help with. i put the issue in the description of the problem im having. butvtganks anywayb
also, i cant switch the setup of what im using significantly, like using somethingbother than a swerve drive, arduino, ot talons, but i can out thungs on it. also, sorry for the spelling mistakes, im using a touch screen computer and its hard to type correctly |
|
#3
|
||||
|
||||
|
Re: swerve drive with arduino mega 2560
i just realized I didn't put the issue in for lack of time, here is what is going wrong:
i clicked burn bootlegger after doing all previous steps correctly and this came up- Arduino: 1.6.9 (Windows 8.1), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)" avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x03 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x03 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x03 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x03 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x03 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x03 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x03 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x03 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x03 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x03 Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions. This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences. |
|
#4
|
||||
|
||||
|
Re: swerve drive with arduino mega 2560
I'm not sure why you would have to do "burn bootloader." Arduino boards come hot out of the gate ready to go.
Under "tools->board" make sure you have the correct Arduino hardware selected. Then check that you have the correct "com" port selected. Then press the upload arrow and you should be running code. Test this with the supplied examples before trying to upload your own custom code. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|