Ask Your Question
1

publish topic through serial/usb

asked 2020-07-27 19:52:57 -0500

JoloGermanAg gravatar image

updated 2020-07-27 20:39:42 -0500

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

edit retag flag offensive close merge delete

Comments

I might have just found the answer at github serial node

JoloGermanAg gravatar image JoloGermanAg  ( 2020-07-27 20:19:33 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-07-27 22:12:34 -0500

Josh Whitley gravatar image

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.

edit flag offensive delete link more

Comments

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

JoloGermanAg gravatar image JoloGermanAg  ( 2020-07-28 17:35:59 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2020-07-27 19:52:57 -0500

Seen: 36 times

Last updated: Jul 27