Skip to main content

Questions tagged [real-time]

Real-time software is one with tasks that have critical timing requirements. Failure in delivering results within the timing requirement results in catastrophe at worst and uselessness of the results at best.

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

Controlling a Commercial CNC Machine with ROS

I am working on a project to use a 3D camera to monitor a free-moving object as it is being operated on by a cnc. If the object happens to move, the camera will monitor that movement and will adjust ...
Hauligali22's user avatar
0 votes
0 answers
12 views

Latency spike in real time application (robotics arm)

I have set up my real time kernel Preempt_RT ( 5.15.0-1063-realtime) with Ubuntu pro. When I run ping test, I always got high max latency at 1.5 to 4ms, which is not ok, it has to be less than 1ms ...
bot24's user avatar
  • 1
0 votes
1 answer
33 views

Robot Blinking Like an UFO in RViz and Costmap Issues, Potential Problem with odom to base_footprint Broadcast for Real Robot

I'm experiencing an issue with my ROS2 setup where my robot appears to blink like a UFO in RViz, and the costmap blinks intermittently. Here’s a detailed breakdown of my situation: 1 - Setup I have a ...
Marcus Vinicius's user avatar
0 votes
0 answers
42 views

How to modify the parameters of ROS 2 in real-time?

We know that parameters can be adjusted dynamically in ROS, for example, when using the TEB local planner, the parameters can be dynamically adjusted. In ROS 1, I did this: ...
user38253's user avatar
2 votes
0 answers
21 views

Coordinating long-running actions with independent threads [closed]

Basically, some things have real-world durations that need to be accommodated. For example, moving a servo arm 180° will take a significant number of milliseconds. What is the best practice for ...
RoUS's user avatar
  • 121
0 votes
1 answer
40 views

Time synchronization

I have a robot receiving images from a camera. Now, there is a denso device for time synchronization so that we get correct time stamping between of the camera frames. I am not sure what does that ...
Avv's user avatar
  • 105
0 votes
2 answers
205 views

Best practices for real-time capabilites in ROS2

We are designing the software stack for an autonomous racing vehicle. The high speeds require good real-time capabilities of the software stack. Are there some resources on best practices or tutorials ...
user avatar
3 votes
1 answer
2k views

Why does ROS2 claim to be "real time"?

ROS2 uses DDS, in the wiki it says that DDS is "The Data Distribution Service (DDS) for real-time systems is an Object Management Group (OMG) machine-to-machine (sometimes called middleware or ...
Ricardo Casimiro's user avatar
0 votes
2 answers
111 views

How to keep a sensor pointed downward

I am using LIDAR to measure a robot's altitude. The robot's orientation relative to the ground is dynamic; i.e. the XY plane tilts relative to the Z axis. I would like the LIDAR to remain pointed ...
grahmW's user avatar
  • 1
0 votes
1 answer
201 views

Robots and RTOS

Many computing platforms used by robots are not real time(ex Jetson). How are real time constraints handled in real robots? Are all software transfered into a hardware solution with real time ...
FourierFlux's user avatar
1 vote
1 answer
1k views

Is it possible to use ROS2 real-time on a computer and connect to the robot actuator using a CAN bus?

I am using ROS2 real-time (still a lot to learn) to implement the various control element of my robot : SLAM, path planning, controller, etc... For the first step of prototyping we would like to build ...
Dawi's user avatar
  • 43
0 votes
1 answer
68 views

control real-time processes with ROS/ROS2 on multicore system

I was wondering if it would be possible to replace a PLC running real-time processes completely by an IPC running Linux and ROS or ROS2. We have already experience in running an ethercat master at 1ms ...
user avatar
1 vote
1 answer
104 views

Real Time Motion Control [closed]

How is real time control normally handled? Do you run a separate motor control unit which has its own RTOS or is there some other way?
FourierFlux's user avatar
0 votes
1 answer
2 views

Why rttest allocates 8GB of memory?

Hello, i'm going thru rttest ulitity and was wondering why "lock_and_prefault_dynamic()" always locks 8GB of heap memory? Steps to reproduce: Build as described in README.md Set unlimited ...
user avatar
0 votes
1 answer
11 views

What does real-time safe means?

Hi, I have read some ROS tutorials and articles on the web referring to "real-time safe". I do know what "real-time" means but I don't know what "real-time safe" means. ...
user avatar
0 votes
2 answers
125 views

PID control loop and feedback acquisition synchronization

