Skip to main content

Questions tagged [microcontroller]

A small computer on a single integrated circuit containing a processor core, memory, and programmable input/output peripherals.

Filter by
Sorted by
Tagged with
0 votes
1 answer
23 views

install micro-ROS on Windows?

I am trying to install micro-ROS on Win10, do you know if it's possible? If yes, can you link me a tutorial? I suspect it might not be possible.
0 votes
1 answer
11 views

Response plan when data is not received from a peripheral device with a probability of 1/2 during spin

I am using micro-ros. The distance value is being received from lidar. To be precise, the data value is received through UART communication before spinning and the data value is output when spinning. ...
0 votes
0 answers
5 views

While the executor is running, where should the process of reading UART data occur? (callback? loop including spin?)

I'm using micro-ROS. The executor is running through spin, and the callback function is triggered by timer conditions to deliver messages. I wanted to add lidar data via UART here. However, I noticed ...
0 votes
2 answers
10 views

Drive rc car using the commercial ESC

ROS : Melodic OS : Ubuntu 18.04 RC Car : ZD Racing 10427s I am trying to build my first automated rc car. I am currently designing the actuation module that will take the "geometry/twist" ...
0 votes
1 answer
59 views

Esp32 stop receiving data through microros

I am facing some sort of communication issue as follows.... Problem Description: I am facing difficulties when attempting to run three ESP32 devices simultaneously, each connecting to a MicroROS agent ...
0 votes
1 answer
49 views

how to get information about goal of action

I learned to generate trajectories while working with ros2_controller. I want to take a closer look, find the goal in /execute_trajectory/_action/ I can only check ...
0 votes
1 answer
355 views

Cannot locate rosdep definition, error on micro-ROS

I'm trying to set up micro-ROS on Ubuntu 20.04 using this website, and connect ESP32 to ROS 2. However, when executing the command ...
25 votes
5 answers
29k views

Is it possible to run a neural network on a microcontroller

Could you implement a simple neural network on a microprocessor such as the Arduino Uno to be used in machine learning?
0 votes
1 answer
44 views

Three finger robotic arm history

I have a picture with robotic arm which comes from lego video (Lego Mindstorms Robotics Invention System 2.0 tour) and I was wondering when and where it was created. Very interesting stuff. It was ...
0 votes
1 answer
111 views

Micro ROS build stuck after step one in raspberry Pi 3

I am running ROS2 Humble on my Raspberry Pi 3 and I also have a Raspberry Pi Pico running micro ROS. I am trying to install the micro ROS agent on my RPi3. The snap version of the micro ROS agent did ...
0 votes
1 answer
133 views

Can't subscribe and check the content on micro-ROS

I'm trying to set up micro-ROS on Ubuntu 22.04 following the steps on this website, and connect ESP32 to ROS2. However, though the connection is established (Step8 on this website), it can't subscribe ...
0 votes
0 answers
29 views

Robot Control Algorithms for Precise Positioning

I am currently researching the optimal controller algorithm to navigate my robot to a specific x and y position within a specific coordinate frame with a high degree of accuracy, approximately 5mm. ...
0 votes
0 answers
9 views

Accuracy of PTZ with Permanent Magnet Synchronous Motor (PMSM)

For my project I need a pan-tilt system able to provide 0.1° resolution or better. I do have my own solution based on stepper motors with planetary gear for low backlash and 0.05°. However, I designed ...
0 votes
1 answer
261 views

Convert ROS2 package from Humble to Foxy

I'm currently attempting to utilize the Nav2 Rotation Shim Controller package for Foxy, but unfortunately, it's not working. The package is only available for Humble but I'm depending on Foxy for my ...
0 votes
0 answers
268 views

Using micro_ros_arduino with ESP32 with wireless ROS system

I am retired and programming has always been a hobby but also my College Degree in Game/Simulations (90%). So I am familiar with a lot of programming as I used it in work for some development/problem ...
0 votes
0 answers
21 views

Do you know someone who has written a microROS agent for the OpenCr board?

We are using the turtlebot3 hardware components in our group. Now we want to implement our own tech stack. For this we want to build a micro ros agent on top of the opencr firmware - foxy devel branch....
2 votes
2 answers
588 views

