All Questions
159 questions
0
votes
0
answers
63
views
Webots controller crashes when changing a value in a vector
Im having troubles with the Webots simulator. Whenever I run the code, it always freezes at exactly 0.750 secs, and reports that the main bot controller crashed (there's a second controller for ...
0
votes
1
answer
59
views
How to calculates changes in position with perpendicular tracking wheels and a orientation sensor by assuming movement in arcs?
I want to use a system of odometry to find where my robot is at all times by finding the displacement of the robot every 10 ms. To do this I am using a vertical tracking wheel that tracks when the ...
0
votes
1
answer
841
views
ROS2 cpp file, colcon build is getting failed all the time
I got the following error:
ros2_ws$ colcon build --packages-select my_cpp_pkg Starting >>> my_cpp_pkg --- stderr: my_cpp_pkg
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-...
0
votes
1
answer
219
views
Obtaining rotation and translation matrix from homogeneous transformation matrix
I have following piece of code:
Eigen::Matrix4f transformation = myMethod(); // homogenous transformation matrix
std::cout << "transformation = " << std::endl << ...
1
vote
1
answer
92
views
Implementing Aerodynamic Forces in Drake Simulation and Parsing Joint Angles
I am trying to calculate custom aerodynamic forces, applying them to a Multibodyplant (Robot parsed from an SDF) in Drake, and visualizing with Meshcat. Issues come up when computing velocity and ...
-1
votes
1
answer
245
views
Scara Robot Inverse Kinematics
I am working on a Scara Robot controlled by an Arduino and trying to figure out the inverse kinematics. I programmed a simple example sketch to test my function but it doesn't work because of a ...
1
vote
0
answers
91
views
Segmentation fault inside KeyFrame::GetImuPosition()
I was facing Segmentation fault while running ORB-Slam 3 integrated with my custom application. I tried to write core dump and check the back trace. From frame 5 of stack trace below, the issue seems ...
0
votes
1
answer
64
views
Pass member function as argument to another function?
I'm trying to code a robot for fun. I want to add an Autonomous loop so the robot can follow a set of preset commands and drive itself. The issue is, each subsystem of the robot is a different class,...
2
votes
1
answer
240
views
Smooth movement of Pick and drop robot with stepper motor
I am building a pick and drop robot which has 3 stepper motors. I am using NUCLEO-F746ZG microcontroller and C++ programming to control it.
Now the problem is the arm moves with jerks in start and end ...
1
vote
1
answer
307
views
I was trying to make my own msgs in ROS in a separate package and then accessing the msg from another package using a node a publisher on a topic
The code is working and I am getting my desired result but still facing this error
#include errors detected. Please update your includePath. Squiggles are disabled for this translation unit (/home/...
0
votes
0
answers
315
views
Constructing an Eigen::AngleAxisd object from a Eigen::Matrix3d rotation matrix
I'm trying to control the trajectory of the orientation of an end-effector of a robot, to do so I need to work with axis angle representation.
First I obtain the Rotation matrix (Rot) from the actual ...
2
votes
0
answers
646
views
note: format string is defined here (ROS2 C++)
Hi I get an error when I build this ros2 services cpp file what is wrong? Is it about %d which is prints the value of the int variable.
EDİT: I have changed %d to %ld but then I got different error ...
-1
votes
1
answer
141
views
Reading sensors in real time NAO robot
I'm working with a real time application with the robot NAO and i need to read the joints sensors fast, the function getData from ALMemory is too slow. I have seen the example with the modue ...
0
votes
1
answer
669
views
How to fuse Visual SLAM (ORB_SLAM2) with detected obstacle using 2D Lidar and IMU to obtain robot localization?
I would like to fuse Visual SLAM (ORB_SLAM2) with detected obstacle using 2D Lidar and IMU to obtain robot localization(lateral position and heading angle of the robot). Already successfully detected ...
0
votes
1
answer
447
views
ROS RVIZ: How to visualize PCL Model with correct orientation?
I am trying to visualize a cylinder that I fit to a point cloud using the PCL RANSAC functions. When I fit the model I am given a pcl::ModelCoefficients object and this has the following coefficients ...