Skip to content

How to update variables? #6

@inregards2pluto

Description

@inregards2pluto

I'm working with a Pololu T500 controller and having some issue with implementing the example code. I've updated all the settings appropriately, but when I try to issue commands, whether it's setting a position or velocity, nothing happens. The motor successfully energizes and I can even hear it's attempts to get to speed, but the impellar I have attached doesn't move. When I go through the Tic Gui, I'm able to get it moving no problem.

After some digging, it looks like the planning_mode variable may be the issue? I used the print(tic.variables.planning_mode) and the output was 0. Based on the manual, the controller isn't receiving step commands while in this state and it needs to be set to either 1 or 2 for position and velocity inputs respectively. However, I'm not seeing a clear explanation in the README on how to do this. The settings, yes, but not the variables.

Has anyone else needed to do this and, if so, could someone offer some guidance?
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions