I’ve built several robots before on the common RF system. This is my first foray into autonomy.
I want to do one of the following:
- use a USB gamepad on my laptop, to control an arduino over bluetooth.
- Natively via processing (using analog joystick, center off, with intermediate positions between the axis’s) ← would prefer (similar to this)
- mapping keyboard letters to each button into putty (press button to move, press another for stop) ← seems easiest for this newb to program, and would also allow me to use my phone on the run, when I don’t have laptop.
- have the arduino to recognize all 6 channels of my RF receiver separately, which I don’t think is possible? (plus I read that it can create electrical noise?)
Additionally, I want to be able to flip it from manual control to auto-pilot, on the fly, then flip it back to manual, still on the fly (i dont mind if I have to stop movement- i just dont want to have to interact with it by hand). In essence, I’m building a platform I’m used to (with having remote control), but I also want it to be autonomous if I send a command to run a stored program. I.E., since it will be a transport bot, I could drive it to a location by hand, then run a stored program that would remove the cargo container from the chassis, set it on the ground, and open it, hold it open for X amount of time, then close it, return it to the chassis, and drive off (and restore manual control). OR, if an anomaly occurred during the auto-pilot, I could do an instant interrupt (canceling the stored program), and do the same commands manually.
I would think it wouldn’t be too difficult to do, but I’m new to this, so I don’t know what’s simple and what’s difficult.
How can I do this?
The robot I plan to build will consist of the following (tank style):
2- 12VDC 2 amp drive/4 amp stall drive motors (using suitable PWM-input motor drivers)
1- 12VDC 2 amp drive/4 amp stall winch motor (using suitable PWM-input motor driver)
3- standard RC servos
1- stepper motor
2 proximity sensors
3 limit switches
power (or “kill” switch) to physically remove battery power