-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Programmatic PDOs and integration of platforms (#42)
* compiler is changed for Linux pc * small fix on Readme. Executable is named EXO_APP not EXO_ROBOT * Adapted M1 platfrom from Tim, to be modified... * Compile and run the code to display joint status in real-time in command line; State transition (e.g., from idle state to demo state) is not working yet * M1 moves with position control. But the actual angle is not tranformed correctly. * M1 can track sin wave trajectory. Still need to figure out the conversion between device unit (encoder count) and joint unit (degree or radian). * Position tracking without posControlConfirmSP; CANOPEN communication crashes occasionally. * Basic velocity and torque/current control, i.e., tracking sine wave target or constant target, were tested. * Correct conversion between joint unit and device unit * before merge with ROS implementation * Segmentation fault! * M1 moves * cleaned up debug outputs * Added safety checks against NaN/Inf at Joint level * enable torque sensor on the axis * add zero calibration * for calibration, move joint to 90 degree, then put weight on the link * Addition of network communication and minimal use demo in M3DemoMachine * Updated M3 to publish endeffector states on network communication * Comments and format of FLNLHelper * demo machine cyclic move between 0 and 90 degree with position, velocity, and torque control * work on system identification and compensation strategy * Updated libFLNL and default time registered in state for network communication * FLNL connection management * Typo * Network communication documentation * Update NetworkCommunication.md * Makefle update for merging * working on demonstration functions * Minimal untested, uncalibrated M2 implementatio * Improved M2 demomachine and Arc Circle state - Not tested * Peak can dedicated initscriipt and some M2 calibration (only torque control) * model compensation and virtual spring piloting * PD torque feedback control and feedforward friction compensation * Created (empty) M2 spasticity test app * Inverted hwUpdate and update in application for delay. Switch to 1kHz. * Testing for Programmatic PDOs (#38) * test: Programmatic OD - not working * Still not working. * Not Working * Programmatic OD: TPDO backend * Programmatic OD - created CO_setRPDO, not functional * Calibration Working. Sit worked once, not completely good still. * setRPDO function working * Working Programmatic RPDO. Two Sensors good. * Programmatic TPDO! Working with sensor * Not functional. Possibly issue with timing of state machine creation. * Logging crutch sensors and calibration operational * Calibration works. Problem with first pos always 0 * Removed Segfault with deleting crutch sensors * RPDO object created and working * Added Continuous Position Control commands * Programmatic TPDOs implemented. * Tidy up and comments on Programmatic PDOs * Programmatic PDOs on Drives... partially working * Improved uploadBB.sh script using rsync (faster) * Improved uploadBB script using rsync (faster) and config files * Fix bug missing header in FLNLHelper * Programmatic PDOs - All Demo Test (#39) * test: Programmatic OD - not working * Still not working. * Not Working * Programmatic OD: TPDO backend * Programmatic OD - created CO_setRPDO, not functional * Calibration Working. Sit worked once, not completely good still. * setRPDO function working * Working Programmatic RPDO. Two Sensors good. * Programmatic TPDO! Working with sensor * Not functional. Possibly issue with timing of state machine creation. * Logging crutch sensors and calibration operational * Calibration works. Problem with first pos always 0 * Removed Segfault with deleting crutch sensors * RPDO object created and working * Added Continuous Position Control commands * Programmatic TPDOs implemented. * Tidy up and comments on Programmatic PDOs * Programmatic PDOs on Drives... partially working * Working Programmatic PDOs - Demo Machines updated * Optimised (a bit) the can PDOs setup * Update Drive.cpp Failed at merging. * Update KincoDrive.cpp Didn't update properly to new generateRPDOConfigSDO/generateTPDOConfigSDO formats * Switched to Velocity control mode 3 (was -3) * Swaped hwUpdate and update and faster control loop * Added drive reset error function and call from init() * change object dictionary for M2 sensors * Ros Node created at DemoMachine Constructor (#40) * fix variable name and tab * ROS Node is created at DemoMachine constructor * Cleanup init scripts (no candump, no increase queulength) * Remove spasticity app for merge * Tidy up for Programmatic PDO * Removed some unncessary entries in the OD * Documentation changes for programmatic PDOs * Tidy up * merging... * Fixed Eigen problem w/ state dynamic creation. M1, M2, M3 running * Added privilege management to avoid logging and running as root * Updated contributors list * Slight cleanup of M1 code * Slight cleanup of M2 code * Merged force sensor versions. X2 force sensor ids to be checked. * Improved M2 (and comments) and fix libFLNL destruction segfault * Check for state machine name in CMake * Updated ROS documentation * application.cpp cleanup * Blame vscode files from repo * Removed f64 in M_PIf64 definitions as they aren't available on Windows Compiler * Correct Simulation bug with ROS X2DemoMachine * Updated ROS documentation * Added code snippet to list can socket parameters * Added code snippet to list can socket parameters * Corrected FourierSensor sensorID/COBID * Changed FourierForceSensor Calibration to no longer need SDO Message. Small tidy up of M1. Co-authored-by: emekB <[email protected]> Co-authored-by: Yue <[email protected]> Co-authored-by: Yue <[email protected]> Co-authored-by: justinfong-unimelb <[email protected]> Co-authored-by: xinlianggunimelb <[email protected]> Co-authored-by: Emek Barış Küçüktabak <[email protected]> Co-authored-by: justinfong-unimelb <[email protected]>
- Loading branch information
1 parent
7110243
commit d79c8cf
Showing
100 changed files
with
5,971 additions
and
5,764 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
#Initializes can0 and can1. Set the queue length top 1000 | ||
#!/bin/bash | ||
|
||
#initialisation of CAN interfaces on BB | ||
|
||
echo "Enabling CAN0" | ||
sudo ip link set can0 up type can bitrate 1000000 | ||
sudo ifconfig can0 up | ||
|
||
echo "Enabling CAN1" | ||
sudo ip link set can1 up type can bitrate 1000000 | ||
sudo ifconfig can1 up | ||
|
||
sudo ifconfig can0 txqueuelen 1000 | ||
sudo ifconfig can1 txqueuelen 1000 | ||
#echo "can0 up. Dumping (ctrl+c to close):" | ||
#candump -c -t z can0,080~111111 #Filter out 080 sync messages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
echo "enabling VCAN device on vcan0" | ||
#!/bin/bash | ||
|
||
echo "Enabling VCAN on vcan0" | ||
sudo modprobe vcan | ||
sudo ip link add dev vcan0 type vcan | ||
sudo ip link set up vcan0 | ||
echo "starting candump of vcan0" | ||
candump vcan0 | ||
#echo "starting candump of vcan0" | ||
#candump vcan0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.