Questions tagged [c]

A programming language commonly used for controlling robotic devices

7 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
1answer
45 views

Problem with moving heavy computation into ISR's (dspic33E)?

I am controlling a robotic system using a dspic33E. I have a few PID control loops for motor control, several SPI slaves, and an I2C master that I communicate with. Currently, I use interrupts for ...
2
votes
1answer
202 views

IRobot 690 - raw wheel encoder counts change with no movement command issued

I am using a Raspberry Pi 3, B+ pertinent libraries are WiringPi, with WiringSerial. Code is written in c. EDIT: the Serial connection is handled through GPIO 14(Tx) & 15(Rx), 5v (Tx) is stepped ...
0
votes
0answers
28 views

C program to find the rotation matrix (orientation) of a 6DOF robot from its end effector position and link parameters

I'm writing a C program to find the inverse kinematics of a 6DOF robot. I've been able to write it successfully based on the general concept of Inverse Kinematics using DH parameters (i.e. finding the ...
0
votes
0answers
17 views

MAVLink data stream to third-party system

I'm a completely beginner with pixhawk and MAVLink. So I want MAVLink (via AP Mission Planner) to send vehicle data e.g. attitude etc. in real-time to a third-party system that has a built-in ...
0
votes
1answer
49 views

Interpret 560 byte msg from UR5 firmware 1.8 through TCP socket

I am trying to use the UR5 from my computer without having to write any script on the robot. For that, I opened a TCP socket as a client from my computer (in a C program), and the robot indeed does ...
0
votes
1answer
171 views

Mavlink data parsing offline from buffer, on Linux in C

I am a beginner with mavlink and even pixahawk. I need to just parse mavlink data coming from pixahawk. (Mavlink v1, pixahawk v5plus), on Linux PC (Ubuntu). I have 2 processes in context of this ...
-1
votes
1answer
564 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 ...