husky_ark_armlab package

Submodules

husky_ark_armlab.ark_interface module

husky_ark_armlab.euler_to_quaternion module

husky_ark_armlab.euler_to_quaternion.euler_to_quaternion(roll, pitch, yaw, degrees=True)[source]

Euler angles euler2quat(roll, pitch, yaw, degrees=True), default is degrees, but set degrees False if giving radians

This is a modified version of this: https://en.wikipedia.org/wiki/Conversion_between_quaternions_and_Euler_angles#Quaternion_to_Euler_Angles_Conversion

Code comes from: https://github.com/MomsFriendlyRobotCompany/squaternion/blob/master/squaternion/squaternion.py

Returns

Quaternions of form [x, y, z, w]

Return type

(list)

husky_ark_armlab.husky_ark_armlab module

husky_ark_armlab.keyboard_input module

A Python class implementing KBHIT, the standard keyboard-interrupt poller. Works transparently on Windows and Posix (Linux, Mac OS X). Doesn’t work with IDLE.

Original source: https://simondlevy.academic.wlu.edu/files/software/kbhit.py Stackoverflow source:

class husky_ark_armlab.keyboard_input.KeyboardInput[source]

Bases: object

check_hit()[source]

Returns True if keyboard character was hit, False otherwise.

get_arrow()[source]

Returns an arrow-key code after kbhit() has been called. Codes are 0 : up 1 : right 2 : down 3 : left Should not be called in the same program as getch().

get_char()[source]

Returns a keyboard character after kbhit() has been called. Should not be called in the same program as getarrow().

set_normal_term()[source]

Resets to normal terminal. On Windows this is a no-op.

husky_ark_armlab.laser_filter_adjuster module

husky_ark_armlab.pose module

husky_ark_armlab.reverse_route module

husky_ark_armlab.route_loader module

husky_ark_armlab.simulate_route module

Module contents