2022 Developer Survey is open! Take survey.
5 votes
Accepted

Programming language?

The short answer is, frustratingly, "it depends". Nearly every established language can be used to program one robot platform or another. In my short career as a roboticist I have already used Python,...
user avatar
  • 1,266
4 votes
Accepted

Are robot's codes usually compiled or interpreted?

Robots tend to be portable devices powered by batteries. Portable battery operated devices tend to use embedded processors with limited power and memory. Compiled code has several advantages over ...
user avatar
  • 451
3 votes

KUKA FRI program using JAVA

Currently FRI can only be controlled in C++. Java is also necessary to initialize the FRI interface. The C++ code if found in a file called FRI-Client-SDK_Cpp.zip ...
user avatar
2 votes

Code control your arduino with keyboard

http://playground.arduino.cc/Main/PS2Keyboard The extended version http://playground.arduino.cc/Main/PS2KeyboardExt2 This example will show you how to read data from keyboard.The library will let ...
user avatar
2 votes
Accepted

Artificial Intelligence Software Packages: Professionals, University education is oft' a step behind. What's actually being used?

I am not sure which end of the AI work you intended, so this may not apply. If you are working disconnected from hardware one might be better off with straight MATLAB / Octave. If you are planning to ...
user avatar
2 votes

how to move my robot to the assigned coordinates

The GPS gives the actual coordinates. The compass gives the orientation. The waypoints also have coordinates, and as I see in your code, you have defined movement primitives for your robot. From the ...
user avatar
  • 6,372
2 votes
Accepted

Beginner Sets for intermediate devs

If you want to start programming a robot that's already built, the Scribbler 3 (S3) robot by Parallax, inc. is relatively affordable and comes already assembled. The programming relies on Blockly, a ...
user avatar
  • 46
2 votes
Accepted

Programming A Rover

Ravi - This is a great question. So many great ideas stop simply because we don't know how to kick things off. I'll try to list a few options below for each of your questions so I don't sound like I'...
user avatar
  • 136
2 votes

How can I allow for this code to switch from remote control to autonomous?

The code for “task autonomous()” should be outside of the main() function.
user avatar
  • 4,326
2 votes

How to make a CNC machine from scratch?

How does a controller translate a move x 20 units to moving the stepper x amount of steps and keep dimensional accuracy? If the CAD G-code says move 200 mm in the x direction, how to you translate the ...
user avatar
  • 6,372
2 votes

ABB Object Oriented RAPID language

In reviewing the PDF for the RAPID language, it looks like you don't. I can't see anything online that states the RAPID language is object oriented. The manual doesn't even contain the word "class" ...
user avatar
  • 14.6k
1 vote
Accepted

Omron Viper 850 Orientation out of range error

It has been a while since I worked in V+, the predecessor to EV+, but I think I can answer some questions. The base instruction allows you shift the robot world frame in X, Y, Z, and rotate about Z, ...
user avatar
  • 249
1 vote

Learning ROS for Absolute Beginners in Robotics

Welcome to the ROS world :). Definitely, stick with python in learning ROS. You'll learn C++ with time and adapt your ROS knowledge to it. You'll find a lot of very good tutorials online, starting ...
user avatar
  • 166
1 vote
Accepted

Is Programming/Coding necessary to pursue a masters degree in robotics?

Is coding a requirement if you want to take up robotics? No, but it is strongly recommended. The field of robotics is highly multidisciplinary. I primarily work on AUVs as a software developer, but ...
user avatar
1 vote

How to convert 2D AutoCad drawing into CODE for CNC machine (laser cutter)?

Your question can be generalized as how to "convert: a CAD model to G-Code (or NC Code). Generally CAD is used to design parts and CAM (Computer Aided Manufacturing) software is used to design ...
user avatar
  • 6,372
1 vote
Accepted

Control loop in or outside of main loop

In simple case it probably doess not matter, but if you have more (and slow) sensors as well as more things to do, the second approach is better, because you can let do sensors do their work (in their ...
user avatar
  • 443
1 vote

Is there any ROS community effort bases on golang?

recently I find a project called "rosgo" which is doing similar thing. But seems that it is not active recently. here's thel link: wiki.ros.org/rosgo Hope this project can go further because golang is ...
user avatar
1 vote

Are robot's codes usually compiled or interpreted?

Many people use Python to control robots. While it does use more computing resources to interpret the python code, it may take less time for the programmer to develop in an interpreted language. ...
user avatar
1 vote

Where to make changes for simulation project Bullet/Gazebo/ROS/Orocos

You are right, it is a lot of files to deal with... ROS, among other things, is a convention for developing large software systems. They say Robot Operating System but what they mean is Robot ...
user avatar
  • 4,205
1 vote

Where to make changes for simulation project Bullet/Gazebo/ROS/Orocos

As far as I know, soft body simulation is not currently supported in Gazebo. See https://bitbucket.org/osrf/gazebo/issues/1422/soft-body-supoort-in-gazebo and http://answers.gazebosim.org/question/...
user avatar
1 vote

Retrieving distance and angle of roobma create2

You say, "It doesn't work for me." What does that mean? You get nothing? You get numbers that don't make sense? Does it lock up? Something else? First, I'd refer you to the Create2 Documentation ...
user avatar
  • 14.6k
1 vote

RobotC graphical raise arms while reversing

In both of the pictures, line 19 has a "wait" command. The execution of the program will progress past this line when the condition in the parenthesis has been met. You mentioned, that you have ...
user avatar
  • 6,372
1 vote
Accepted

Is there a KUKA IDE?

There is the official option which you can by from Kuka. It is called Kuka Office. I am not sure about variable suggestions, but this can be used for debugging. There is also orange edit (currently ...
user avatar
  • 6,372
1 vote

How do I Program the Create 2?

You can use a Computer, Arduino, Raspberry Pi or other device that can communicate via serial (using a Create 2 USB cable or build your own) or Bluetooth (if you have a something like the Rootooth or ...
1 vote

read from Ultrasonic HC-SR04

Ultrasonic sensors work by emitting a set of pulses and reading the return signal (here is a better overview), this causes problems when you have more than one as they cannot distinguish between their ...
user avatar
  • 1,909
1 vote

Relative frame calculation

The operation you mentioned can be mathematically formulated as a matrix multiplication. You build your homogeneous transformation matrices (4x4) for both frames and multiply them. After than you ...
user avatar
  • 6,372
1 vote
Accepted

language to code Beaglebone

As one user has said, ROS is a very good framework for robotics platforms that supports python and c++. I highly recommend downloading the VirtualBox image of ROS and giving it a try, it takes about 5 ...
user avatar
  • 872
1 vote

language to code Beaglebone

Ubuntu is fine if you are familiar with it, if you start having jitter issues you can add the real time mods to the kernel but that is almost certainly not a problem you will face. Adafruit has some ...
user avatar
  • 217
1 vote

language to code Beaglebone

You're going to want to do this using ros. This will allow you to use both python and cpp. I would reccomend doing all control and estimation in cpp and and camera stuff in python. Ros also works on ...
user avatar
  • 1,825
1 vote

What's the most adapted programming language for Robotic and principally AI?

Python has become increasingly popular in the computational sciences, but I'm not sure how widespread is its use in AI, machine learning, or robotics. What I do know is that one popular choice is ...
user avatar
  • 1,238

Only top scored, non community-wiki answers of a minimum length are eligible