13
votes
Accepted
what is the algorithm to get position (Linear displacement and linear velocity ) using IMU (Like MPU6050)?
I thought for sure that there would have been a duplicate question somewhere on the site that answers this question, but I can't find one, so here's a quick description of the method.
Put your IMU in ...
4
votes
How to design a controller for a robotic arm given two velocity profiles
At a high level, you would need to do something like this:
Create a kinematic chain the helps you map from the 2D configuration space (the position of the linear actuators) to the 3D task space (the ...
4
votes
Extended Kalman filtering for IMU and Encoder
EKF sensor fusion is achieved simply by feeding data streams from different sensors to the filter. So all you need to do is setup your implementation to accept both encoder and IMU data. This is ...
4
votes
Accepted
How to control ESC from Arduino?
There are quite a few issues I see with your setup.
You are setting up the ESC in your code to use pin 9, but your diagram shows that you've connected to pin 8. Pin 8 won't do anything because the ...
3
votes
What other equipment or hardwares I should buy along with raspberry pi
First, it is important to understand the differences between the Arduino and the Raspberry Pi. You can read more here and here.
The Arduino is a microcontroller. It is a specialized board that ...
3
votes
How to access Raspberry Pi over wifi?
To access your RPi over the WiFi, you can use any SSH client like PuTTY.
Once you have established a connection between your RPi and computer, then you can control GPIOs through a TCP connection. ...
3
votes
Accepted
Unlabelled pins on this L293D dual DC motor driver
A Google Image search on L293D board suggests that this is a widely available board manufactured by (or at least designed by) Deek-Robot.
The 5 pin connector mostly duplicates pins on the 6 pin green ...
3
votes
gear motor with encoder and Arduino Uno
The motor should not be connected directly to your power source since this will not allow it to be controlled by the Arduino. The encoder is a passive add-on to the motor (mechanical coupling only). ...
3
votes
Accepted
Recommended building materials for building a robot WITHOUT 3D printer?
With consideration cheap, strong enough, not ugly and easy to shape, then my recommendation is you can use clipboard. I have seen people win international robotic competition with robot made using ...
3
votes
Accepted
When reading serial data between Arduino and a node, it hangs. How can I properly send and read data?
I found what I believe is a relevant answer here, and I think it's relevant because of the following lines in your serial_server.py file:
...
2
votes
Can't Read current on Pololu Dual MC33926 Motor Driver Shield for Arduino
I know this thread is old but it's high on Google results and I would like to clarify for anyone who stumbles upon it in the future an answer not yet listed: this chip is not designed to read current ...
2
votes
How to program a continuous servo motor? (Arduino)
I believe by continuous rotation servo you mean servos similar to TowerPro MG-995 or Winch Servo HS-785HB.
For such servo, the normal Arduino code for servo motors won't work.
You have to define
<...
2
votes
For a beginner who wants to learn lots is it better to use a PIC and start from there or to use something like a Arduino?
Assuming by PIC you meant the Microchip PIC
Because you are a beginner - it is suggested you copy rather than invent solutions to your yet to be discovered problems. It follows that Arduino is the ...
2
votes
How would i go about learning to code a flight controller?
Steps one should take to eventually write a flight controller software:
Step 1
Learn the mathematics and physics laws behind the airplanes, helicopters, multi-rotors, etc.
Step 2
Learn electronics.
...
2
votes
Accepted
Path of the robot
One of the ways to do path tracking is by indoor mapping. In indoor mapping you can use Triangulation method. Basically, this method uses the help of Relative Received Signal Strength (RSSI) from ...
2
votes
What is the best way to turn in 2WD simple differential drive line following robot?
Your question is a little bit fuzzy. You achieve different results with these two turning scenarios.
If you keep one wheel stopped the the radius of the curve (turn) you make equals the robot width ...
2
votes
Probably basic question about how control a DC motor
Since the encoder with that motor is an incremental encoder, you would have to keep track of the motor position constantly.
If you really want to go to a home position, you'll need another sensor, ...
2
votes
Can the A* Algorithm be implemented on an Arduino easily?
You're welcome to steal the AStar class from my C++ highway driving project.
https://github.com/ericlavigne/CarND-Path-Planning
I used AStar to control a car driving on a simulated highway with ...
2
votes
Accepted
How to use tensor flow on arduino robot
The Arduino is a microcontroller and not a "full" computer. (See my other answer here.) As such, you will have a difficult time running TensorFlow on the Arduino.
Deploying TensorFlow, or another ...
2
votes
Accepted
Arduino RC Kids Ride-On car: wiring help needed
I suspect that you will need a more powerful motor controller. This one is a 10 amp controller, and I suspect that the motors will have a higher stall amperage than that.
The RoboClaw 2x30 amp motor ...
2
votes
Robotics RC Car hack help
I'm fairly certain you can't control a DC motor solely by plugging it into pins on the Arduino. You could use a diode and a transistor to power the motor, however you cannot control the speed. To ...
2
votes
Accepted
Which motor to use for self-balancing-bot?
40 degrees is pretty good. I believe that you need motors with more torque as well as more speed. Which means that you may also need a new motor controller.
The motors
I don't have the information ...
2
votes
Accepted
Controlling a dc servo with serial communication
You need to read and understand that datasheet.
This board does not have addressing, so without additional hardware you can only have one per serial port.
For a demonstration, use a USB-Serial cable ...
2
votes
Servo motor power consumption issue
Firstly consider the servo torque limitations, if loading increase from specified limit the it start stalling and even can gear get fail and burn servo itself, possibly.
And another concern is with ...
2
votes
Getting error on serial monitor when using serial controlled motor
Welcome to Robotics, Sam. You've posted your code and the errors you're getting, which is great. There are still a few pieces of information lacking, though. Unfortunately, it looks like the "...
2
votes
Serious about robotics programming, should I start with an Arduino?
Arduino boards are simple microcontroller boards that are a good complexity for learning. The arduino IDE hides the details of typical bare metal microcontroller development, but not in a bad way.
...
2
votes
Problem with tuning PID for motor
Your goal is a bit unclear. In the sense that you don't really care about your motor control input, what you want is a given rotational velocity. the pid is going to give you the command (motor input) ...
2
votes
Problem with tuning PID for motor
Welcome to Robotics, Bloopie Bloops! You haven't stated what platform/language this is, so I'll just give some illustrative pseudo code. As Mark Booth mentioned, the typical way to evaluate/critique ...
2
votes
Accepted
Path Planning code
I think your problem revolves around the line:
float currentHeading = startingHeading + beaconHeading;
The beacon heading has nothing to do with the current ...
2
votes
Control a DIY Robot Arm Kit Educational Robotic Claw Set with ROS
The answer is a resounding 'yes'. Check out this ROS package here.
You'd have to get a little creative with your code to control all of your servos, but I think you're good to go.
Good luck!
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
arduino × 898rosserial × 235
ros × 197
motor × 59
quadcopter × 54
raspberry-pi × 48
pid × 45
microcontroller × 44
control × 43
sensors × 40
serial × 35
mobile-robot × 34
ros-kinetic × 27
robotic-arm × 27
imu × 25
servomotor × 25
rosserial-python × 25
stepper-motor × 23
wheeled-robot × 20
rcservo × 19
communication × 17
navigation × 15
c++ × 15
matlab × 15
ros2 × 14