How to control a dc motor

I have 2 of these 12v motors and a 12v battery http://www.enigmaindustries.com/Motors/Bosch_EV_Warrior.htm I would like to know what the best solution for controlling this motor with an Arduino Uno ...
0 votes
1 answer
7 views

Start state does not change according to current state

Hi, I'm having trouble controlling a real robot with this package. The robot can connect and move normally, but the problem is that the robot's start state does not change according to the current ...
0 votes
2 answers
37 views

How to calculate the required amount of flash memory when buying a microcontroller?

I'm going to buy the first STMF32103 series microcontroller, but I don't know how to calculate the required flash memory size. Tell me how to calculate the memory required size of flash memory for ...
1 vote
3 answers
3k views

Uploading a trained ANN to an ESP32 board

I am working on a project that requires training a neural network with humidity and temperature values. After spending a while googling on how to run a neural network on ESP32 (Wemos LOLIN D32 Pro), I ...
0 votes
1 answer
117 views

[Nav2] Suggestions around single plan - controller only reactive navigation

Hi! Reading through some notes and material around nav2 I found a couple of mentions to a navigation setup often referred to as “reactive navigation”, which takes out continuous re-planning from the ...
0 votes
1 answer
69 views

Waiting for joint_group_position_controller/follow_joint_trajectory to come up

Hi, I am using dobot cr5 with this package and want to control in realtime arm servoing tutorial, but found the following problem ...
0 votes
2 answers
94 views

Reliably enabling/disabling a PID loop via FSM in a microcontroller

I have a PID loop for a small vehicle implemented in a microcontroller. Currently the PID loop is implemented in a timer interrupt. I want to implement an FSM that will have states that enable or ...
0 votes
1 answer
686 views

Pico W does not connect to my phone's hotspot

I am trying to connect my Pico W to the hotspot that I have. The password and the name of the hotspot are in a file called "secret." I found the code online and when I try to run the code ...
0 votes
0 answers
65 views

Pi Pico - HC05 AT commands don't work

I am trying to set up a Bluetooth communication between two pi pico devices using HC05s. I am trying to make the two HC05s connect and I read that you need to set up Master/Slave configurations using ...
10 votes
4 answers
19k views

Control both Velocity and Position (Linear actuator)

I am trying to control the velocity + position of a linear actuator. At this moment I am able to control the position or the velocity. But I'm trying to control both. What the control has to do: Let ...
0 votes
1 answer
33 views

Do ros2 have available four_wheel_steering controller?

Hi! Sorry for all mistakes, English is not my native language. So, I have four wheeled robot on ROS Noetic and I trying to port it on ROS2 Galactic. One of my main problems right now is I can't find ...
0 votes
1 answer
277 views

Nav2 not rotating to goal

Hi! I am struggling with making my robot reach the goal. I get to it easily in pose, but not in orientation. After I get to the goal in pose, the robot struggles to rotate towards the correct ...
0 votes
1 answer
93 views

Nav2 DWB Controller Trajectory Critics explanation

Hi! I don't really understand how the DWB Controller Trajectory Critics work. I understand that they are like settings that define how the robot should follow the path created by the Planner server ...
1 vote
1 answer
358 views

Does RoboRIO support Java 8?

My FRC team will recently upgrade from CompactRIO to RoboRIO. CompactRIO only supports up to Java 1.4. What version of Java does RoboRIO?
0 votes
1 answer
28 views

[bt_navigator]: Action server failed while executing action callback: "One of the children of a DecoratorNode or ControlNode is nullptr"

For a bit of context : I'm not fully understanding how the nav2 package work so I might be inacurate, feel free to correct me ! I'm using ros Foxy on ubuntu 20.04, rviz2 and gazebo 11. My goal is to ...
0 votes
1 answer
34 views

How can I read bluetooth data with ROS Noetic?

I am working with a KUKA KR5 arc HW-2 manipulator in Gazebo, I created the URDF model and all the necessary drivers to be able to move it, what I would like to know is if it is possible to use an Xbox ...
0 votes
1 answer
30 views

As long as features are same does MCU Case Style make a difference?

