instruction stringlengths 40 28.9k |
|---|
Let us say I have a rigid body, B. Let us say I have a normal vector n. And let us say I have another direction vector a. I need to rotate my rigid body such that n aligns with a. For the purposes of this question, let us assume that the normal vector n and B share the same frame of reference. I understand this is an u... |
When using DC motors with a drive wheel (aka "direct drive") to propel a vehicle (e.g. an RC car), force and torque play a role in how efficiently that motor's power is transferred into motion via the drive wheel in contact with the surface of travel. Here's one resource on force and torque when it comes to motors.
Ho... |
If you have two position estimates $P_{t_1}$ and $P_{t_2}$ and times $t_1$ and $t_2$ how do you extract the average angular velocity from them? The linear velocity is a simple difference but how do you compute angular velocity?
|
I have 3D models with UV mapping and textures in Blender and I would like to import them in Webots. Can you please recommend the best way to do this?
|
I'm using Webots R2022b and I would like to have a supervisor controller that applies an algorithm on the camera data recorded by the Mavic2Pro drone on an another robot.
But, when calling the getDevice function in the supervisor controller, the device is not found.
Is there any way to get the Mavic2Pro camera device f... |
I get this error when trying to view my RPLidar A2 scan in rviz2. It’s on a differential drive robot controlled using arduino using Articulated Robotics’ code that I quickly ported to Humble, alongside the controller manager code. I am running everything on a laptop, no separate machines, on ROS2 humble.
It’s connected... |
I currently have 2 projects running, 1 is using Ros2 Foxy and the other is Ros2 Humble, it seems like Ros2 Humble isnt’ entirely compatible with reading old message Format, e.g: I cant read message of type visualization_msgs:MarkerArray , is this a known issue or does any one knows any workaround? I'm thinking of maybe... |
The provided sample simulations are running very slowly in Webots. How can I improve this?
I am using Webots R2022b on Ubuntu 22.04.
|
I am developing a project with ros_msft_mrtk and would like to send simple messages via Ros2 to Unity or then to the Hololens2. Unfortunately, I don't understand Ros2's communication. I use the SubscriptionExample, added it to a GameObject and now want to display sented messages in a text field in Unity. That was my at... |
I need to fix one part of my robot to the static environment. Can this be done in Webots?
I'm using R2022b.
|
I'm rather new at Webots.
How do I change the controller for a node to another controller code in a different location?
I'm having trouble changing the code for an e-puck. The edit controller always takes me back to the original code, and I can't save to another location.
I saved it as Epuck_Glider.c, but it won't tak... |
The title says it all. I would like to have object that the rangeFinder can't see. This would help me to model real life shiny objects for a ToF sensor in webots. Any suggestions?
|
rosbag play bagfile.bag
ROS's bag player provides a nice tool to replay the data but it's kind of difficult for debugging as we can't control frame-by-frame play. I know it's possible to control replay speed by the -r option but is it possible to play it frame-by-frame? e.g in rqt_bag we can move frame by frame to see... |
I would like to build a gripper that can pick and place irregularly shaped objects, for example, vegetables. I'd like to grasp the object with enough force so that it does not slip form the jaws, but not too much, so that I don't damage the object or the gripper.
I'd like my gripper to be electrically driven, but I can... |
I am trying to use RGBD based people detection on a pointcloud merged from two individual real sense d415 cameras mounted vertically, image below.
The merge is performed by transforming the individual pointclouds to the base_link (centre of the robot) and adding them using PCL + operator. The resultant pointcloud is a... |
I am doing simulation of my robot with PyBullet now, but I guess this question applies to other simulation software as well.
When I am using the functions createCollisionShape and createMultiBody, I am really confused about the definition of parameters like collisionFramePosition and linkInertialFramePositions. What is... |
In Modern Robotics v2, we have the following figures:
I don't understand why in Eq. 3.73, we have the given expression for $v_s$. My thinking is:
The position $p$ is the position of the frame $b$ with respect to fixed frame $s$.
$\omega_s$ is supposed to be the angular velocity of $b$ wrt $s$. But how can $-p$ repres... |
I am trying to write code in MATLAB to generate a trajectory for a scara manipulator in the robot operational space with trapezoidal velocity profile for each segment passing through 5 waypoints using the formulas shown in the attached image.
They are for creating a trajectory in operational space for each segment pass... |
I've been trying for quite a while to simulate a transfer function using control library on python but I keep getting the wrong result, does anyone know the reason?
This is what I get:
This is what I want:
This is the transfer function I'm trying to simulate:
Code I used in python (I just assumed that value for K)
s... |
I would like to draw some text or objects in the 3D view of Webots, how can I do that?
|
I build a new Robot with Webots (two wheel cart + 1) and build a simple controller. I can see the wheels are rotating when I start the robot, but robot is not moving at all.
I am very new to Webots and I can't see relevant answer in the search result. Perhaps, I am missing something, but can't see it.
What am I missing... |
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 AT commands. I currently have only connected one HC05 to pico and that HC05 is blinking once every two seconds (How it's... |
I am writing a ROS node to read CAN data (linear x speed, and direction of motion i.e. rev or fwd) from my vehicle and my steer-by-wire system (encoder data for angular z). Both CAN interfaces are on separate CAN bus. I am using that data to generate odometry. We will call this node odom node.The odom node has 2 thread... |
I have only recently gotten into robotics - so I'm not that familiar - please excuse me if this is a silly question.
I was looking at servo and stepper motors. I can see that a lot of servo motors basically look like this one:
This servo can produce 1.1Nm of force. I have seen it. It's very small, light and cute. It d... |
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 here is what I get:
# Webserver to send RGB data
# Tony Goodhew 5 July 2022
import network
import socket
import time
from machin... |
I'm trying to derive the inverse kinematics of a skid-steered mobile robot with rocker-bogie mechanism.
I learned how to derive the kinematics via transformation matrices as per "Kinematic modeling of wheeled mobile robots" by Muir and Neumann.
I also read several papers (link1, link2, link3, link4) doing the kinematic... |
Assuming an industrial robot performs a PTP movement with a speed of 100% for each joint, it often happens that the joints never reach 100% of speed because the torque limits of the actuators are violated and the movement stops.
My approach was to get the torques at each joint with the general equation of motion using ... |
My simulation is running correctly but is slow. How can I speed it up?
(I am part of the development team of Webots and we often get this question so I hope it will help some people!)
|
Cross-post on ROS answer
Since ROS 2 Humble on Ubuntu 22.04, I noticed that now ROS 2 Humble python packages are split between two directories.
/opt/ros/humble/lib/python3.10/site-packages
And
/opt/ros/humble/local/lib/python3.10/dist-packages
For example, tf2_ros is installed under /opt/ros/humble/lib/python3.10/site-... |
I need to do custom mapping of surroundings with lidar using mobile robot in Webots. What I use for that:
GPS for getting robot position.
Compass for getting direction robot.
Lidar for getting info about surroundings.
I did translation and rotation of relative points from lidar, which worked well when robot is on fla... |
I create a bipedal robot and I would like to use MATLAB to control two rotational motors. The code for controller is simple but some warning just shows up.
Does anyone know how to solve this?
WARNING: Unable to find the 'matlab' executable in the current PATH. Please check your matlab installation. It should be possibl... |
I'm working with a Kuka iiwa LBR 14 R820 arm, doing research stuff at a university. I'm writing code in their Sunrise application and pushing Java programs to the Kuka controller box, where I run them on the "smartPad" pendant and observe the results. That all works.
My problem is that if I sit thinking for a bit (betw... |
I recently came across the topic of "drive cycle design". I would like to learn more about this as I delve into motor and RC vehicle design.
Given: the RC vehicle must achieve 25mph max/top speed.
Given: the vehicle's acceleration is not as important, as in it would be okay for the vehicle to use up to 30-60 feet to ... |
I'm pretty sure this is the right place for this question, but if not, please point me in the right direction!
Basically, I would like to know how do SLAM using multiple cameras and sensors that are asynchronous. Along with this, I'm curious if there's any way to use the SLAM information—or any way in general—to automa... |
When running for example some version of Orb Slam with stereo vision you're using sparse features for tracking but you can also infer a full depth map. I am curious how you use that full depth map to build a dense 3d map? Do you just run bundle adjustment on the sparse feature set to get the optimized positions and the... |
After installing the newest version of Webots, I find that the objects (PROTO) and textures of the scene cannot be downloaded. The console throws many errors about download failures and the 3D scene misses objects. It may come from a local firewall problem preventing Webots to download the textures. Is it possible to g... |
I am trying to visualize a point cloud of the lidar so I used the file in the Gazebo Garden tutorials (link: https://gazebosim.org/docs/garden/sen...) and I added these two lines for the Vsiualize Lidar plugin
<plugin filename="gui/libVisualizeLidar.so"
name="gz::sim::v7::VisualizeLidar">
</plugin>
but when I ru... |
I am curious, why would you ever choose direct slam(photometric consistency, etc) over feature based slam? Particularly for dynamic scenes?
It seems you're always better off aligning fewer points which you have a high confidence in over a lot of points you have low confidence in and are prone to poor data association -... |
An example problem in the textbook I'm reading from has the spherical wrist system and the DH parameter table as shown below:
giving us the transformation matrices as below
$$
A_4=\left(\begin{array}{cccc} c_{4} & 0 & -s_{4} & 0\\ s_{4} & 0 & c_{4} & 0\\ 0 & -1 & 0 & 0\\ 0 & 0 & 0 & 1 \end{array}\right)
$$
$$
A_5=\le... |
I'm interested in turning GPS position into Cartesian, I want to then transform it so the starting point is the origin.
Anyone have experience with this?
|
I'm interested in using GPS system to generate ground truth for evaluation of some SLAM systems I am testing.
I'm confused on how I can initialize the location and orientation of the GPS unit to be consistent with the other sensor systems?
How does the kitti dataset do it? If the starting orientation is just a little o... |
I am using webots 2022b inside of a docker container. In my vs code, it runs fine, but when I try to run the command straight from the docker container, I am running into an issue where the controller program instantly exits with code-11 but no output or error message.
[ERROR] [driver-2]: process has died [pid 66, exit... |
I am a master's student at the physics department of the Goethe University Frankfurt am Main. I started to learn about Webots, which I intend to use for my master's thesis. I am at the very beginning, so I am still figuring out how different details of the program work.
I encountered an issue, which source I cannot fin... |
I am posting here because the "official" Vex forums don't seem to support EDR anymore :-( but anyhow...
I am teaching a class and we are using VEX parts to build a simple winch, the whole point is to experiment with gear ratios.
Well and good. We are using standard 393 motors hooked up to a VEX cortex with the standard... |
In Webots: I try to build a Braitenberg vehicle so that when it receives light information through the ligh sensors it drives either away or towards the light. I used an ePuck and tried to just connect the light sensors 0 and 7 to the left and right wheel. I placed a little light bulb with white light in front of it an... |
I am working on a project using the SLAMTEC Mapper M2M2 with ROS to map an area of interest. I am using Oracle Virtualbox to run ROS Noetic with Ubuntu 20.04, and my host machine is running on Windows 10. However, when running rviz, there seems to be a problem with the map display. Below is what I did from the beginnin... |
I made a simulation of a farm in Webots using the new animals objects released with R2023a.
I first developed my simulation using these instruction to build Webots from sources: https://github.com/cyberbotics/webots/wiki/Linux-installation/
I did that to have access to the animals before R2023a was released.
However, n... |
In the context of my simulation, I need to programmatically get the position of robots and objects in the world (in global coordinate system). How can this be done?
I'm using Webots R2023a.
|
I want to create a webot simulation for robotic arm. The entire arm should be controlled by the mouse. Is it possible to implement in webots?
I am trying simulation for this https://youtu.be/nz_tgDD8FNw
|
When doing bundle adjustment do landmarks gets optimized as stand alone variables or are they viewed as a function of the robots first position when they are detected?
|
I want the rotational motors be affected only by my controller, not by the physics of the world. The problem is shown in this video. How to fix this?
|
I am trying to use a tunnel-like mesh in gazebo as a model of its own. I have the pointcloud and I followed this tutorial to transform it to a mesh https://gazebosim.org/api/gazebo/3.3/pointcloud.html
My problem is that on gazebo, the inside of the mesh is completely transparent so the inside of the tunnel cannot be de... |
I am using a supercomputer (MSI, Minnesota Supercomputing Institute) to run my Webots simulations. However, on my own laptop (MacOS) the amount of time necessary to calculations is much shorter. I was wondering if there was an optimal configuration (i.e., minimum number of cores, memory, etc.) that I should have to lim... |
I have a problem that I'm not able to solve with Gazebo Garden.
I wrote a System plugin that handles a stereo camera, I need a plugin to interface the simulator with our SDK.
Differently from Gazebo Classic in Gazebo there is not a Multi Camera sensor, so I must associate the plugin to a model containing the two sensor... |
I am looking for a VLP-16 driver lib or code that gives a point time stamp instead of per scan time stamp.
I know their official manual show how to calculate the timestamp of each point but I was wondering if there are ready-to-use drive that provides the timestamp of each point.
ROS driver gives the time stamp of each... |
In Discrete-time Control Engineering by Katsuhiko Ogata, it is stated that "A necessary and sufficient condition for complete state controllability is that
no cancellation occurs in the pulse transfer function. If cancellation occurs, the system
cannot be controlled in the direction of the cancelled mode."
Actually, wh... |
I added a car from the Webots library into my scene, but when I start the simulation the car is sinking into the ground.
This is the same BmwX5 car model used in the sample simulation "city.wbt" (I just changed the color).
What am I missing?
Why the car lies correctly on the road in "city.wbt" but not in my world?
I a... |
For my robotics course I have to implement the nonlinear continuous system function for a mobile robot that is equipped with a GPS receiver and an IMU consisting of an accelerometer and a gyroscope. For the prediction step with an EKF, I need to implement the kinematic model $\dot x = f(x,u)$ with given state vector $x... |
I have a problem that I'm not able to solve with Gazebo Garden.
I wrote a System plugin that handles a stereo camera, I need a plugin to interface the simulator with our SDK.
Differently from Gazebo Classic in Gazebo there is not a Multi Camera sensor, so I must associate the plugin to a model containing the two sensor... |
So I will get straight to the point. I wanted to get ambitious with my robot project while trying to keep the budget minimum. I have browsed through several posts regarding power sources and servos, and most of them keep me juggling my choices.
Choice for servos:
I noticed how convenient MG996R is for my intended purpo... |
In Webots: I want my little robot drive to a fully charged charger (green pointlight and cylinder) and drain its energy. While the battery loses energy it should change its color.
It works as long as I stay in the Webots Tour setup of the battery device. I can make changes of the bot and the arena. Everything works. Bu... |
I have tested Webots headless mode in docker as described here in Ubuntu 20.04.
In the headless mode, if we make gpus available to the docker container as follows
docker run --gpus=all -it cyberbotics/webots:latest
xvfb-run webots --stdout --stderr --batch --mode=realtime /path/to/your/world/file
This seems to launch ... |
I need to create an invisible wall in Webots but I don't know how to do it. Could someone please help me?
|
I'm trying to apply position control in a wheeled robot, controlled by an arduino mega.
The robot has two wheels powered by two dc motors (1 motor for each wheel) and one castor wheel.
In order to implement the position control, I'm using classic PID control applied to each wheel seperately.
My goal is to achieve some ... |
Can I have multiple versions of ROS or ROS2 installed on a single machine or PC?
|
I have been attempting to have two controllers be able to access information from each other in a way that is similar to object-oriented programming in UNITY, however, I have constantly had problems getting it to work. I always get a similar error of:
Exo_controller.cpp: In function 'int main(int, char**)':
Exo_control... |
How do I render h264 video data in Foxglove Studio?. My data is recorded as a separate file alongside an MCAP file. Ideally I'd like to be able to open my MCAP file and then attach my video and have them time synced so they're both controlled by the scrubber.
|
I am attempting to teach myself sensor fusion as I suspect I'll need to do this down the road with lidar and some other sensors. In all my research so far it sounds like a version of the extended kalman-filter is the best way to do this.
I believe I have a good intuition for how the EKF works but I am stuck on a few th... |
I am working on a student&enthusiast project that includes the participation of a few drones (copter-type). Right now, there is nothing complicated in their movements, just, for example 100 meters forward, 20 meters upward, rotate 90 degrees left, 50 meters forward etc.
I really need to automate it. But for now, I am d... |
When doing stereo based visual odometry and bundle adjustment how does the stereo constraint get factored into the photometric error?
Do you use the fact the second cameras location is known wrt the first or is something else done?
|
I am trying to connect ros and gazebo garden using a bridge.
I am working on ubuntu 22.04. I have ros2 humble and gazebo garden installed. I am following the readme of this repo https://github.com/gazebosim/ros_gz/tree/39cdcf88e762589595222d74e41f22b1d876aef1/ros_gz_bridge
I wrote a YAML file as suggested and it looks ... |
Suppose I have a robot which can perform some work and be rewarded with a point 50-70% of the time. I want a different number of points to be collected every hour of the day. This is modelled using a function which tells me the number of points I expect to have at time t, giving setpoint(t), which grows from 0 points i... |
Charging station is flashing green. Roomba’s makes clicking sounds with error message. Have another charging station and the Roomba's charges there fine. I also move another Roomba ( have a total of 3) and they all do the same thing within this particular charger. I have cleaned the contacts frequently with smooth sand... |
I am using two instances of ROS robot_localization package to get the local and global odometry. In the local one, I am fusing IMU and twist messages. It is working fine. But when I use the second instance where map and odom frame both should be fixed points, one of them is moving. I set map as the fixed frame, then od... |
Recently, when I was trying to compile a ROS programm written in C++ (with C/C++ extension installed in VSCode) I ran in to a problem with the header files included in the program (rclcpp, etc.) and the error was that those header files couldn't be resolved. When I tried disabling the extension the problem got solved. ... |
I have a doubt on why there are so many distributions of ros2 or ros and what are the major factors that changes between them?
|
I am working with a multi sensor RTK-GNSS for localization of my robot.
This is the data I am getting from the GNSS system.
How to relate this data to my robot map frame for navigation?
|
The youBot mobile robot is being used to test some kinematic controllers. There is a problem with the base not reaching the maximum speed. A maximum linear velocity of 1.5 is defined in the configuration file.
type: steered_wheel_base_controller/SteeredWheelBaseController
base_frame: base_footprint
linear_speed_l... |
I am new to ros2 and have very little experience with it. Looking in to the documentation I have seen how to create a workspace in ros by cloning a github repository of your respective distro from their branch. Is there any other way to create a ros2 workspace with a single line terminal command similar to the one we u... |
I'm working with a lsm303agr from ST. Here is the frame attached to the chip
Here is the body frame
So I have some doubts about the rotations, before to fuse data coming from my lsm I'd like to rotate lsm axis to body frame. So if I understand well if my sensor is flat on the body (sensor z axis points up) and pin 1 ... |
As part of my testing, I was using Kuka's arm to test some kinematic controllers. In the picture below, when the arm is spawned in Gazebo, the positions of the joints are zero (i.e. obtained from /joint_states topic). However, this is not the zero configuration (i.e. all joint angles are zero) as per the Norwegian Univ... |
I have a 3D model which is made by SolidWorks. I remember that in older versions there was a function to import 3D models but I can't find it in R2022b. Can you tell me how to import it? Thanks so much!
|
I was trying to follow this tutorial in the official documentation of ros2 Humble for Integrating launch files into ROS 2 packages and ran in to the below given error after doing trying to perform a build on the package using
colcon build --packages-select py_launch_example
The package build compilation given me the ... |
In the Wikipedia article about Homography, the projective transformation between picture A to picture B is defined as:
$H_{ab} = R - \frac{t n^T}{d}$
However, the formula lacks the derivation. How is it derived?
|
I am trying to make a node in ROS that has as input a dynamic point cloud that is generated with a stereoscopic camera to which I have performed preprocessing. Now that point cloud that is generated usually has holes which I should detect. I've been working with PCL for a couple of months looking for a way to detect th... |
I am creating a Webots robot controller by using C language and trying to use piecewise functions to control two rotation motors and simulate the swinging motion of a leg. One motor for the hip and another one for the knee. However, the motors only work with the "else" condition. Can anyone tell me where I am wrong?
Th... |
I have tried to find out about this from quite a few sources but it still remains unclear to me. I know that the Luenberger observer is applicable for a deterministic system with known control inputs while the Kalman filter is used for a stochastic linear dynamic system. There are versions of Kalman filters that are im... |
To find the situation where singularity occurs, the determinant of the Jacobian is used.
For the RRR planar robot with angles $q_1$, $q_2$, and $q_3$ and the length $L_1$, $L_2$, and $L_3$ as shown in the picture, the determinant of the Jacobian is as follows:
$$det(J) = L_1*L_2*sin(q_2)$$
$$L_1*L_2*sin(q_2) = 0$$
The... |
I am working on a 6DOF IMU that contains a 3 Axis Accelerometer and a 3 Axis Gyroscope.
I am building a project to plot the position and orientation of the turret/cabin in a crane in 3D space.
The IMU will be placed in the rear end of the cabin which is away from the centre of gravity of the vehicle.
The turret can mov... |
I've tried searches for documentation on the package but whilst I can sudo apt install -y ros-humble-perception or load it via docker as "ros-humble-perception" I didn't find any documentation to explain what it is apart from a mention on the humble release, ROS 2 Humble Hawksbill Released!
It appears to have added pac... |
I am quite new with Webots. I am wondering if there is a possibility to import 3D models into Webots 2023a as it was possible within Webots 2021b. I have managed to import it within 2021b, but when I specify the bounding object and I apply physics, the robot falls through the arena and bounces around underneath. The sa... |
I'm working on my graduation project which is characterizing human body posture. I'm using IMU so I get measurements from the accelerometer and gyroscope and I'm wealing to fuse these two filters so I can get Roll and pitch using extended Kalman filter, I'm confused if I should use Euler angle or Quaternions with the E... |
I am a new to the field of control systems.
In real life systems, such as process industry or continuous manufacturing, where large number of feedback control loops are present - is controller output always recorded and preserved in a dataset? If one has to do an offline analysis using the setpoint, controller output, ... |
I am working on a 6DOF IMU that contains a 3-axis accelerometer and a 3-axis gyroscope. I am building a project to plot the position and orientation of a vehicle/dirt bike in a 3d plane. However, the inertial measurement unit is placed away from the centre of mass of the vehicle i.e. in the boot/taillight of the car/bi... |
So I have a setup where I want to launch my ROS nodes via a launch file, which in turn will ssh into a udoo board and the launch the necessary files for hardware communication. The launch file works great normally when I do roslaunch, and I have set up a passwordless connection between the PC running ROS and udoo, usin... |
I was designing a pneumatic system, fed by a compressor (Tank = 6 liters, Pmax = 8 bar, Motor power = 1.5 HP, Flow = 180 l/min), and consisting of its FRL, some hoses for the ducts 4 mm standard polyurethane, and four cylinders (actuators).
Of which, two of the cylinders are arranged in serie on one of the branches of ... |
I am logging data in MCAP format using ros2 bag record -s mcap --all which saves a .mcap file with all my logged data as well as a metadata.yaml file with some info about what is stored in the .mcap file.
I would like to "checkpoint" my system when I save the data by somehow saving all the ROS parameters along with the... |
I've majorly followed Dex-net implementation to calculate a grasp matrix (G) to compute other grasp quality metrics (e.g., Ferrari Canny L1 metric or smallest singular value of G).
Based on my understanding after searching documents and papers, grasp matrix is a 6xM matrix that transforms forces applied on contact poin... |
I have an Arduino Uno and a SIM808L 2.0 module.
I want to connect the module to the Arduino, but I can't. It displays 'not working' (you can see in the picture)
#include <SoftwareSerial.h>
SoftwareSerial sim(10, 11);
void setup() {
delay(7000);
Serial.begin(9600);
Serial.println(9600);
sim.begin(9600);
}
v... |
In my opinion, the correct way of running ROS2 nodes inside a larger asynchronous Python application (e.g., an application built around asyncio) is not particularly obvious. I think a good solution should (i) not busy-wait the middleware and (ii) should handle cancellation properly.
I have had go at this and found a so... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.