0
$\begingroup$

Rosanswers logo

Hi,

I am trying to publish three topics through usb connection to a custom pcb with an MSP432.

I need to use c++ as this if for safety critical vehicle control (Ford F-150) based on control outputs from Autoware.

I am having issues finding some examples on this as I do not have a lot of experience with C++.

I already have a program that does this in python. The only examples i found are 1000 lines of code and rather confusing to me at least.

Thanks!

EDIT: Where in autoware is VehicleCmd.h located? I am trying this in a seperate catkin so i am not sure how to make sure catkin can find this file


Originally posted by JoloGermanAg on ROS Answers with karma: 123 on 2020-07-27

Post score: 1


Original comments

Comment by JoloGermanAg on 2020-07-27:
I might have just found the answer at github serial node

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

ROS1 does not support USB or Serial connections natively as transports for topics but nodes can communicate through USB or Serial on their own. The example you linked to is probably one of the best for this type of work.


Originally posted by Josh Whitley with karma: 1766 on 2020-07-27

This answer was ACCEPTED on the original site

Post score: 1


Original comments

Comment by JoloGermanAg on 2020-07-28:
Thanks! It was actually way easier than I expected.

If anybody ever finds this thread here's an example that let's you use the autoware GUI. Github

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.