I want to make a remote control vehicle with a camera that I can drive
around my house.
Aoli wrote:
I want to make a remote control vehicle with a camera that I can drive
around my house.
Are you wanting to use a kit, or build it from scratch?
<https://www.instructables.com/Raspberry-Pi-Remote-Controlled-Car-1/>
On Sun, 20 Jun 2021 21:38:36 +0100, Andy Burns wrote:
Aoli wrote:
I want to make a remote control vehicle with a camera that I can drive
around my house.
Are you wanting to use a kit, or build it from scratch?
<https://www.instructables.com/Raspberry-Pi-Remote-Controlled-Car-1/>
Do you know how to:
- use the Linux OS
- any programming languages, and if so which?
- what sort of programs have you written on other computers?
Knowing this stuff will let us provide more relevant help.
Thank you for your responses.
I can do from scratch or kit, from scratch I would need some guidance
but I do have tools that might be needed except for 3D printing which I
do not do.
I am slightly familiar with Linux but of the higher forms of such like
Mint with a graphical interface.
I can program in C and a little Java. Python looks pretty straight
forward to me. I am proficient programing in Visual Basic Classic (VB6).
What language would I need ?
Martin Gregorie wrote:
On Sun, 20 Jun 2021 21:38:36 +0100, Andy Burns wrote:
Aoli wrote:
I want to make a remote control vehicle with a camera that I can drive >>>> around my house.
Are you wanting to use a kit, or build it from scratch?
<https://www.instructables.com/Raspberry-Pi-Remote-Controlled-Car-1/>
Do you know how to:
- use the Linux OS
- any programming languages, and if so which?
- what sort of programs have you written on other computers?
Knowing this stuff will let us provide more relevant help.
Thank you for your responses.
I can do from scratch or kit, from scratch I would need some guidance
but I do have tools that might be needed except for 3D printing which I
do not do.
I am slightly familiar with Linux but of the higher forms of such like
Mint with a graphical interface.
I can program in C and a little Java. Python looks pretty straight
forward to me. I am proficient programing in Visual Basic Classic
(VB6).
I would be nice to operate the vehicle from a tablet (hopefully android). Tablet is light weight, easy for me to hold and relatively inexpensive.
Aoli wrote:
Thank you for your responses.
I can do from scratch or kit, from scratch I would need some guidance
but I do have tools that might be needed except for 3D printing which
I do not do.
I am slightly familiar with Linux but of the higher forms of such like
Mint with a graphical interface.
I can program in C and a little Java. Python looks pretty straight
forward to me. I am proficient programing in Visual Basic Classic (VB6). >>
What language would I need ?
Martin Gregorie wrote:
On Sun, 20 Jun 2021 21:38:36 +0100, Andy Burns wrote:
Aoli wrote:
I want to make a remote control vehicle with a camera that I can drive >>>>> around my house.
Are you wanting to use a kit, or build it from scratch?
<https://www.instructables.com/Raspberry-Pi-Remote-Controlled-Car-1/>
Do you know how to:
- use the Linux OS
- any programming languages, and if so which?
- what sort of programs have you written on other computers?
Knowing this stuff will let us provide more relevant help.
I am slightly familiar with Linux but of the higher forms of such like
Mint with a graphical interface.
I can program in C and a little Java. Python looks pretty straight
forward to me. I am proficient programing in Visual Basic Classic (VB6).
What language would I need ?
Embedded Linux Primer 2nd Ed (Christopher Hallinan, 2011 Prentice-Hall)
I would be nice to operate the vehicle from a tablet (hopefully android). Tablet is light weight, easy for me to hold and relatively inexpensive. Consider writing your user interface in e.g. php html and javascriptthen you can use a browser on the tablet to access the pi.
You won't like this: Which ever one satisfies your requirements-- you
could install GNAT and code in Ada; or suck up a few GB installing Lazarus/FreePascal.
Python was considered the "native" (as in: meant for beginners) language for the R-Pi...
Thing is, your requirements are so high-level that one can't really
declare for any language. At the very least, you are looking at a multi-threaded application, if not multi-process system (threads exist
within a single process, and depending on implementation, can share information easily; multi-process will require designing some
interprocess communication system/protocol -- unfortunately, the only
OSs for which I was comfortable in IPC are AmigaOS (message ports:
linked lists created by processes to which other processes can append "messages"; since the Amiga used a flat address space, all processes
could access any memory -- messages tended to contain just a pointer to
a buffer) and [Open]VMS (mailboxes to which processes can write/read).
The process that handles the drive motors is probably going to run at a higher priority than one that is handling a camera and relaying video
over WiFi. Higher than both of those might be the process that handles command receipt and return telemetry. It should spend a lot of time just waiting for commands, and some time packaging telemetry packets -- no
busy loops, since that would interfere with lower level processes (a
busy loop could totally block out the motor control process from
responding to forwarded STOP commands).
You may even find that you only want to run the user-interface on the
R-Pi, with it sending commands to multiple microcontrollers (Arduino,
TIVA C, AdaFruit Metro [which uses CircuitPython natively, but can have
an Arduino compatible loader installed]).
Could also be a good place to use PICAXE chips (despite their rather
horrid compiled, unsigned intreger BASIC (but at least the PICAXE BASIC >compiler runs well on an RPI 2B) or even a RaspberryPi PICO.
I bought a Pi4 and now ...
Where can I get the best training on-line to work with the Pi4 hardware
and learn to code for it too ?
I want to make a remote control vehicle with a camera that I can drive
around my house. I am handicapped and do not get around well and just
would like to see what is going on in other parts of the house.
8 "cogs" (cores) running in lockstep, all sharing the 32 GPIO lines.
Nominally a core runs Propeller BASIC interpreter which accesses compiled >code from external memory (there is controller that rotates from cog to cog >allowing access to external memory), but can be loaded with Propeller >assembly code. I believe there is also a C compiler available.
OTOH, if you'd rather go multi-process, then writing a set of co-
operating processes in C that communicate through a block of shared
memory and use semaphores to co-ordinate access is fairly easy,
especially if you have the UNIX Systems Programming book I recommended.
I bought a Pi4 and now ...
Where can I get the best training on-line to work with the Pi4 hardware
and learn to code for it too ?
I want to make a remote control vehicle with a camera that I can drive around my house. I am handicapped and do not get around well and just
would like to see what is going on in other parts of the house.
Re: Training
By: Aoli to All on Sun Jun 20 2021 08:06 am
I bought a Pi4 and now ...
Where can I get the best training on-line to work with the Pi4 hardware and learn to code for it too ?
I want to make a remote control vehicle with a camera that I can drive around my house. I am handicapped and do not get around well and just would like to see what is going on in other parts of the house.
There is a relevant Linux Magazine article.
https://www.linux-magazine.com/Issues/2018/215/RaspPi-Controlled-Toy-Sailboa
It is for building a remote control boat that you can maipulate from your smartphone.
--
gopher://gopher.richardfalken.com/1/richardfalken
No need to go that deep for many apps. My pi runs a multi-process piece
of code that simply uses a file in a small ram disk created for the
purpose.
Obviously in physical terms it is shared memory, but in logical terms
its just a file.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 371 |
Nodes: | 16 (2 / 14) |
Uptime: | 37:31:10 |
Calls: | 7,932 |
Calls today: | 2 |
Files: | 12,998 |
Messages: | 5,805,624 |