![]() Important! It has to be the development branch because this allows controlling vescs over software serial. Downloads: 13 This Week Last Update: See Project. NET 2.0 specifications, and is designed to allow for multiple OSes and add-on 3rd party Serial to Network adapters. This is the library I use for vesc uart control. SerialPortNet is an open source serial port communication library for Microsoft. ![]() The command that makes rosserial through the error is this one: ** Define which ports to use as vesc1 */ Ros::Publisher velocity_pub("/report/vel_received", &vel_recieved) SoftwareSerial vesc1_serial(6, 7) // RX, TX I can control the vesc with ppm control and rosserial but then I lose all the info I could get back from it using the UART, which is something I would rather not! The rosserial is communicating with the arduino at 56200 BAUD whereas the software serial ( I am using this library because of lack of serial ports ) is set to 19600 BAUD. Joystick sends commands to the arduino over rosserial || the arduino sends the current value to the vesc (vesc being controlled in current mode ) When I did try yesterday to control a VESC through arduino's software serial library, if I do not send any commands to the vesc through UART all is fine and ros is happily connected to the arduino, but the moment I try to send a vesc command (no matter what command i try to send ) I get the following error on the terminal: However, I have never tried using the serial communication on the arduino side, while it is plugged in the computer and the rosserial is running. ![]() I have been using rosserial in the past with no issues at all. ![]() I am running ROS melodic on ubuntu 18.04 and I have encountered a problem for which I couldn't find any info, or I didn't know how to look for it (which could be possible! ) and I would like your help! ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |