Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - LukeZ

Pages: 1 ... 28 29 30 [31] 32 33 34 ... 78
451
STM32 might also be a good choice, but I already had experience with ARM and the work PJRC has done, especially with the Audio library, has saved us hundreds and probably thousands of hours of work. Because I don't have a lot of free time and no one is paying me to do this I try to use what will be the most direct route to the goal!

If anyone wants to port my code (either the sound card or the TCB) to STM32 that would be an interesting project and they are welcome to do so.

452
Very good! Thank you for bringing this to my attention as it is important to fix any bugs or errors in the code.

I do not think it will be very easy to eliminate the Teensy, but you can try. In addition to the main MK20DX256VLH7 processor which you can obtain anywhere, you can purchase from PJRC a pre-loaded bootloader chip that will give you compatibility with Teensyduino, see this link. There are two options, both have the same functionality, but the MKL02 is smaller in size. You can then follow the Teensy 3.2 schematic to match up the MK20DX256 pins with "Teensy pins."

The designer of the Teensy, Paul Stoffregen, has said before that routing for the Teensy 3.2 was a difficult job and I believe him. However you will not need to use very many pins so that will be some help to you. If you are good at board design and routing I am sure it is possible, but it may not be worth the effort. Already your board design is considerably smaller than mine.

Regardless, keep us updated on your progress!

453
Hi Luckowner. There might be a bug in the sound card firmware, I have posted an update (v0.93.50). Please re-flash your soundcard with this update and let me know if that fixes it.

454
Open Panzer Help / Re: turn and forward problem
« on: June 24, 2019, 05:41:00 PM »
Thank you Juanillor for the videos. They are informative but unfortunately not consistent, so I think we will still need more information.