In many real-time PID control loop application I have seen that the control loop is triggered exactly as the ADC interrupts arrives in order to achieve maximum synchronization between feedback ...
Roberto Maisto's user avatar
0 votes
0 answers
300 views

Planning minimum snap trajectories

I am working on motion planning algorithm for quadrotor. As I have learned in Coursera Aerial robotics course, trajectories for quadrotors should minimize snap which is equivalent to interpolating ...
Long Smith's user avatar
1 vote
0 answers
125 views

Real-time python reinforcement learning library

I'm looking for a reinforcement learning library that can be used for real-time robot control. What I first had in mind was ROS to describe the robot, Mujoco to simulate physics, and OpenAI gym to ...
makons's user avatar
  • 111
2 votes
1 answer
313 views

What is the best adaptive controller for robotic arms?

I have a question that lays on practical experience. What is the best adaptive controller for a robotic arm? Self Tuning Regulator (STR) Model Reference Adaptive Controller (MARC) Adaptive Model ...
euraad's user avatar
  • 311
0 votes
1 answer
127 views

Head movement using gyroscope

I have a headset that provides 3 axis gyroscope readings. I wish to find out movement of head for e.g. if a person is nodding left to right etc. But the headset give me values in angular velocity for ...
Nihal Karne's user avatar
0 votes
1 answer
23 views

ROS2/pendulum demo (and rttest/example_loop) get killed if 8GB free RAM is not satisfied

