Notifications
Clear all

Ros c plus and python

5 Posts
3 Users
2 Likes
1,483 Views
Duce robot
(@duce-robot)
Member
Joined: 5 years ago
Posts: 680
Topic starter  

I love the way you can use c and python with Ros though I'm not much of a code guy I'm working on it trying to learn both python and c making some slow progress but still forward movement Wich brings up move it very cool I plan on using it for the new arm I'm building seems a little complicated but pick and place is really cool . maybe you'll all get to see pick and place duce in the future 😁👍


   
Quote
ZoolanderMicro
(@zoolandermicro)
Member
Joined: 4 years ago
Posts: 144
 

Hi Duce, what is Ros? A really good book about C language programming is Beginning C for Arduino by Jack Purdum, Apress; 1st ed. Edition (February 1, 2013). All of the sensor/actuator libraries in Arduino are written in C++ or Python. I would like to learn C++ so that I can understand what is going on when I include a library for a sensor or servo motor. I know that I am creating an instance of an object in my code, but it isn't always clear what methods are available. I did manage to figure out how to write a getInch() method for the HC-SR04 ultrasonic distance sensor. The header file listed all the methods, so I looked at the library code, copied and modified the getCentimeter() method, and added the method prototype in the header file. It worked! The Elegoo manual mentioned a factor for calculating inches, so I substituted that factor for the factor used to calculate centimeters. But, I still don't know how to read C++. 

ZoolanderMicro, where small ideas are a big deal


   
Duce robot reacted
ReplyQuote
codecage
(@codecage)
Member Admin
Joined: 5 years ago
Posts: 1037
 

@zoolandermicro

ROS is shorthand for Robot Operating System.  It is not a true OS, but acts as a middle man between the actual OS of the computer you load it on and the actions you want to do to control the robot.

I have no experience with it, but understand it does have a steep leaning curve.

SteveG


   
Duce robot reacted
ReplyQuote
Duce robot
(@duce-robot)
Member
Joined: 5 years ago
Posts: 680
Topic starter  

@zoolandermicrocheck out core electronics on youtube they have a really good tutorial on c sharp I'm using it now they also have a great one for python.


   
ReplyQuote
Duce robot
(@duce-robot)
Member
Joined: 5 years ago
Posts: 680
Topic starter  

@codecagecheck out mei robot for Ros a great starter for Ros I'm using it now the learning curve isn't that bad once you get your foot in the door😁👍


   
ReplyQuote