In the first video (#8717) we can see that you have the throttle and steering channels defined correctly. This is very good. It's true as Rad says the throttle channel is reversed (invertir el canal del gas). But this is not necessarily a problem. The main thing is that when you move the stick forward OP Config says "Forward," which it does.

In the second video (#8718) we can see that the TCB thinks it is permitting you to move forward, reverse, and in neutral turn. Of course I don't know if that is actually what is happening on your model, maybe your narrative will say and if so Rad can understand that.

Now in the third video (#8719) we have the inconsistency. You are able to move forward and backwards, but you are unable to initiate a neutral turn. This is inconsistent with the second video (#8718) where we do see neutral turns, although we don't see what stick movements cause them. Either you disabled neutral turns or made a configuration change we don't know about between video 8718 and 8719, or else you were using a different stick combination that I also don't know about.

Also without being able to see the model I can't tell where actually the problem occurs. 

However I am certain we will fix this eventually with Rad's help.

Another question, can you confirm you have put your XCar 45 ESCs into Crawler Mode? The Wiki describes how. If correct the LED on the ESC will be solid (not blinking).

455
Open Panzer Help / Re: 9x, mode 1, throttle and steering swapped
« on: June 23, 2019, 04:00:08 PM »
Thanks for the comment. Maybe I need to make this more clear in the Wiki, but the process is always to get your radio stick directions mapped correctly in Radio Setup first. After that, swap polarity on your motors so the tank moves in the correct direction.

I think some people have an issue because they do the opposite - they note which way the motors turn after install, then try to change their radio so it will work. This is backwards and can lead to problems.

456
Open Panzer Help / Re: turn and forward problem
« on: June 21, 2019, 10:17:40 PM »
Puedes subirlo a youtube, o mandarmelo por Whatsapp o Telegram, lo que prefieras.

457
Open Panzer Help / Re: turn and forward problem
« on: June 19, 2019, 02:36:07 PM »
sigue igual no gira en recto o hacia atras
But surely it must have made some change?! The controls should not be the same on  your transmitter, or else you did not swap anything.

You can verify that every channel is assigned correctly when you perform Radio Setup. However maybe because of English this video does not make sense. I am confident the problem is very simple but I don't think we are communicating adequately. I will message Rad so that he can see this thread. 


458
Open Panzer Help / Re: turn and forward problem
« on: June 19, 2019, 10:46:42 AM »
Try to switch the throttle and steering channel order numbers.

459
Open Panzer Help / Re: turn and forward problem
« on: June 18, 2019, 05:13:54 PM »
Juan maybe you can explain your problem in detail once more, in Spanish if you prefer, and Rad Schuhart can help us with the translation.

460
Open Panzer Help / Re: turn and forward problem
« on: June 01, 2019, 03:27:33 PM »
actually the neutral turn has a slight problem, which for me is anecdotal.

I already reversed the polarity of an engine this morning, the left as easier to access in the tank, it was not the good has reversed, but the bottom line is that I can move forward or back at the same time than turn.
I will look at this "problem" occasionally, I will keep you informed.
Yes, there is only one way to connect everything that will give correct function in all directions. Most likely you just need to reverse the other motor instead, or reverse one of the radio channels. I am confident you can experiment until it works perfectly, but if you are happy already then just enjoy it!

Most importantly we have confirmed there is nothing wrong with your TCB. Good luck and if you have any more questions don't hesitate to ask!

461
Open Panzer Help / Re: turn and forward problem
« on: June 01, 2019, 07:38:38 AM »
I am very glad to hear it! Often we find the most difficult problems have the solutions most simple. Thank you for your perseverance. I knew we would find the answer eventually.

Hopefully this does indeed help others. I wold be interested to hear from Juanillor what his results have been.

il n'y a juste que le rotation sur place qui fait stick a gauche tank vers la droite mais cela ne me préoccupe absolument pas.
Google did not translate this line very well. It sounds like your turning direction is reversed, but only for neutral turn? You can change polarity of motors or reverse channels in OP Config, but if it turns correctly when you advance, it should also turn correctly in neutral turns.


462
Open Panzer Help / Re: turn and forward problem
« on: May 31, 2019, 05:24:03 PM »
Finally, we have discovered the problem. You have steering and throttle channels mixed. It explains all your symptoms. When you move the stick forward, what you are actually doing is performing a neutral turn. If you had disabled neutral turns you wouldn't even have been able to move forward or backwards.

In OP Config, change Throttle to Order 2 and change Steering to Order 1. That should fix your problem. You will probably also have to change the polarity of one of your motors (just swap the two motor wires).

Let me know how this works.


463
Open Panzer Help / Re: turn and forward problem
« on: May 31, 2019, 02:16:53 PM »
We still have too many variables to make an accurate diagnosis. All troubleshooting requires elimination of possibilities until only the problem remains. Right now we have translation difficulties, radio uncertainty, and possibly though unlikely maybe a TCB bug.

Minet you need to understand how your radio works and exactly what it is doing before we can either A) eliminate the radio as a potential source of the problem or B) fix whatever is incorrect about the radio setup. Keep experimenting. It would be best if we could use something other than tanker9x but right now you are not yet proficient at other operating systems, so that needs to be addressed.

In the meantime, here is another test firmware to try on your TCB (see below). With this version you will now see 4 columns in Snoop while driving:
Drive Command - [Drive Speed] - Turn Command - [Turn Amount]

The Commands are what the TCB recognizes from your radio for the channels you have assigned to throttle and steering. The drive speed and turn amount are what the TCB has decided should be the output - they don't always equal the command because you might have inertia enabled, or speed limits, etc... In the screenshot below you can see that I am moving forward and turning left. Negative turn values mean left, positive turn values mean right. Negative drive values mean reverse, positive drive values mean forward.

Try moving forward and turn at the same time and take a screenshot. Maybe this will tell us something useful.

464
Open Panzer Help / Re: turn and forward problem
« on: May 30, 2019, 04:54:09 PM »
To be clear - do you see both turning and advancing at the same time in OP Config? Or does it appear the turning channel remains stationary while advancing the throttle channel?

465
Open Panzer Help / Re: turn and forward problem
« on: May 30, 2019, 03:11:50 PM »
It would probably be better to just create a new model in er9x rather than use my setting file, because my file probably has something different that doesn't work on your transmitter, or maybe it was made in a different version of er9x.

Alternatively you can try to figure out what the problem is with tanker9x and undo whatever mix or setting is preventing the turning from working.

With tanker9x on your transmitter, connect to OP Config and click Read Radio on the Radio tab. Now move the throttle stick forward and move the turn stick. Do you see the channels moving on the screen correctly? Or is the turn channel ignored when throttle is active?

Pages: 1 ... 28 29 30 [31] 32 33 34 ... 78
bomber-explosion