We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [c++]

C++ is a compiled general-purpose programming language that adds object-oriented features and other enhancements to the C language. It is popular for both embedded (including robotics) and PC software development.

12 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
153 views

How to properly initialize every new pose in a Visual SLAM algorithm (namely DSO)?

My question is a bit specific, because it is linked to a certain algorithm. Therefore I didn't find any other solutions on how to go about this problem. If you could refer me to research papers, ...
1
vote
1answer
22 views

How to get unix/posix time stamp in header of ROS msg?

I am using two sensors each connected to different machine (each machine separately runs Ubuntu 16.04 and ROS Kinetic). When I echo topic on these two machines, I ...
1
vote
0answers
42 views

Any way to program a robot remotely?

So Udacity, Kuka and KIT are/were offering a Kuka challenge. Basically, the participants got to write code and run it remotely on a Kuka robot based in the KIT labs in Germany and submit their code ...
1
vote
0answers
64 views

Detecting and counting the number of junctions

So I am making a robot which is to follow a line. The field has both +(junctions) as well(by the intersection of two lights). I am yet to figure out what exactly is the best way to track the number of ...
1
vote
0answers
182 views

Scaling monocular SLAM with another source?

I have implemented a stable monocular slam tracking system, based on ORBSLAM2. I am trying to find a way to add real-world distance/scale to this. At the same time, I am running a (less stable) ...
1
vote
0answers
4k views

accelerate a stepper using arduino AccelStepper starting with a pre-defined speed

I've read the AccelStepper documentation on airspayce.com and it seems to be not possible to accelerate a stepper starting with a speed greater 0. Acceleration always starts from speed=0, I tried it ...
1
vote
0answers
714 views

Firmata over nRF24

I'm having some technical problems... I'm trying to use Firmata for arduino but over nrf24, not over Serial interface. I have tested nRF24 communication and it's fine. I have also tested Firmata over ...
0
votes
0answers
13 views

OpenGL C++: Inverse kinematics using Jacobian Transpose doesnt work

I am using glm library and OpenGl for this. This is might not be directly related to Robotics but I guess Inverse kinematics is used there I have 3 joints Here is my code ...
0
votes
0answers
77 views

error: template argument 1 is invalid (ROS Publisher CPP Error)

I got some error when trying to create a publisher in ROS cpp. ...
0
votes
0answers
14 views

Improve altitude control on an outer loop PD controller for a UAV

I'm playing around with using PID control as an outer loop control for the position of a DJI drone in a Hardware in the loop simulator. I have three separate controller instances for each axis x, y, ...
0
votes
1answer
48 views

Subscriber to array type overwriting data from different publishers!

I have been witnessing some bizarre behaviour with my very simple node. I have a custom message that contains uint8[] type (it's 8 elements long). I have a ...
-1
votes
1answer
517 views

C++ and Create 2

I am trying to use C++ to talk to the Create 2 robot. Does anyone have basic code to write/read from the Create 2 using C++ or C? I am having trouble with converting Create 2 commands (like ...