Hi ! I am using Ubuntu 16.04 with a real-time patched kernel (4.14.93-rt53). I have tested my system with cyclic tests and am happy about the realtime performance. I have built and installed Ros2 (...
user avatar
3 votes
1 answer
194 views

How can I measure latency in a CAN bus?

Given a CAN bus with one master and any number of motor drivers, is there a way to measure the time between sending a command from the master (e.g. a PC running ROS) and the execution of the said ...
mohsen's user avatar
  • 31
0 votes
3 answers
176 views

The reason(s)/benefit(s) to use realtime operating system instead of while-loop on MCU

I'm working on a wheeled-robot platform. My team is implementing some algorithms on MCU to keep getting sensors reading (sonar array, IR array, motor encoders, IMU) receive user command (via a ...
Qiao's user avatar
  • 121
0 votes
1 answer
31 views

RTnet vs CORBA transport

What is the difference between this two. And which should i choose for hard real time control purpose? What are the cons and pros of them one to another?
user avatar
1 vote
1 answer
206 views

controlling industrial servo with pc

these days I'm learning Orocos patched with xenomai. Although I have found the ways to create a hard real-time control software, I didn't find any information on how I should use this to control the ...
user avatar
0 votes
0 answers
229 views

Required library XENOMAI NOT FOUND

I am following this tutorial to install orocos in my system with ubuntu 16.06, xenomai 3.0.5. But i'm getting error: ...
user avatar
1 vote
0 answers
107 views

rtt-exercise building error-orocos-toolchain

I am using ros kinetic in ubuntu 16.04. My first error is: ...
user avatar
0 votes
1 answer
128 views

hard realtime signal processing

I am going to realize a real time monitoring system for medical care and finally the system should make phone calls according to the severity of the result , I would like to know is it best to perform ...
Abyr's user avatar
  • 5
2 votes
1 answer
751 views

Real time implementation of EtherCAT master with ros_control

I want to control a motor using EtherCAT protocol. 1. I used IgH ethercat master to control motor in hard real time (1 kHz). 2. Later I want to integrate this in ros_control with hard real-time ...
Piyush's user avatar
  • 21
2 votes
4 answers
809 views

Path of the robot

I have built a simple robot which will move from a source to destination. I want to record a 2d path which the robot has taken in real time. Something which is similar to the image I have take.(...
Anurag A S's user avatar
3 votes
2 answers
1k views

Robot Calibration using DH parameters

I'm new in robotics. My problem is the next one: I have a 6DOF robot manipulator and because the implementation was for real-time application my calculation time had to be really fast so that I used ...
Paul Tumbaco's user avatar
1 vote
3 answers
134 views

When is the case to use hard real time?

If I use an industrial robot with its hardware controller, should I install linux hard real-time like xenomai to use this kind of hardware controller? If not, when is the case to use xenomai?
sam's user avatar
  • 111
3 votes
1 answer
698 views

How to eliminate motion blur with realtime performance

I have a robotic system to develop, in first phase of the project I need to track an object. So I placed a geometrical marker on the object to estimate it's pose (rotation, translation). It all works ...
Muhammad Abdullah's user avatar
0 votes
1 answer
189 views

Robot real time control [closed]

I want to control a arduino based robot in real time , i am confused whether simulink real time control is a better option or Using ROS ?? I am familiar with the simulink , My application is to ...
Jasmeet Singh's user avatar
0 votes
1 answer
4 views

The question about ros::publisher and ros::subscriber

I want to achieve receiving and transform data using rostopic at the same time or in a low time. I know that ros::subscriber can subscribe rostopic and receive the data included in topic. So I hope ...
user avatar
1 vote
1 answer
955 views

Is pyserial real time

I am using arduino with FreeRTOS and a computer with patched xenomai linux. I am using python library called pyserial to communicate with arduino. Right now I am using simple servo motors. I want to ...
user avatar
2 votes
3 answers
7k views

Is it possible to use an arduino in hard real time

I am using the ros_arduino_bridge to control a robot, by connecting the Arduino to a main pc with a usb cable. I was thinking of using the Arduino with main pc with a serial cable and then doing real ...
user avatar
6 votes
3 answers
9k views

Camera selection for long range stereo vision system (up to 100 meters)

I want to implement a real-time stereo vision system for long range (up to 100m) depth estimation. I know that there are some general considerations as described in this SOV post. I have seen some ...
Mr. Nobody's user avatar
3 votes
0 answers
796 views

real-time stereo vision system for long range (up to 100m) depth estimation

I want to implement a FPGA-based real-time stereo vision system for long range (up to 100m) depth estimation. Also, I want to use two ip cameras in the system. I have calculated depth error using the ...
Mr. Nobody's user avatar
0 votes
2 answers
229 views

How to get live audio from robot?

I am building a robot and I want to be able to hear sounds from it's environment (ideally from my laptop). What is the best way to get live audio from my robot's microphone to my computer? I have ...
Gunther's user avatar
  • 123
2 votes
1 answer
94 views

Low latency control from a laptop

Lets say that I needed to send sensor readings in increments of 100 bytes from a micro controller to a laptop with sub 2 ms latencies in real time (the data needs to be processed and acted upon ...
David's user avatar
  • 420
0 votes
1 answer
1k views

Quadcopter PID Tuning for Altitude Hold/Position Hold along Z axis

Good day, I have just finished tuning the Pitch and Roll PID's. I did this by setting the throttle such that the quad is weightless. I did the tuning of each axes separately. I would just like to ask ...
user123456098's user avatar
1 vote
1 answer
182 views

Ultrasonic Sensor's Lag (20Hz) effect on PID contol loop rate (150Hz)

Good day, I would like to ask how is it possible to use an ultrasonic sensor for altitude hold in a quadcopter if the sampling rate of the Ultrasonic sensor (HC-SR04) is only 20Hz before incurring any ...
user123456098's user avatar
3 votes
3 answers
933 views

Software real-time of ROS system

As far as I know, a hardware real-time robot control system requires a specific computing unit to solve the kinematics and dynamics of a robot such as interval zero RTX, which assigns CPU cores ...
Superuser's user avatar
  • 185
2 votes
1 answer
532 views

How does one calculate distance and angle using a target with known measurements?

The target is in the shape of a U where the horizontal segment is 20 inches, and the two vertical segments are 14 inches. We are using a camera to image the target, and then using vision processing to ...
LEGOman420's user avatar
2 votes
2 answers
2k views

Real-time camera localisation in known environment

I am young researcher/developer coming from different (non-robotic) background and I did some research on camera localisation and I came to the point, where I can say that I am lost and I would need ...
Excalibur's user avatar
7 votes
1 answer
4k views

Is ROS hard real time safe?

I know that is a question that has been asked too many times, but still its not clear to me. I read online that it isn't but some people say that they control their robots under ROS in applications ...
jason's user avatar
  • 179
1 vote
2 answers
267 views

Interfacing GPU image processing with motor control at 30+Hz

I would like to make a robotic system which takes as input a video feed, runs some GPU-based image recognition on the video, and outputs commands to a set of motors. The goal is to have the motors ...
user avatar
0 votes
1 answer
6 views

Making ROS real-time : is it magic?

Greetings, I was wondering about real-time patches for ROS, such as Orocos, and their actual efficiency. I am quite new in the field of RT stuff, but as I read that ROS wasn't an real-time software, I ...
user avatar
1 vote
0 answers
103 views

Microcontroller for running Linux RTAI

I'm a beginner in Robotics. I'd like to ask what are the minimum/recommended specs for a microcontroller to run a real-time system such as Linux RTAI? What is the popular microcontroller for ...
Vinko's user avatar
  • 111