Octanis1 / Octanis1-ROS

ROS setup for Octanis Rover SBC.
2 stars 1 forks source link

Implement closed loop controller for LIDAR motor #6

Closed bitmorse closed 7 years ago

bitmorse commented 8 years ago

LIDAR will not output data as long as RPM < 180. Power consumption of the spinning motor varies with temperature. Therefore a controller is required that keeps the motor spinning at 180RPM.

Controller software should be implemented on the Olimex A20. For hardware, an I2C PWM driver could be used which should be connected to the Olimex A20 I2C bus and the EPS supply. Alternatively, you can enable the PWM module by recompiling the kernel. The motor requires 3V at ambient and 6V at -18C.

More information on the LIDAR is on the wiki: http://wiki.octanis.org/orb/lidar

qcabrol commented 8 years ago

ROS installed, xv11 driver not pulling data when the lidar is connected on uart0 (/dev/ttyS0), need to use a USB adapter or review the driver code.

bitmorse commented 8 years ago

The lidar has the launchpad which you can use as a usb to uart adapter. The adapter should appear as ttyACM or ttyAMA with the appropriate index (it make 2 devices: 0 and 1).

On Mon, 13 Jun 2016 at 15:15, Quentin notifications@github.com wrote:

ROS installed, xv11 driver not pulling data when the lidar is connected on uart0 (/dev/ttyS0), need to use a USB adapter or review the driver code.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Octanis1/Octanis1-ROS/issues/6#issuecomment-225577098, or mute the thread https://github.com/notifications/unsubscribe/AA_1MAh6bIMnVcraTPsF_4rKkW2jSbakks5qLVfugaJpZM4IpBVv .

bitmorse commented 8 years ago

I2C motor controller set to arrive Monday and can be tested then. Use the I2C bus on UEXT1.