Tuesday, November 23, 2021

Blink

Okay so today I added that line to bashrc

and I managed to turn on the wheels by using the raspberry pi!

Basically I modified the blink script that test serial communication. In this script the Arduino acts as a subscriber node and uses a call back function. When it receives a message it calls that function and turns on an LED.

 I was able to modify it to run the motors instead.

 

One wheel isn't turning properly so I'm gonna charge the batteries and see what happens.

Problems:

The ssh terminal is slow to respond

The sending speed of the message is very slow

wheels are inconsistent

Good things:

I figured out that I can just make teleop twist work for me

With this node I can send a vector for the robot to follow using the keyboard

I just need a node in between the arduino and the teleop to translate the vector into stuff that the arduino undestands.

NEW Project Autonomous underwater vehicle!

  I have been more and more interested in Autonomous Underwater Vehicles and ocean exploration. I live on the coast with direct access to th...