You are here

UART Accel/Gyro/Mag data

4 posts / 0 new
Last post
NATUITION
NATUITION's picture
Offline
Last seen: 5 months 1 week ago
VESC Free
Joined: 2019-09-27 20:56
Posts: 8
UART Accel/Gyro/Mag data

Hey everybody,

I've looking for a solution to obtain the accel/gyro/mag data from VESC using UART on a linux machine

At the moment I can see needed values using VESC tool in IMU Data using com port, but when I am trying to read this com port without vesc tool - no data at all

I've found several similar subjects in the forum, but no clear answer

 

Thanks in advance,

Natuition team

NATUITION
NATUITION's picture
Offline
Last seen: 5 months 1 week ago
VESC Free
Joined: 2019-09-27 20:56
Posts: 8

Any advice guys?

Cyril ROUDOT
www.natuition.com

vadicus
Offline
Last seen: 1 month 3 weeks ago
VESC Free
Joined: 2018-08-17 07:26
Posts: 431

Your linux machine would need to be speaking the same communication protocol that VescTool speaks to the MCU.

Take a look and the command.c file in the code and specifically, if you need IMU data, at this one:

https://github.com/vedderb/bldc/blob/210ec40d746236264fc9ec6bd95384d1714...

 

 

 

 

NextGen FOC High voltage 144v/34s, 30kw (https://vesc-project.com/node/1477)

NATUITION
NATUITION's picture
Offline
Last seen: 5 months 1 week ago
VESC Free
Joined: 2019-09-27 20:56
Posts: 8

Thanks a lot vadicus,

sounds like a lot of development, anyone knows similar already existing solutions?

Cyril ROUDOT
www.natuition.com