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.

11 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
1answer
72 views

Make robot drive as far from obstacles as possible

I am trying to make robot drive around the room, avoiding obstacles with pathfinding. The problem is I get few waypoints from pathfinding algorithm for robot to drive to (green dots), but it drive a ...
3
votes
2answers
808 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
12 views

Getting the new heading after a Transformation

Lets say I have 2d poses as such (angles in degrees): world_to_robot = {0, 4, 45} robot_to_object = {4, -4, -45} From a graph it would be easy to see that: world_to_object = {4, 8, theta}, what goes ...
1
vote
0answers
22 views

How to correctly use [VertexSE3Expmap] as two connecting Vertex in Edge_V_V_GICP?

I am working on a pose estimation problem solved by Levenberg-Marquardt with g2o. I want to build 3D rigid constraint between two pose, so I choose Edge_V_V_GICP and test the g2o/examples/icp/...
1
vote
0answers
49 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
180 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
195 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
770 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
64 views

Simple inverse Kinematic algorithm

I was looking for a simple inverse Kinematic algorithm that does depend on eigen(does not work on my machine + dependency conflict never fixed it) Most of the code out in the internet is way to ...
-1
votes
1answer
556 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 ...