Ethernet initial connection issues


#1

Continuing the discussion from Ethernet Connections:

Similar issue…getting started noob…first time
connection attempt…have Raspbian SD card…Mac Pro with no Ethernet adapter (yet)…am I dead in the water?..is the SD card ready to go as is?..or do I need updates first?..is the goal to open a terminal program that connects to the OS via Wi Fi?..can I do this without an initial Ethernet connection?


#2

Hello @andyscott
It all depends on your starting point.
If you have DexterOS, you’re set, no need for an Ethernet cable.
If you have Cinch, you’re fine too
If you have Raspbian for Robots, or pure Raspbian from the Raspberry Pi Foundation, you will either need a keyboard/mouse/screen to attach to the robot, or an Ethernet cable.
It’s possible to connect the robot directly to your home wifi - if it has an Ethernet connection. It’s likely that it does.

Hope this helps,
Cleo


#3

It did…thanks

Got cable…set WiFi…now to programming…

Question…like to run python code using IDLE…can’t get line editor mode to work. Am I missing something?

Simply trying from line editor mode…

from gopigo import *

forward()

No results…?

Seen a video telling me this should work…

Python version issue?

Scratch examples and control panel examples work fine


#4

Glad to see you’re up and running!

The Python issue you’re having is simply that you’re importing an old version of the library.

You should be using:
import easygopigo3 as easy
gpg = easy.EasyGoPiGo3()
gpg.forward()

The library for the Gopigo3 is now object oriented

Cleo


#5

Input very much appreciated…will give this a try and let you know

Thanks

Andy


#6

Things are progressing great thanks to your input

Beginning to explore the library now.

All so far appears to work

But came across a small snag. Researching the forums and examples shows thing should work

reset_speed()

Returns error…

ac6c1e6b08e74a82be4938c3455e58c8815190a5

gpg.reset_speed()
AttributeError:’EasyGoPiGo3’ object has no attribute ‘reset_speed’

I saw you modified the library in Aug 2017 adding DEFAULT_SPEED and reset_speed()

This lead me to believe I was using an old version of library

Did updates using VNC which appeared to update software and robot firmware.

Still get this error. Is reset_speed() still valid?..all other speed functions work.

Am I clued out about something?

Andy


#7

Things are progressing great thanks to your input

Beginning to explore the library now.

All so far appears to work

But came across a small snag. Researching the forums and examples shows thing should work

reset_speed()

Returns error…

ac6c1e6b08e74a82be4938c3455e58c8815190a5

gpg.reset_speed()
AttributeError:’EasyGoPiGo3’ object has no attribute ‘reset_speed’

I saw you modified the library in Aug 2017 adding DEFAULT_SPEED and reset_speed()

This lead me to believe I was using an old version of library

Did updates using VNC which appeared to update software and robot firmware.

Still get this error. Is reset_speed() still valid?..all other speed functions work.

Am I clued out about something?

*to add. Found Raspbian version updated to V 7.2 on 2017.06.12 by Jessie!!!

This is before your update!!

Is there a newer Raspbian?..is my method of updating faulty?

Andy