Questions tagged [robotc]

ROBOTC (trademarked as ROBOTC and frequently spelled RobotC) is an Integrated development environment targeted towards students that is used to program and control LEGO NXT, VEX, RCX, and Arduino robots using a programming language based on the C programming language. Not to be confused with "Robotic". Please refrain from using this tag for general robotics questions.

0
votes
0answers
27 views

What is the correct algorithm name for this “Shortest Path Maze Solver”?

What is the correct algorithm name for this Shortest Path Maze Solver? The algorithm works by completing the maze and at each turn storing each of the turns in an array until the maze once the maze ...
0
votes
1answer
52 views

RobotC startMotor command useless?

I learned recently that robotc has a command called startMotor. it has two parameters, a motor and a speed, and it sets the motor to the speed. But the same thing can be accomplished in one line like ...
0
votes
1answer
40 views

How do I create a broken line follower? [RobotC] [Legomindstorm] [Ev3]

Trying to create an algorithm/code in order to get my robot to follow a track which it currently can do, using a color sensor and following the inside edge. So I'm wondering how to transition to the ...
0
votes
0answers
27 views

Tetrix Prizm and ROBOTC

I am currently trying to find if its possible to program a Tetrix Prizm motor controller with ROBOTC? Because I have an EV3 brain connected with the Prizm to a robot assembly with two motors, and I ...
2
votes
1answer
459 views

function of PIDControl #pragma config() directive in robotC

I am trying to sync motors on a VEX Cortex based robot and have had mixed success using the encoders with position control. I noticed that the motor setup directive ...
0
votes
2answers
82 views

Maths in Robotics [closed]

I'm interested in Robotics but not very skilled in Maths. Since I always come across some very intense looking mathematical formulae in robotic reports, books etc I just wonder what branch of ...
11
votes
2answers
3k views

Correct way to use Subsumption Architecture with Robot C

I've been doing a lot of reading lately about Subsumption Architecture and there are a few different ways people seem to advocate. For instance some people use a global "flag" variable to have a ...
2
votes
2answers
906 views

Is there an online RobotC IDE?

I'm on a Linux chromebook, and am using a Vex robot, and am wondering if there is an online IDE for RobotC that will run my computer?
1
vote
3answers
94 views

Robot Veering to the Left

I'm currently programming in RobotC, for a Vex 2.0 Cortex. I'm using encoders to make my robot go straight. This is my code: ...
1
vote
1answer
429 views

RobotC Code Malfuncion (VEX Robotics Clawbot)

I have a standard VEX Clawbot, which I've been trying to make go straight for some time. I've been following this guide: http://www.education.rec.ri.cmu.edu/products/cortex_video_trainer/lesson/3-...
0
votes
3answers
676 views

Robotc color sensor error

I am trying to write a simple program where the robot(Lego NXT2) will follow a blue line. ...
1
vote
1answer
881 views

How can I calculate Center of mass for each link of Robot?

I want to calculate 'r' I know , and the Position of(X, Z) But I don't know how to apply it in this robot.
0
votes
1answer
61 views

Is there any robot stability control equation that describes the relation between velocity of the robot and its orientation?

Let’s assume at time t a moving robot (e.g. PIONEER 3-DX) changes it’s steering angle by $25^{\circ}$. Obviously, in order to maintain stability and avoid overturning, the robot must reduce its ...
1
vote
1answer
197 views

How can I switch between Autonomous mode and usercontrol?

I want to switch from usercontrol to autonomous. When I have the program running for 120 seconds, how come it wont automatically switch in autonomous mode? Thanks! ...
2
votes
1answer
70 views

Euler-Lagrange systems, autonomous or nonautonomous?

I was reading an article on Euler-Lagrange systems. It is stated there that since M(q) and C(q,q') depend on q, it is not autonomous. As a result, we cannot use LaSalle's theorem. I have uploaded that ...
0
votes
1answer
318 views

VEX Cortex Motor Speeds up under load

I am trying to get my robot to drive straight and am having trouble. I find that when running the motors with no load they run fine. If I put a load on one motor it accelerates. The other performs ...
1
vote
0answers
132 views

Use MATLAB Compiler SDK generated package in KUKA Sunrise.Workbench

The MATLAB Compiler SDK allows to create a wrapper for a MATLAB function which can be accessed by Java software. Based on my understanding, KUKA's Sunrise.Workbench IDE uses most of the standard Java ...
-3
votes
1answer
279 views

Robotics StackExchange vs ROS Answer [closed]

Robotics Stackexchange vs. ROS Answer: What is better and for what purpose?
0
votes
1answer
214 views

What is the RobotC type for motors?

I'm trying to create a function that allows me to more easily start a motor, but I'm running into a problem, I don't know the type to use for the motorName argument....
1
vote
2answers
2k views

What is the best software/package to draw the robot manipulator and indicate DH parameters and different axes?

I'm wondering about good software/package to draw the robot manipulator and indicate DH parameters and different axes? Any suggestions!
2
votes
2answers
155 views

Create Artificial Integelent Robot Ability to communicate with Computer : Which language i should use [closed]

I know some languages like PHP, C/C++ and Java but I'm not expert in these languages. I want to create an Artificial Intelligent Robot that can do these Task; able to communicate with Computer (USB, ...
3
votes
1answer
228 views

Can I use QT to communicate with a Lego NXT robot?

QT has native bluetooth support, but can it be used to communicate with the Lego NXT robot?
0
votes
1answer
784 views

Matlab for moving a robot towards the detected block

the matlab code is used to detect red colored object, but i want to control a bot to move towards the detected object. just need a simple algorithm or idea, controlling the servo i will be able to do ...
3
votes
1answer
164 views

Performance/memory considerations for pathfinding lookup tables on RobotC for a small set of paths

I'm writing a C code generator geared toward RobotC and complex tasks for an FTC team, and was wondering about some performance and storage concerns: How much memory is available for my program's ...
5
votes
1answer
361 views

Powering down servos completely in RobotC+Tetrix

For a certain robotic application (actually for the FTC challenge this year) our team is performing an operation where a servo-driven arm could potentially be forced into an unknown position. We are ...
6
votes
2answers
2k views

Confused about the variables in RobotC?

I'm trying to program advanced functions in RobotC but I'm not too sure I'm doing it right. I want to specify the motor port I'm using, but I assigned names to all the motors. Funny thing though, they ...