I recently got into the field of Microcontrollers and it is my first time buying a custom one (other than arduinos and rasp pis) and I noticed these 2 on the shopping pages… My question is that since ...
0 votes
1 answer
2 views

How to connect ROS with my Parallax microcontroller?

Hi, I have almost no experience writing sorts of serial communication protocols. So far, I have been using rosserial but I keep running into an issue where it states [ERROR] [1550568650.647942]: Lost ...
12 votes
5 answers
2k views

Starting out advice on making robots and tinkering with microcontrollers [closed]

I'd like to start making robots and tinkering with microcontrollers. Where do I start, and what do I need? I'd like to make my own robots. I'm comfortable with programming (assembly and C) so I've ...
1 vote
1 answer
226 views

robotics as a beginner [closed]

I want to begin robotics.So as a beginner what micro-controller would be convenient?Arduino or PIC?what type of robots can be built with arduino or PIC? Should I start from just a line-following ...
0 votes
1 answer
110 views

What is a PID as is related to quadcopters [duplicate]

I'm trying to make a Quadcopter from scratch, I have a fair amount of experience with adruinos, and I'm trying to understand how to necessary systems work, and I can't seem to figure out what PID ...
0 votes
1 answer
62 views

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?

For a beginner that wants to learn how to build robots and learn as much as possible is it better to use a PIC and start from there or something more like an Arduino? I ask because I have this book ...
2 votes
2 answers
165 views

Microcontrollers and Python

So I am fairly new to robotics however I do have some background with the python coding language. Recently I set myself the task of learning some basics for robotics just to increase my knowledge base....
1 vote
2 answers
94 views

Which part handles the acceleration of stepper motors?

I am learning about stepper motors. I am especially interested in them in CNC machines and 3D printers but also in general. I learned already that stepper motors need signals to accelerate and ...
0 votes
0 answers
66 views

Jetson tx2 to Teensy 3.6 Serial communication issue

I am trying to establish serial communication between Nvidia Jetson Tx2 and Teensy 3.6. Using pyserial, while reading the data sent from Teensy 3.6 on Rx pin on the Jetson, I come to an error that ...
0 votes
1 answer
57 views

Multidimensional obstacle avoidance

Artificial potential barriers are known that allow robots to avoid obstacles. They are constructed as follows. https://authors.library.caltech.edu/106548/1/2010.09819.pdf Can you please tell me how ...
0 votes
1 answer
5 views

Error with real UR5e connected via 5G

I have script that controls UR5e using haptic device, it works perfectly connected directly using ethernet, but it doesn't work when i use 2 5G routers (arround 70ms ping). When i launch ur5e_bringup ...
0 votes
0 answers
88 views

Find viscous friction for DC motor transfer function

How do I find the viscous friction for my DC motor without measuring the input current and output torque. I have to do a theoretical model on simulink and can't find any answers on how to find it
5 votes
4 answers
13k views

How would i go about learning to code a flight controller?

I'm interested in quadcopters/multi-rotors and want to eventually code my own flight controller ala an APM and/or Pixhawk. I've got a little experience in programming (i.e i know about if/else/else if ...
1 vote
1 answer
107 views

What devices can I use as a flight controller in a Quadcopter project? [closed]

I know that the flight controller is the heart of the quadcopter and a device which has to be considered greatly when building a quadcopter project. In regards to this quadcopter project that I'm ...
0 votes
1 answer
21 views

MultiRobot MoveIt controller management

I'm currently working on a multirobot system based in two UR3e, each one with a gripper attached. So far I've managed to build a single URDF file with the whole system. Now I'm working on the MoveIt ...
0 votes
1 answer
7 views

Why doesn't the nav2 controller plugin API have a method for failing?

I have another question about the design choices of nav2. Specifically, I'm wondering why the controller plugins (nav2_core::Controller) don't have a mechanism for ...
0 votes
1 answer
4 views

Why not allow for dynamic goal checker plugins?

Looking through the code, I'm wondering why nav2_controller::ControllerServer doesn't allow for dynamic goal checker plugins like it does for the controller plugins....
0 votes
1 answer
4 views

Why is SimpleGoalChecker so simple?

Hey guys, I'm trying to understand the intent behind some of the design choices of nav2_controller::ControllerServer and ...

1
2 3 4 5
7