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.

Filter by
Sorted by
Tagged with
0
votes
2answers
96 views

How can I control fast real time sensor (250Hz) with slow system display(60Hz)

We do some experiments of real time representation of sensor position on TV. In this experiments, we used sensors for collect real time position in 3D at 250Hz and TV for Display the sensor position ...
4
votes
1answer
7k views

Create a simple C++ client Application to control KUKA's Robot-arm LBR iiwa via FRI

Until now I have been programming the robot using Java on KUKA's IDE "KUKA Sunrise.Workbench", what I want to do is control the robot arm via my C++.Net application (I would use a camera or Kinect to ...
3
votes
1answer
537 views

How to transfer signed integers with libusb?

Folks at programmers stack exchange asked me ask here: I want to communicate with an arduino and sent integers it. I code this program in C++. I initialy used bulk_transfer(), but it sends only char ...
-1
votes
1answer
538 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 ...
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
1answer
150 views

Easiest way to submit a longer non standard character string via MAVLink

I want to submit my gains for the PID regulator via MAVLink. Unfortunately, I am not very used to MAVLink and there are several functions which may be used for that purpose (I think). My string is ...
1
vote
1answer
1k views

How do I control a servo using a beaglebone black running ubuntu

I have a BeagleBoneBlack and would like to use it to control a servo for my robot. I'm mostly programming in ros and as such am looking preferably for a c++ solution. Is there an easy way of ...
2
votes
2answers
2k views

ros send message on startup doesn't seem to work

I have the following code: ...
2
votes
1answer
7k views

Connecting an Arduino uno with a beaglebone black over USB

I have an arduino uno and a BeagleBone black and would like them to talk with eachother. Both the beagleBone and the arduino have their own 5V power supplies so no need for power to be transferred ...
2
votes
3answers
2k views

redundant arm path planning and trajectory following

I have a 7dof robotic arm and a set of end effector trajectories in cartesian space I need it to follow. How do I deal with the redundancy in the arm when planning to follow these trajectories both ...
0
votes
2answers
848 views

qt ros tutorial issue

I am working on a robotic application under R.O.S. groovy Galapagos. I would like to make a tutorial about how create a template app with catkin_create_qt_pkg. I'm unable to call the script ...
2
votes
3answers
1k views

Controlling Robots Through Serial

I recently have been working on a little project. Unfortunately, I've ran into a bit of a road block with controlling servos using serial commands. The servos do appear to move when i put in any ...
1
vote
0answers
745 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 ...
4
votes
1answer
5k views

C++ Robust Model Fitting Library

Often when I need to perform model fitting I find myself looking for a decent C++ library to do this. There is the RANSAC implementation in MRPT, but I was wondering if there are alternatives ...

1
2